Theia API Documentation v1.65.0
Eclipse Theia Website
GitHub
Preparing search index...
@theia/plugin-ext
plugin/notebook/notebook-kernels
NotebookKernelsExtImpl
Class NotebookKernelsExtImpl
Implements
NotebookKernelsExt
Index
Constructors
constructor
Properties
on
Did
Change
Notebook
Cell
Execution
State
Methods
$accept
Kernel
Message
From
Renderer
$accept
Notebook
Association
$cancel
Cells
$cell
Execution
Changed
$execute
Cells
$provide
Kernel
Source
Actions
create
Notebook
Cell
Execution
create
Notebook
Controller
create
Notebook
Controller
Detection
Task
register
Kernel
Source
Action
Provider
Constructors
constructor
new
NotebookKernelsExtImpl
(
rpc
:
RPCProtocol
,
notebooks
:
NotebooksExtImpl
,
commands
:
CommandRegistryImpl
,
webviews
:
WebviewsExtImpl
,
workspace
:
WorkspaceExtImpl
,
)
:
NotebookKernelsExtImpl
Parameters
rpc
:
RPCProtocol
notebooks
:
NotebooksExtImpl
commands
:
CommandRegistryImpl
webviews
:
WebviewsExtImpl
workspace
:
WorkspaceExtImpl
Returns
NotebookKernelsExtImpl
Properties
Readonly
on
Did
Change
Notebook
Cell
Execution
State
onDidChangeNotebookCellExecutionState
:
Event
<
NotebookCellExecutionStateChangeEvent
,
>
= ...
Methods
$accept
Kernel
Message
From
Renderer
$acceptKernelMessageFromRenderer
(
handle
:
number
,
editorId
:
string
,
message
:
unknown
,
)
:
void
Parameters
handle
:
number
editorId
:
string
message
:
unknown
Returns
void
$accept
Notebook
Association
$acceptNotebookAssociation
(
handle
:
number
,
uri
:
UriComponents
,
selected
:
boolean
,
)
:
Promise
<
void
>
Parameters
handle
:
number
uri
:
UriComponents
selected
:
boolean
Returns
Promise
<
void
>
$cancel
Cells
$cancelCells
(
handle
:
number
,
uri
:
UriComponents
,
handles
:
number
[]
,
)
:
Promise
<
void
>
Parameters
handle
:
number
uri
:
UriComponents
handles
:
number
[]
Returns
Promise
<
void
>
$cell
Execution
Changed
$cellExecutionChanged
(
uri
:
UriComponents
,
cellHandle
:
number
,
state
:
undefined
|
NotebookCellExecutionState
,
)
:
void
Parameters
uri
:
UriComponents
cellHandle
:
number
state
:
undefined
|
NotebookCellExecutionState
Returns
void
$execute
Cells
$executeCells
(
handle
:
number
,
uri
:
UriComponents
,
handles
:
number
[]
,
)
:
Promise
<
void
>
Parameters
handle
:
number
uri
:
UriComponents
handles
:
number
[]
Returns
Promise
<
void
>
$provide
Kernel
Source
Actions
$provideKernelSourceActions
(
handle
:
number
,
token
:
CancellationToken
,
)
:
Promise
<
NotebookKernelSourceActionDto
[]
>
Parameters
handle
:
number
token
:
CancellationToken
Returns
Promise
<
NotebookKernelSourceActionDto
[]
>
create
Notebook
Cell
Execution
createNotebookCellExecution
(
cell
:
NotebookCell
,
controllerId
:
string
,
)
:
NotebookCellExecution
Parameters
cell
:
NotebookCell
controllerId
:
string
Returns
NotebookCellExecution
create
Notebook
Controller
createNotebookController
(
extension
:
PluginModel
,
id
:
string
,
viewType
:
string
,
label
:
string
,
handler
?:
(
cells
:
NotebookCell
[]
,
notebook
:
NotebookDocument
,
controller
:
NotebookController
,
)
=>
void
|
Thenable
<
void
>
,
rendererScripts
?:
NotebookRendererScript
[]
,
)
:
NotebookController
Parameters
extension
:
PluginModel
id
:
string
viewType
:
string
label
:
string
Optional
handler
:
(
cells
:
NotebookCell
[]
,
notebook
:
NotebookDocument
,
controller
:
NotebookController
,
)
=>
void
|
Thenable
<
void
>
Optional
rendererScripts
:
NotebookRendererScript
[]
Returns
NotebookController
create
Notebook
Controller
Detection
Task
createNotebookControllerDetectionTask
(
viewType
:
string
,
)
:
NotebookControllerDetectionTask
Parameters
viewType
:
string
Returns
NotebookControllerDetectionTask
register
Kernel
Source
Action
Provider
registerKernelSourceActionProvider
(
viewType
:
string
,
provider
:
NotebookKernelSourceActionProvider
,
)
:
Disposable
Parameters
viewType
:
string
provider
:
NotebookKernelSourceActionProvider
Returns
Disposable
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
on
Did
Change
Notebook
Cell
Execution
State
Methods
$accept
Kernel
Message
From
Renderer
$accept
Notebook
Association
$cancel
Cells
$cell
Execution
Changed
$execute
Cells
$provide
Kernel
Source
Actions
create
Notebook
Cell
Execution
create
Notebook
Controller
create
Notebook
Controller
Detection
Task
register
Kernel
Source
Action
Provider
Eclipse Theia Website
GitHub
Theia API Documentation v1.65.0
Loading...