Skip to main content

Class: EditorGroupModel\<E, T>

model.EditorGroupModel

Type parameters

NameType
Eany
Tany

Implements

Table of contents

Constructors

Properties

Constructors

constructor

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

Type parameters

NameType
Eany
Tany

Parameters

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

Returns

EditorGroupModel\<E, T>

Defined in

src/model/workbench/editor.ts:97

Properties

actions

actions: IEditorActionsProps[]

Implementation of

IEditorGroup.actions

Defined in

src/model/workbench/editor.ts:89


activeTab

activeTab: undefined | UniqueId

Implementation of

IEditorGroup.activeTab

Defined in

src/model/workbench/editor.ts:95


data

data: IEditorTab\<T>[]

Implementation of

IEditorGroup.data

Defined in

src/model/workbench/editor.ts:87


editorInstance

editorInstance: undefined | E

Implementation of

IEditorGroup.editorInstance

Defined in

src/model/workbench/editor.ts:93


id

id: UniqueId

Implementation of

IEditorGroup.id

Defined in

src/model/workbench/editor.ts:83


menu: IMenuItemProps[]

Implementation of

IEditorGroup.menu

Defined in

src/model/workbench/editor.ts:91


tab

tab: IEditorTab\<T>

Current editor group tab

Implementation of

IEditorGroup.tab

Defined in

src/model/workbench/editor.ts:85