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 SavedLayoutsManagergetInstance()Map<String,org.jdom2.Element>getLayouts(String modelName)org.jdom2.ElementgetWorkspaceInfo()Serialize the class into an element to be stored in the workspacevoidremoveLayout(String modelName, String name)voidsetLayout(String modelName, String name, org.jdom2.Element layout)voidsetWorkspaceInfo(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:WorkspaceSerialize the class into an element to be stored in the workspace- Specified by:
getWorkspaceInfoin interfaceWorkspace- Returns:
- An
Elementcontaining the data to persist.
-
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.
-