Package com.illumon.iris.gui.workspace
Class ViewManager
java.lang.Object
com.illumon.iris.gui.workspace.ViewManager
- All Implemented Interfaces:
Workspace
- Direct Known Subclasses:
IrisConsole.IrisViewManager
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract IrisView
protected abstract com.illumon.infonode.docking.util.StringViewMap
org.jdom2.Element
exportShare
(Set<com.illumon.infonode.docking.View> viewsForExport, com.illumon.infonode.docking.DockingWindow windowToExport) Exports for a shareable workspace.org.jdom2.Element
Serialize the class into an element to be stored in the workspaceimportShare
(org.jdom2.Element workspaceInfo) Imports views from a shared workspace.protected void
init()
boolean
protected void
void
setViewLock
(boolean viewLock) void
setWorkspaceInfo
(org.jdom2.Element workspaceInfo) Restore the class to the state defined by the data persisted in workspaceInfoMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.illumon.iris.gui.workspace.Workspace
isGlobalSetting
-
Field Details
-
rootWindow_
protected com.illumon.infonode.docking.RootWindow rootWindow_
-
-
Constructor Details
-
ViewManager
public ViewManager(com.fishlib.io.logger.Logger log)
-
-
Method Details
-
init
protected void init() -
addView
-
addView
-
addView
-
updateView
-
updateView
-
setViewLock
public void setViewLock(boolean viewLock) -
isViewLocked
public boolean isViewLocked() -
createViewMap
protected abstract com.illumon.infonode.docking.util.StringViewMap createViewMap() -
createView
-
maybeUpdateParams
-
setWorkspaceInfo
public void setWorkspaceInfo(org.jdom2.Element workspaceInfo) Description copied from interface:Workspace
Restore the class to the state defined by the data persisted in workspaceInfo- Specified by:
setWorkspaceInfo
in interfaceWorkspace
- Parameters:
workspaceInfo
- AnElement
containing the persisted state.
-
getWorkspaceInfo
public org.jdom2.Element getWorkspaceInfo()Description copied from interface:Workspace
Serialize the class into an element to be stored in the workspace- Specified by:
getWorkspaceInfo
in interfaceWorkspace
- Returns:
- An
Element
containing the data to persist.
-
getAndClearViewProblems
- Returns:
- A list of strings that describe any problems encountered during loading of the views, or an empty list if there were no problems.
-