Class GuiEditor

java.lang.Object
org.praxislive.ide.pxr.gui.GuiEditor
All Implemented Interfaces:
RootEditor

public class GuiEditor extends Object implements RootEditor
  • Method Details

    • getEditorComponent

      public JComponent getEditorComponent()
      Description copied from interface: RootEditor
      Acquire the main editor component. This component will be installed in the central pane of the root editor top component. This method should always return the same instance.
      Specified by:
      getEditorComponent in interface RootEditor
      Returns:
      main editor component
    • getLookup

      public org.openide.util.Lookup getLookup()
      Description copied from interface: RootEditor
      Get the editor lookup. This lookup will be merged into the top component lookup.

      The top component lookup will already reflect the main context explorer manager from RootEditor.Context.explorerManager().

      The default implementation returns an empty lookup.

      Specified by:
      getLookup in interface RootEditor
      Returns:
      editor lookup
    • getActions

      public List<Action> getActions()
      Description copied from interface: RootEditor
      Get a list of action to be added to the top component toolbar.

      The default implementation returns an empty list.

      Specified by:
      getActions in interface RootEditor
      Returns:
      list of toolbar actions
    • componentActivated

      public void componentActivated()
      Description copied from interface: RootEditor
      Hook called when the containing top component is activated. See TopComponent.componentActivated().

      The default implementation does nothing.

      Specified by:
      componentActivated in interface RootEditor
    • dispose

      public void dispose()
      Description copied from interface: RootEditor
      Hook called when the editor component is being uninstalled and disposed of.

      The default implementation does nothing.

      Specified by:
      dispose in interface RootEditor