Interface CommandRegistryMain
Methods
$executeCommand
- $executeCommand<T>(id: string, ...args: any[]): PromiseLike<undefined | T>
Type Parameters
Parameters
id: string
Rest ...args: any[]
Returns PromiseLike<undefined | T>
$getCommands
- $getCommands(): PromiseLike<string[]>
Returns PromiseLike<string[]>
$getKeyBinding
- $getKeyBinding(commandId: string): PromiseLike<undefined | CommandKeyBinding[]>
Parameters
Returns PromiseLike<undefined | CommandKeyBinding[]>
$registerCommand
- $registerCommand(command: CommandDescription): void
Parameters
command: CommandDescription
Returns void
$registerHandler
- $registerHandler(id: string): void
$unregisterCommand
- $unregisterCommand(id: string): void
$unregisterHandler
- $unregisterHandler(id: string): void