Package ro.sync.exml.plugin.selection
Interface SelectionPluginContext
@API(type=NOT_EXTENDABLE,
src=PUBLIC)
public interface SelectionPluginContext
Plugin context interface.
Provides information for the plugin about the context it was invoked in.
-
Method Summary
Modifier and TypeMethodDescriptionGet the URL of the edited document.getFrame()
Get the editing frame.Get access to the entire workspace of Oxygen.Get the current selection.
-
Method Details
-
getSelection
String getSelection()Get the current selection.- Returns:
- the current selection or an empty string if there is no selection.
-
getFrame
Frame getFrame()Get the editing frame.- Returns:
- the frame in which is done the editing.
-
getDocumentURL
URL getDocumentURL()Get the URL of the edited document.- Returns:
- The URL of the edited document.
-
getPluginWorkspace
StandalonePluginWorkspace getPluginWorkspace()Get access to the entire workspace of Oxygen.- Returns:
- The access to the entire workspace of Oxygen
- Since:
- 12.1
-