Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MonacoCommandService

Hierarchy

  • MonacoCommandService

Implements

  • ICommandService
  • Disposable

Index

Constructors

constructor

Properties

Protected Readonly commandRegistry

commandRegistry: CommandRegistry

Protected delegate

delegate: undefined | StandaloneCommandService

Protected Readonly delegateListeners

delegateListeners: DisposableCollection = ...

Protected Readonly onDidExecuteCommandEmitter

onDidExecuteCommandEmitter: Emitter<ICommandEvent> = ...

Protected Readonly onWillExecuteCommandEmitter

onWillExecuteCommandEmitter: Emitter<ICommandEvent> = ...

Protected Readonly toDispose

toDispose: DisposableCollection = ...

Accessors

onDidExecuteCommand

  • get onDidExecuteCommand(): IEvent<ICommandEvent>

onWillExecuteCommand

  • get onWillExecuteCommand(): IEvent<ICommandEvent>

Methods

dispose

  • dispose(): void

executeCommand

  • executeCommand(commandId: any, ...args: any[]): Promise<any>

executeMonacoCommand

  • executeMonacoCommand(commandId: any, ...args: any[]): Promise<any>

setDelegate

  • setDelegate(delegate: undefined | StandaloneCommandService): void