Skip to main content
Version: 0.9.0-beta.2

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​

src/model/workbench/editor.ts:85

Properties​

actions​

• actions: IEditorActionsProps[]

Implementation of​

IEditorGroup.actions

Defined in​

src/model/workbench/editor.ts:80


activeTab​

• activeTab: undefined | UniqueId

Implementation of​

IEditorGroup.activeTab

Defined in​

src/model/workbench/editor.ts:83


data​

• data: IEditorTab<T>[]

Implementation of​

IEditorGroup.data

Defined in​

src/model/workbench/editor.ts:79


editorInstance​

• editorInstance: undefined | E

Implementation of​

IEditorGroup.editorInstance

Defined in​

src/model/workbench/editor.ts:82


id​

• id: UniqueId

Implementation of​

IEditorGroup.id

Defined in​

src/model/workbench/editor.ts:77


• menu: IMenuItemProps[]

Implementation of​

IEditorGroup.menu

Defined in​

src/model/workbench/editor.ts:81


tab​

• tab: IEditorTab<T>

Current editor group tab

Implementation of​

IEditorGroup.tab

Defined in​

src/model/workbench/editor.ts:78