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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.net.URL
getDocumentURL()
Get the URL of the edited document.java.awt.Frame
getFrame()
Get the editing frame.StandalonePluginWorkspace
getPluginWorkspace()
Get access to the entire workspace of Oxygen.java.lang.String
getSelection()
Get the current selection.
-
-
-
Method Detail
-
getSelection
java.lang.String getSelection()
Get the current selection.- Returns:
- the current selection or an empty string if there is no selection.
-
getFrame
java.awt.Frame getFrame()
Get the editing frame.- Returns:
- the frame in which is done the editing.
-
getDocumentURL
java.net.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
-
-