Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ElectronMainMenuFactory

Hierarchy

Index

Constructors

Properties

_menu?: Menu
_toggledCommands: Set<string> = ...
commandRegistry: CommandRegistry
contextKeyService: ContextKeyService
corePreferences: CorePreferences
keybindingRegistry: KeybindingRegistry
menuProvider: MenuModelRegistry
preferencesService: PreferenceService

Accessors

Methods

  • createContextMenu(path: MenuPath, args?: any[]): Menu
  • createElectronContextMenu(menuPath: MenuPath, args?: any[]): Menu
  • createElectronMenuBar(): null | Menu
  • createOSXMenu(): MenuItemConstructorOptions
  • execute(command: string, args: any[]): Promise<void>
  • postConstruct(): void
  • setMenuBar(): Promise<void>