Package ro.sync.exml.plugin.document
Interface DocumentPluginContext
@API(type=NOT_EXTENDABLE,
src=PUBLIC)
public interface DocumentPluginContext
Plugin context interface.
Provides information for the plugin about the context it was invoked in.
-
Method Summary
Modifier and TypeMethodDescriptionGet the current document.getFrame()
Get the editing frame.Get access to the entire workspace of Oxygen.Get access to the current text page on which this action will be invoked as a contextual menu action.
-
Method Details
-
getDocument
Document getDocument()Get the current document.- Returns:
- the current document.
-
getFrame
Frame getFrame()Get the editing frame.- Returns:
- the frame in which is done the editing.
-
getPluginWorkspace
StandalonePluginWorkspace getPluginWorkspace()Get access to the entire workspace of Oxygen.- Returns:
- The access to the entire workspace of Oxygen
- Since:
- 12.1
-
getTextPage
WSTextEditorPage getTextPage()Get access to the current text page on which this action will be invoked as a contextual menu action.- Returns:
- Access to the text page API.
- Since:
- 15.1
-