Package com.illumon.iris.gui.table
Class SavedLayoutsManager
java.lang.Object
com.illumon.iris.gui.table.SavedLayoutsManager
- All Implemented Interfaces:
Workspace
public class SavedLayoutsManager extends Object implements Workspace
-
Method Summary
Modifier and Type Method Description static SavedLayoutsManager
getInstance()
Map<String,org.jdom2.Element>
getLayouts(String modelName)
org.jdom2.Element
getWorkspaceInfo()
Serialize the class into an element to be stored in the workspacevoid
removeLayout(String modelName, String name)
void
setLayout(String modelName, String name, org.jdom2.Element layout)
void
setWorkspaceInfo(org.jdom2.Element workspaceInfo)
Restore the class to the state defined by the data persisted in workspaceInfo
-
Method Details
-
getInstance
-
getLayouts
-
setLayout
-
removeLayout
-
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.
-
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.
-