Skip to main content
Version: Next

Class: EditorGroupModel<E, T>

molecule.model.EditorGroupModel

Type parameters​

NameType
Eany
Tany

Implements​

Constructors​

constructor​

• new EditorGroupModel<E, T>(id, tab, activeTab, data, actions?, menu?, editorInstance?)

Type parameters​

NameType
Eany
Tany

Parameters​

NameTypeDefault value
idUniqueIdundefined
tabIEditorTab<T>undefined
activeTabundefined | UniqueIdundefined
dataIEditorTab<T>[]undefined
actionsIEditorActionsProps[][]
menuIMenuItemProps[][]
editorInstance?Eundefined

Defined in​

model/workbench/editor.ts:87

Properties​

actions​

• actions: IEditorActionsProps[]

Implementation of​

IEditorGroup.actions

Defined in​

model/workbench/editor.ts:82


activeTab​

• activeTab: undefined | UniqueId

Implementation of​

IEditorGroup.activeTab

Defined in​

model/workbench/editor.ts:85


data​

• data: IEditorTab<T>[]

Implementation of​

IEditorGroup.data

Defined in​

model/workbench/editor.ts:81


editorInstance​

• editorInstance: undefined | E

Implementation of​

IEditorGroup.editorInstance

Defined in​

model/workbench/editor.ts:84


id​

• id: UniqueId

Implementation of​

IEditorGroup.id

Defined in​

model/workbench/editor.ts:79


• menu: IMenuItemProps[]

Implementation of​

IEditorGroup.menu

Defined in​

model/workbench/editor.ts:83


tab​

• tab: IEditorTab<T>

Current editor group tab

Implementation of​

IEditorGroup.tab

Defined in​

model/workbench/editor.ts:80