Class: EditorGroupModel<E, T>
molecule.model.EditorGroupModel
Type parameters
Name | Type |
---|---|
E | any |
T | any |
Implements
IEditorGroup
<E
,T
>
Constructors
constructor
• new EditorGroupModel<E
, T
>(id
, tab
, activeTab
, data
, actions?
, menu?
, editorInstance?
)
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 |
Defined in
src/model/workbench/editor.ts:85
Properties
actions
• actions: IEditorActionsProps
[]
Implementation of
Defined in
src/model/workbench/editor.ts:80
activeTab
• activeTab: undefined
| UniqueId
Implementation of
Defined in
src/model/workbench/editor.ts:83
data
• data: IEditorTab
<T
>[]
Implementation of
Defined in
src/model/workbench/editor.ts:79
editorInstance
• editorInstance: undefined
| E
Implementation of
Defined in
src/model/workbench/editor.ts:82
id
• id: UniqueId
Implementation of
Defined in
src/model/workbench/editor.ts:77
menu
• menu: IMenuItemProps
[]
Implementation of
Defined in
src/model/workbench/editor.ts:81
tab
• tab: IEditorTab
<T
>
Current editor group tab