Preparing search index...
The search index is not available
Theia TypeDoc
Theia TypeDoc
plugin-ext
CommandRegistryMainImpl
Class CommandRegistryMainImpl
Implements
CommandRegistryMain
Disposable
Index
Constructors
constructor
Properties
argument
Processors
commands
contributions
delegate
handlers
key
Binding
proxy
to
Dispose
Methods
$execute
Command
$get
Commands
$get
Key
Binding
$register
Command
$register
Handler
$unregister
Command
$unregister
Handler
dispose
register
Argument
Processor
Constructors
constructor
new
Command
Registry
Main
Impl
(
rpc
,
container
)
:
CommandRegistryMainImpl
Parameters
rpc
:
RPCProtocol
container
:
Container
Returns
CommandRegistryMainImpl
Properties
Private
Readonly
argument
Processors
argument
Processors
:
ArgumentProcessor
[]
= []
Private
Readonly
commands
commands
:
Map
<
string
,
Disposable
>
= ...
Private
Readonly
contributions
contributions
:
PluginContributionHandler
Private
Readonly
delegate
delegate
:
CommandRegistry
Private
Readonly
handlers
handlers
:
Map
<
string
,
Disposable
>
= ...
Private
Readonly
key
Binding
key
Binding
:
KeybindingRegistry
Private
Readonly
proxy
proxy
:
CommandRegistryExt
Protected
Readonly
to
Dispose
to
Dispose
:
DisposableCollection
= ...
Methods
$execute
Command
$execute
Command
<
T
>
(
id
,
...
args
)
:
Promise
<
undefined
|
T
>
Type Parameters
T
Parameters
id
:
string
Rest
...
args
:
any
[]
Returns
Promise
<
undefined
|
T
>
$get
Commands
$get
Commands
(
)
:
PromiseLike
<
string
[]
>
Returns
PromiseLike
<
string
[]
>
$get
Key
Binding
$get
Key
Binding
(
commandId
)
:
PromiseLike
<
undefined
|
CommandKeyBinding
[]
>
Parameters
commandId
:
string
Returns
PromiseLike
<
undefined
|
CommandKeyBinding
[]
>
$register
Command
$register
Command
(
command
)
:
void
Parameters
command
:
CommandDescription
Returns
void
$register
Handler
$register
Handler
(
id
)
:
void
Parameters
id
:
string
Returns
void
$unregister
Command
$unregister
Command
(
id
)
:
void
Parameters
id
:
string
Returns
void
$unregister
Handler
$unregister
Handler
(
id
)
:
void
Parameters
id
:
string
Returns
void
dispose
dispose
(
)
:
void
Returns
void
register
Argument
Processor
register
Argument
Processor
(
processor
)
:
Disposable
Parameters
processor
:
ArgumentProcessor
Returns
Disposable
Settings
Member Visibility
Protected
Private
Inherited
Theme
OS
Light
Dark
On This Page
constructor
argument
Processors
commands
contributions
delegate
handlers
key
Binding
proxy
to
Dispose
$execute
Command
$get
Commands
$get
Key
Binding
$register
Command
$register
Handler
$unregister
Command
$unregister
Handler
dispose
register
Argument
Processor
Theia TypeDoc
Loading...