Options
All
  • Public
  • Public/Protected
  • All
Menu

Class KeymapsFrontendContribution

Hierarchy

Implements

  • CommandContribution
  • MenuContribution
  • TabBarToolbarContribution

Index

Constructors

constructor

Properties

Protected Readonly keymaps

Protected Readonly options

options: ViewContributionOptions

Protected Readonly quickView

quickView: QuickViewService

Protected Readonly shell

shell: ApplicationShell

Optional Readonly toggleCommand

toggleCommand: Command

Protected Readonly widgetManager

widgetManager: WidgetManager

Accessors

defaultViewOptions

  • get defaultViewOptions(): WidgetOptions
  • Returns WidgetOptions

viewId

  • get viewId(): string
  • Returns string

viewLabel

  • get viewLabel(): string
  • Returns string

widget

  • get widget(): Promise<T>
  • Returns Promise<T>

Methods

closeView

  • Returns Promise<undefined | KeybindingWidget>

openView

  • Parameters

    • Optional args: Partial<OpenViewArguments>

    Returns Promise<KeybindingWidget>

registerCommands

  • registerCommands(commands: CommandRegistry): void

registerKeybindings

  • registerKeybindings(keybindings: KeybindingRegistry): void

registerMenus

  • registerMenus(menus: MenuModelRegistry): void

registerToolbarItems

  • registerToolbarItems(toolbar: TabBarToolbarRegistry): Promise<void>

toggleView

  • Returns Promise<KeybindingWidget>

tryGetWidget

  • Returns undefined | KeybindingWidget

Protected withWidget

  • withWidget<T>(widget?: undefined | Widget, fn: (widget: KeybindingWidget) => T): false | T