Class ScriptWorkspace
java.lang.Object
com.inductiveautomation.ignition.designer.scripteditor.workspace.ScriptWorkspace
- All Implemented Interfaces:
- ResourceWorkspace
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidvoidcloseScript(ResourcePath resourceId) voidvoidvoidPushes a tab from the workspace and puts it in the editing frameThe handler that responds to common edit actions, like cut, copy, paste, and deleteintReturns a collection ofResourceWorkspaceFrames that will be associated with this workspace.getKey()Returns a keyname for the workspace.getMenu()Returns a menu merge for the menu options that should be present when this workspace is active.List<com.jidesoft.action.CommandBar>Returns the toolbars that will be added when this workspace is active.The component that makes up the workspace itself.booleanisActive()booleanbooleanvoidnotifyTabClosed(ScriptTab tab) Called from the editors when a tab has been closed.voidCalled when the resource workspace will become the active workspace and will be displayed.voidCalled when the resource workspace will be swapped out for a different workspace.voidopenScript(ResourcePath resourcePath) voidopenScript(ResourcePath id, boolean readOnly) voidvoidvoidresetFrames(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"voidsave(ResourcePath path) voidUpdates the project resource for this script tab, serializing the script and updating the lockvoidsaveAll()voidvoidvoidvoidvoidvoidshutdown()voidunFloatTab(ScriptTab tab) Pulls a tab from the floating editing frame and puts it in the workspaceMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.inductiveautomation.ignition.designer.model.ResourceWorkspacedispose
- 
Field Details- 
SCRIPT_WORKSPACE_KEY- See Also:
 
 
- 
- 
Constructor Details- 
ScriptWorkspace
 
- 
- 
Method Details- 
getWorkspaceDescription copied from interface:ResourceWorkspaceThe component that makes up the workspace itself. Must not be null- Specified by:
- getWorkspacein interface- ResourceWorkspace
 
- 
getKeyDescription copied from interface:ResourceWorkspaceReturns a keyname for the workspace. Used by nav tree nodes to specify which workspace to switch to when they are selected.- Specified by:
- getKeyin interface- ResourceWorkspace
 
- 
getMenuDescription copied from interface:ResourceWorkspaceReturns a menu merge for the menu options that should be present when this workspace is active. May be null.- Specified by:
- getMenuin interface- ResourceWorkspace
 
- 
getToolbarsDescription copied from interface:ResourceWorkspaceReturns the toolbars that will be added when this workspace is active. May be null or empty.- Specified by:
- getToolbarsin interface- ResourceWorkspace
 
- 
getFramesDescription copied from interface:ResourceWorkspaceReturns a collection ofResourceWorkspaceFrames that will be associated with this workspace. May be null or empty.- Specified by:
- getFramesin interface- ResourceWorkspace
 
- 
getEditActionHandlerDescription copied from interface:ResourceWorkspaceThe handler that responds to common edit actions, like cut, copy, paste, and delete- Specified by:
- getEditActionHandlerin interface- ResourceWorkspace
 
- 
resetFramespublic void resetFrames(com.jidesoft.docking.DockingManager dockingManager, com.jidesoft.action.DockableBarManager barManager) Description copied from interface:ResourceWorkspaceProgrammatically set the options on the frames and bars that represent the workspace's "defaults"- Specified by:
- resetFramesin interface- ResourceWorkspace
 
- 
onActivationpublic void onActivation()Description copied from interface:ResourceWorkspaceCalled when the resource workspace will become the active workspace and will be displayed.- Specified by:
- onActivationin interface- ResourceWorkspace
 
- 
onDeactivationpublic void onDeactivation()Description copied from interface:ResourceWorkspaceCalled when the resource workspace will be swapped out for a different workspace.- Specified by:
- onDeactivationin interface- ResourceWorkspace
 
- 
isActivepublic boolean isActive()
- 
isFrameEditorOpenpublic boolean isFrameEditorOpen()
- 
getDesignerContext
- 
showWorkspacepublic void showWorkspace()
- 
openScript
- 
openScript
- 
unFloatTabPulls a tab from the floating editing frame and puts it in the workspace
- 
floatTabPushes a tab from the workspace and puts it in the editing frame
- 
closeScript
- 
notifyTabClosedCalled from the editors when a tab has been closed.
- 
selectWelcomeTabpublic void selectWelcomeTab()
- 
selectScript
- 
isScriptOpen
- 
refreshSelectedScriptspublic void refreshSelectedScripts()
- 
fireSelectionChange
- 
saveAllpublic void saveAll()
- 
save
- 
saveUpdates the project resource for this script tab, serializing the script and updating the lock
- 
addWorkspaceChangeListener
- 
removeWorkspaceChangeListener
- 
shutdownpublic void shutdown()
- 
getFloatingTabCountpublic int getFloatingTabCount()
- 
selectFrameEditorpublic void selectFrameEditor()
- 
fireSelectionChange
 
-