Skip to main content
Version: 1.x

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:86

Properties

actions

actions: IEditorActionsProps[]

Implementation of

IEditorGroup.actions

Defined in

model/workbench/editor.ts:81


activeTab

activeTab: undefined | UniqueId

Implementation of

IEditorGroup.activeTab

Defined in

model/workbench/editor.ts:84


data

data: IEditorTab<T>[]

Implementation of

IEditorGroup.data

Defined in

model/workbench/editor.ts:80


editorInstance

editorInstance: undefined | E

Implementation of

IEditorGroup.editorInstance

Defined in

model/workbench/editor.ts:83


id

id: UniqueId

Implementation of

IEditorGroup.id

Defined in

model/workbench/editor.ts:78


menu: IMenuItemProps[]

Implementation of

IEditorGroup.menu

Defined in

model/workbench/editor.ts:82


tab

tab: IEditorTab<T>

Current editor group tab

Implementation of

IEditorGroup.tab

Defined in

model/workbench/editor.ts:79