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 IrisViewprotected abstract com.illumon.infonode.docking.util.StringViewMaporg.jdom2.ElementexportShare(Set<com.illumon.infonode.docking.View> viewsForExport, com.illumon.infonode.docking.DockingWindow windowToExport) Exports for a shareable workspace.org.jdom2.ElementSerialize the class into an element to be stored in the workspaceimportShare(org.jdom2.Element workspaceInfo) Imports views from a shared workspace.protected voidinit()booleanprotected voidvoidsetViewLock(boolean viewLock) voidsetWorkspaceInfo(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, waitMethods 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:WorkspaceRestore the class to the state defined by the data persisted in workspaceInfo- Specified by:
setWorkspaceInfoin interfaceWorkspace- Parameters:
workspaceInfo- AnElementcontaining the persisted state.
-
getWorkspaceInfo
public org.jdom2.Element getWorkspaceInfo()Description copied from interface:WorkspaceSerialize the class into an element to be stored in the workspace- Specified by:
getWorkspaceInfoin interfaceWorkspace- Returns:
- An
Elementcontaining 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.
-