Theia API Documentation v1.65.0
Eclipse Theia Website
GitHub
Preparing search index...
@theia/notebook
browser/service/notebook-kernel-service
SourceCommand
Class SourceCommand
Implements
Disposable
Index
Constructors
constructor
Properties
command
execution
model
on
Did
Change
State
on
Did
Change
State
Emitter
Methods
dispose
run
run
Command
Constructors
constructor
new
SourceCommand
(
command
:
Command
,
model
:
NotebookTextModelLike
)
:
SourceCommand
Parameters
command
:
Command
model
:
NotebookTextModelLike
Returns
SourceCommand
Properties
Readonly
command
command
:
Command
execution
execution
:
undefined
|
Promise
<
void
>
Readonly
model
model
:
NotebookTextModelLike
Readonly
on
Did
Change
State
onDidChangeState
:
Event
<
void
>
= ...
Protected
Readonly
on
Did
Change
State
Emitter
onDidChangeStateEmitter
:
Emitter
<
void
>
= ...
Methods
dispose
dispose
()
:
void
Dispose this object.
Returns
void
run
run
(
commandService
:
CommandService
)
:
Promise
<
void
>
Parameters
commandService
:
CommandService
Returns
Promise
<
void
>
Protected
run
Command
runCommand
(
commandService
:
CommandService
)
:
Promise
<
void
>
Parameters
commandService
:
CommandService
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
command
execution
model
on
Did
Change
State
on
Did
Change
State
Emitter
Methods
dispose
run
run
Command
Eclipse Theia Website
GitHub
Theia API Documentation v1.65.0
Loading...
Dispose this object.