store/workspaceLayout#
buildWorkspaceLayout()#
Build a workspace layout with the given start page as the initial tab.
Parameters#
| Parameter | Type |
|---|---|
startPage |
string |
Returns#
IJsonModel
getPageDisplayName()#
Get display name for a page label
Parameters#
| Parameter | Type |
|---|---|
label |
any |
Returns#
string
isSingletonPage()#
Check if a page type is singleton (only one tab allowed)
Parameters#
| Parameter | Type |
|---|---|
pageLabel |
string |
Returns#
boolean
DEFAULT_WORKSPACE_LAYOUT#
Default workspace layout — single tabset with Home tab (matches legacy single-page behavior)
PAGE_DISPLAY_NAMES#
Page labels to human-readable names (used as tab titles before i18n)
resetWorkspaceLayout#
selectWorkspaceLayout#
Selector to get the workspace layout model
Parameters#
| Parameter | Type |
|---|---|
state |
{ workspaceLayout: WorkspaceLayoutState; } |
state.workspaceLayout |
WorkspaceLayoutState |
Returns#
IJsonModel
setWorkspaceLayout#
SINGLETON_PAGES#
Pages that can only exist once in the workspace. Multi-instance pages (not in this set) can be opened in multiple tabs.
workspaceLayout#
WorkspaceLayoutState#
Properties#
model#
Serialized FlexLayout JSON model