Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PropertyViewContribution

Hierarchy

Index

Constructors

constructor

Properties

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 | PropertyViewWidget>

openView

  • Parameters

    • Optional args: Partial<OpenViewArguments>

    Returns Promise<PropertyViewWidget>

registerCommands

  • registerCommands(commands: CommandRegistry): void
  • Parameters

    • commands: CommandRegistry

    Returns void

registerKeybindings

  • registerKeybindings(keybindings: KeybindingRegistry): void
  • Parameters

    • keybindings: KeybindingRegistry

    Returns void

registerMenus

  • registerMenus(menus: MenuModelRegistry): void
  • Parameters

    • menus: MenuModelRegistry

    Returns void

toggleView

  • Returns Promise<PropertyViewWidget>

tryGetWidget

  • Returns undefined | PropertyViewWidget