public class EmptyWorkspace extends java.lang.Object implements ResourceWorkspace
| Constructor and Description |
|---|
EmptyWorkspace() |
| Modifier and Type | Method and Description |
|---|---|
EditActionHandler |
getEditActionHandler()
The handler that responds to common edit actions, like cut, copy, paste, and delete
|
java.util.Collection<ResourceWorkspaceFrame> |
getFrames()
Returns a collection of
ResourceWorkspaceFrames 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"
|
public EditActionHandler getEditActionHandler()
ResourceWorkspacegetEditActionHandler in interface ResourceWorkspacepublic java.util.Collection<ResourceWorkspaceFrame> getFrames()
ResourceWorkspaceResourceWorkspaceFrames that will be associated with this workspace. May be null
or empty.getFrames in interface ResourceWorkspacepublic java.lang.String getKey()
ResourceWorkspacegetKey in interface ResourceWorkspacepublic MenuBarMerge getMenu()
ResourceWorkspacegetMenu in interface ResourceWorkspacepublic java.util.List<com.jidesoft.action.CommandBar> getToolbars()
ResourceWorkspacegetToolbars in interface ResourceWorkspacepublic javax.swing.JComponent getWorkspace()
ResourceWorkspacegetWorkspace in interface ResourceWorkspacepublic void resetFrames(com.jidesoft.docking.DockingManager dockingManager,
com.jidesoft.action.DockableBarManager barManager)
ResourceWorkspaceresetFrames in interface ResourceWorkspacepublic void onActivation()
ResourceWorkspaceonActivation in interface ResourceWorkspacepublic void onDeactivation()
ResourceWorkspaceonDeactivation in interface ResourceWorkspace