Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • CommandRegistryMainImpl

Implements

Index

Constructors

Properties

commands: Map<string, Disposable> = ...
delegate: CommandRegistry
handlers: Map<string, Disposable> = ...
keyBinding: KeybindingRegistry
toDispose: DisposableCollection = ...

Methods

  • $executeCommand<T>(id: string, ...args: any[]): Promise<undefined | T>
  • $getCommands(): PromiseLike<string[]>
  • $getKeyBinding(commandId: string): PromiseLike<undefined | CommandKeyBinding[]>
  • $registerCommand(command: CommandDescription): void
  • $registerHandler(id: string): void
  • $unregisterCommand(id: string): void
  • $unregisterHandler(id: string): void
  • dispose(): void