Package org.praxislive.ide.pxr.gui
Class GuiEditor
java.lang.Object
org.praxislive.ide.pxr.gui.GuiEditor
- All Implemented Interfaces:
RootEditor
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.praxislive.ide.pxr.spi.RootEditor
RootEditor.Context, RootEditor.Provider, RootEditor.ToolAction -
Method Summary
Modifier and TypeMethodDescriptionvoidHook called when the containing top component is activated.voiddispose()Hook called when the editor component is being uninstalled and disposed of.Get a list of action to be added to the top component toolbar.Acquire the main editor component.org.openide.util.LookupGet the editor lookup.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.praxislive.ide.pxr.spi.RootEditor
componentDeactivated, componentHidden, componentShowing, getUndoRedo, requestFocus, supportedToolActions, sync
-
Method Details
-
getEditorComponent
Description copied from interface:RootEditorAcquire 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:
getEditorComponentin interfaceRootEditor- Returns:
- main editor component
-
getLookup
public org.openide.util.Lookup getLookup()Description copied from interface:RootEditorGet 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:
getLookupin interfaceRootEditor- Returns:
- editor lookup
-
getActions
Description copied from interface:RootEditorGet a list of action to be added to the top component toolbar.The default implementation returns an empty list.
- Specified by:
getActionsin interfaceRootEditor- Returns:
- list of toolbar actions
-
componentActivated
public void componentActivated()Description copied from interface:RootEditorHook called when the containing top component is activated. SeeTopComponent.componentActivated().The default implementation does nothing.
- Specified by:
componentActivatedin interfaceRootEditor
-
dispose
public void dispose()Description copied from interface:RootEditorHook called when the editor component is being uninstalled and disposed of.The default implementation does nothing.
- Specified by:
disposein interfaceRootEditor
-