Class EmptyWorkspace
- java.lang.Object
-
- com.inductiveautomation.ignition.designer.EmptyWorkspace
-
- All Implemented Interfaces:
ResourceWorkspace
public class EmptyWorkspace extends java.lang.Object implements ResourceWorkspace
-
-
Constructor Summary
Constructors Constructor Description EmptyWorkspace()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EditActionHandler
getEditActionHandler()
The handler that responds to common edit actions, like cut, copy, paste, and deletejava.util.Collection<ResourceWorkspaceFrame>
getFrames()
Returns a collection ofResourceWorkspaceFrame
s that will be associated with this workspace.java.lang.String
getKey()
Returns a keyname for the workspace.MenuBarMerge
getMenu()
Returns a menu merge for the menu options that should be present when this workspace is active.java.util.List<com.jidesoft.action.CommandBar>
getToolbars()
Returns the toolbars that will be added when this workspace is active.javax.swing.JComponent
getWorkspace()
The component that makes up the workspace itself.void
onActivation()
Called when the resource workspace will become the active workspace and will be displayed.void
onDeactivation()
Called when the resource workspace will be swapped out for a different workspace.void
resetFrames(com.jidesoft.docking.DockingManager dockingManager, com.jidesoft.action.DockableBarManager barManager)
Programmatically set the options on the frames and bars that represent the workspace's "defaults"-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.inductiveautomation.ignition.designer.model.ResourceWorkspace
dispose
-
-
-
-
Method Detail
-
getEditActionHandler
public EditActionHandler getEditActionHandler()
Description copied from interface:ResourceWorkspace
The handler that responds to common edit actions, like cut, copy, paste, and delete- Specified by:
getEditActionHandler
in interfaceResourceWorkspace
-
getFrames
public java.util.Collection<ResourceWorkspaceFrame> getFrames()
Description copied from interface:ResourceWorkspace
Returns a collection ofResourceWorkspaceFrame
s that will be associated with this workspace. May be null or empty.- Specified by:
getFrames
in interfaceResourceWorkspace
-
getKey
public java.lang.String getKey()
Description copied from interface:ResourceWorkspace
Returns a keyname for the workspace. Used by nav tree nodes to specify which workspace to switch to when they are selected.- Specified by:
getKey
in interfaceResourceWorkspace
-
getMenu
public MenuBarMerge getMenu()
Description copied from interface:ResourceWorkspace
Returns a menu merge for the menu options that should be present when this workspace is active. May be null.- Specified by:
getMenu
in interfaceResourceWorkspace
-
getToolbars
public java.util.List<com.jidesoft.action.CommandBar> getToolbars()
Description copied from interface:ResourceWorkspace
Returns the toolbars that will be added when this workspace is active. May be null or empty.- Specified by:
getToolbars
in interfaceResourceWorkspace
-
getWorkspace
public javax.swing.JComponent getWorkspace()
Description copied from interface:ResourceWorkspace
The component that makes up the workspace itself. Must not be null- Specified by:
getWorkspace
in interfaceResourceWorkspace
-
resetFrames
public void resetFrames(com.jidesoft.docking.DockingManager dockingManager, com.jidesoft.action.DockableBarManager barManager)
Description copied from interface:ResourceWorkspace
Programmatically set the options on the frames and bars that represent the workspace's "defaults"- Specified by:
resetFrames
in interfaceResourceWorkspace
-
onActivation
public void onActivation()
Description copied from interface:ResourceWorkspace
Called when the resource workspace will become the active workspace and will be displayed.- Specified by:
onActivation
in interfaceResourceWorkspace
-
onDeactivation
public void onDeactivation()
Description copied from interface:ResourceWorkspace
Called when the resource workspace will be swapped out for a different workspace.- Specified by:
onDeactivation
in interfaceResourceWorkspace
-
-