org.xwiki.gwt.dom.client
Interface SelectionManager


public interface SelectionManager

Interface for retrieving the current selection.

Version:
$Id: 4cee06cd8c8a116ed871a58c7f9ca0837382c8d9 $

Field Summary
static SelectionManager INSTANCE
          We create the singleton instance using deferred binding in order to use different implementations for different browsers.
 
Method Summary
 Selection getSelection(Document doc)
           
 

Field Detail

INSTANCE

static final SelectionManager INSTANCE
We create the singleton instance using deferred binding in order to use different implementations for different browsers.

Method Detail

getSelection

Selection getSelection(Document doc)
Parameters:
doc - The document for which to retrieve the selection.
Returns:
The selection associated with the specified document.


Copyright © 2004-2013 XWiki. All Rights Reserved.