Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MenusContributionPointHandler

Hierarchy

  • MenusContributionPointHandler

Index

Constructors

Properties

codeEditorWidgetUtil: CodeEditorWidgetUtil
commandAdapter: PluginMenuCommandAdapter
commandAdapterRegistry: MenuCommandAdapterRegistry
commands: CommandRegistry
contextKeyService: ContextKeyService
initialized: boolean = false
menuRegistry: MenuModelRegistry
onDidChangeTitleContributionEmitter: Emitter<void> = ...
quickCommandService: QuickCommandService
tabBarToolbar: TabBarToolbarRegistry
titleContributionContextKeys: ReferenceCountingSet<unknown> = ...

Methods

  • checkTitleContribution(contributionPoint: string, contribution: { when?: string }, toDispose: DisposableCollection): void
  • getMatchingMenu(contributionPoint: "comments/comment/context" | "comments/comment/title" | "comments/commentThread/context" | "debug/callstack/context" | "debug/variables/context" | "debug/toolBar" | "editor/context" | "editor/title" | "editor/title/context" | "explorer/context" | "scm/resourceFolder/context" | "scm/resourceGroup/context" | "scm/resourceState/context" | "scm/title" | "timeline/item/context" | "view/item/context" | "view/title"): undefined | MenuPath[]
  • Parameters

    • contributionPoint: "comments/comment/context" | "comments/comment/title" | "comments/commentThread/context" | "debug/callstack/context" | "debug/variables/context" | "debug/toolBar" | "editor/context" | "editor/title" | "editor/title/context" | "explorer/context" | "scm/resourceFolder/context" | "scm/resourceGroup/context" | "scm/resourceState/context" | "scm/title" | "timeline/item/context" | "view/item/context" | "view/title"

    Returns undefined | MenuPath[]

  • initialize(): void
  • parseGroup(rawGroup?: string): { group?: string; order?: string }
  • registerCommandPaletteAction(menu: Menu): Disposable
  • toIconClass(url: IconUrl, toDispose: DisposableCollection): undefined | string