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 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