Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MonacoCommandService

Hierarchy

  • MonacoCommandService

Implements

  • ICommandService
  • Disposable

Index

Constructors

Properties

_serviceBrand: undefined
commandRegistry: CommandRegistry
delegate: undefined | StandaloneCommandService
delegateListeners: DisposableCollection = ...
onDidExecuteCommandEmitter: Emitter<ICommandEvent> = ...
onWillExecuteCommandEmitter: Emitter<ICommandEvent> = ...
toDispose: DisposableCollection = ...

Accessors

  • get onDidExecuteCommand(): IEvent<ICommandEvent>
  • get onWillExecuteCommand(): IEvent<ICommandEvent>

Methods

  • dispose(): void
  • executeCommand(commandId: any, ...args: any[]): Promise<any>
  • executeMonacoCommand(commandId: any, ...args: any[]): Promise<any>
  • setDelegate(delegate: undefined | StandaloneCommandService): void