Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CommandRegistryMainImpl

Hierarchy

  • CommandRegistryMainImpl

Implements

Index

Constructors

constructor

Properties

Private Readonly commands

commands: Map<string, Disposable> = ...

Private Readonly contributions

Private Readonly delegate

delegate: CommandRegistry

Private Readonly handlers

handlers: Map<string, Disposable> = ...

Private Readonly keyBinding

keyBinding: KeybindingRegistry

Private Readonly proxy

Protected Readonly toDispose

toDispose: DisposableCollection = ...

Methods

$executeCommand

  • $executeCommand<T>(id: string, ...args: any[]): Promise<undefined | T>

$getCommands

  • $getCommands(): PromiseLike<string[]>

$getKeyBinding

  • $getKeyBinding(commandId: string): PromiseLike<undefined | CommandKeyBinding[]>

$registerCommand

  • $registerCommand(command: CommandDescription): void

$registerHandler

  • $registerHandler(id: string): void

$unregisterCommand

  • $unregisterCommand(id: string): void

$unregisterHandler

  • $unregisterHandler(id: string): void

dispose

  • dispose(): void