org.xwiki.gwt.dom.client.internal
Class DefaultSelectionManager

java.lang.Object
  extended by org.xwiki.gwt.dom.client.internal.DefaultSelectionManager
All Implemented Interfaces:
SelectionManager

public class DefaultSelectionManager
extends java.lang.Object
implements SelectionManager

The default SelectionManager implementation. Retrieves the selection object using Mozilla's API.

Version:
$Id: DefaultSelectionManager.java 20039 2009-05-16 12:04:30Z sdumitriu $

Field Summary
 
Fields inherited from interface org.xwiki.gwt.dom.client.SelectionManager
INSTANCE
 
Constructor Summary
DefaultSelectionManager()
           
 
Method Summary
 Selection getSelection(Document document)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultSelectionManager

public DefaultSelectionManager()
Method Detail

getSelection

public Selection getSelection(Document document)

Specified by:
getSelection in interface SelectionManager
Parameters:
document - The document for which to retrieve the selection.
Returns:
The selection associated with the specified document.
See Also:
SelectionManager.getSelection(Document)


Copyright © 2004-2009 XWiki. All Rights Reserved.