Class: EditorGroupModel\<E, T>
model.EditorGroupModel
Type parameters
Name | Type |
---|---|
E | any |
T | any |
Implements
IEditorGroup
\<E
,T
>
Table of contents
Constructors
Properties
Constructors
constructor
• new EditorGroupModel\<E
, T
>(id
, tab
, activeTab
, data
, actions?
, menu?
, editorInstance?
): EditorGroupModel
\<E
, T
>
Type parameters
Name | Type |
---|---|
E | any |
T | any |
Parameters
Name | Type | Default value |
---|---|---|
id | UniqueId | undefined |
tab | IEditorTab \<T > | undefined |
activeTab | undefined | UniqueId | undefined |
data | IEditorTab \<T >[] | undefined |
actions | IEditorActionsProps [] | [] |
menu | IMenuItemProps [] | [] |
editorInstance? | E | undefined |
Returns
EditorGroupModel
\<E
, T
>
Defined in
src/model/workbench/editor.ts:97
Properties
actions
• actions: IEditorActionsProps
[]
Implementation of
Defined in
src/model/workbench/editor.ts:89
activeTab
• activeTab: undefined
| UniqueId
Implementation of
Defined in
src/model/workbench/editor.ts:95
data
• data: IEditorTab
\<T
>[]
Implementation of
Defined in
src/model/workbench/editor.ts:87
editorInstance
• editorInstance: undefined
| E
Implementation of
Defined in
src/model/workbench/editor.ts:93
id
• id: UniqueId
Implementation of
Defined in
src/model/workbench/editor.ts:83
menu
• menu: IMenuItemProps
[]
Implementation of
Defined in
src/model/workbench/editor.ts:91
tab
• tab: IEditorTab
\<T
>
Current editor group tab