Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CommandRegistryImpl

Hierarchy

  • CommandRegistryImpl

Implements

Index

Constructors

constructor

Properties

Private Readonly argumentProcessors

argumentProcessors: ArgumentProcessor[]

Private Readonly commands

commands: Set<string> = ...

Private Readonly commandsConverter

commandsConverter: CommandsConverter

Private Readonly handlers

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

Private proxy

Accessors

converter

Methods

$executeCommand

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

executeCommand

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

Private executeLocalCommand

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

getCommands

  • getCommands(filterUnderscoreCommands?: boolean): Promise<string[]>

getKeyBinding

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

registerArgumentProcessor

registerCommand

  • registerCommand(command: CommandDescription, handler?: Handler, thisArg?: any): Disposable

registerHandler