Package lu.kbra.modelizer_next.layout
Class WorkspaceState
java.lang.Object
lu.kbra.modelizer_next.layout.WorkspaceState
Persistent state of the visible workspace, including active panels and docking layout.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic WorkspaceStateCreates a default.Returns the dock layout.Returns the panels.voidsetDockLayout(DockLayoutState dockLayout) Sets the dock layout.voidsetPanels(Map<PanelType, PanelState> panels) Sets the panels.toString()Builds a debug string for this workspace state.
-
Constructor Details
-
WorkspaceState
public WorkspaceState()Creates a workspace state instance.
-
-
Method Details
-
createDefault
Creates a default.- Returns:
- the created default
-
getDockLayout
Returns the dock layout.- Returns:
- the dock layout
-
getPanels
Returns the panels.- Returns:
- the panels
-
setDockLayout
Sets the dock layout.- Parameters:
dockLayout- layout object to read or modify
-
setPanels
Sets the panels.- Parameters:
panels- panels value used by the operation
-
toString
Builds a debug string for this workspace state.
-