Theia API Documentation v1.66.0
Eclipse Theia Website
GitHub
Preparing search index...
@theia/notebook
browser/service/notebook-context-manager
NotebookContextManager
Class NotebookContextManager
Index
Constructors
constructor
Properties
_
context?
cell
Contexts
cell
Disposables
context
Key
Service
execution
State
Service
notebook
Kernel
Service
scoped
Store
to
Dispose
Accessors
context
Methods
change
Cell
Focus
change
Cell
List
Focus
create
Context
Key
Changed
Event
dispose
get
Cell
Context
init
selected
Cell
Changed
set
Cell
Context
Constructors
constructor
new
NotebookContextManager
()
:
NotebookContextManager
Returns
NotebookContextManager
Properties
Protected
Optional
_
context
_context
?:
HTMLElement
Protected
cell
Contexts
cellContexts
:
Map
<
number
,
Record
<
string
,
unknown
>
>
= ...
Protected
cell
Disposables
cellDisposables
:
DisposableCollection
= ...
Protected
context
Key
Service
contextKeyService
:
ContextKeyService
Protected
Readonly
execution
State
Service
executionStateService
:
NotebookExecutionStateService
Protected
Readonly
notebook
Kernel
Service
notebookKernelService
:
NotebookKernelService
scoped
Store
scopedStore
:
ScopedValueStore
Protected
Readonly
to
Dispose
toDispose
:
DisposableCollection
= ...
Accessors
context
get
context
()
:
undefined
|
HTMLElement
Returns
undefined
|
HTMLElement
Methods
change
Cell
Focus
changeCellFocus
(
focus
:
boolean
)
:
void
Parameters
focus
:
boolean
Returns
void
change
Cell
List
Focus
changeCellListFocus
(
focus
:
boolean
)
:
void
Parameters
focus
:
boolean
Returns
void
create
Context
Key
Changed
Event
createContextKeyChangedEvent
(
affectedKeys
:
string
[]
)
:
ContextKeyChangeEvent
Parameters
affectedKeys
:
string
[]
Returns
ContextKeyChangeEvent
dispose
dispose
()
:
void
Returns
void
get
Cell
Context
getCellContext
(
cellHandle
:
number
)
:
ContextMatcher
Parameters
cellHandle
:
number
Returns
ContextMatcher
init
init
(
widget
:
NotebookEditorWidget
)
:
void
Parameters
widget
:
NotebookEditorWidget
Returns
void
selected
Cell
Changed
selectedCellChanged
(
cell
:
undefined
|
NotebookCellModel
)
:
void
Parameters
cell
:
undefined
|
NotebookCellModel
Returns
void
Protected
set
Cell
Context
setCellContext
(
cellHandle
:
number
,
key
:
string
,
value
:
unknown
)
:
void
Parameters
cellHandle
:
number
key
:
string
value
:
unknown
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
_
context
cell
Contexts
cell
Disposables
context
Key
Service
execution
State
Service
notebook
Kernel
Service
scoped
Store
to
Dispose
Accessors
context
Methods
change
Cell
Focus
change
Cell
List
Focus
create
Context
Key
Changed
Event
dispose
get
Cell
Context
init
selected
Cell
Changed
set
Cell
Context
Eclipse Theia Website
GitHub
Theia API Documentation v1.66.0
Loading...