Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • PluginMenuCommandAdapter

Implements

  • MenuCommandAdapter

Index

Constructors

Properties

argumentAdapters: Map<string, ArgumentAdapter> = ...
codeEditorUtil: CodeEditorWidgetUtil
commandRegistry: CommandRegistry
commands: ReferenceCountingSet<string> = ...
resourceContextKey: ResourceContextKey
scmService: ScmService
selectionService: SelectionService
separator: ":)(:" = ':)(:'

Methods

  • addCommand(commandId: string): Disposable
  • canHandle(menuPath: MenuPath, command: string, ...commandArgs: unknown[]): number
  • executeCommand(menuPath: MenuPath, command: string, ...commandArgs: unknown[]): Promise<unknown>
  • init(): void
  • isEnabled(menuPath: MenuPath, command: string, ...commandArgs: unknown[]): boolean
  • isToggled(menuPath: MenuPath, command: string, ...commandArgs: unknown[]): boolean
  • isVisible(menuPath: MenuPath, command: string, ...commandArgs: unknown[]): boolean
  • toCommentArgs(...args: any[]): any[]
  • toScmArgs(...args: any[]): any[]
  • toTimelineArgs(...args: any[]): any[]
  • toTreeArgs(...args: any[]): any[]