Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AbstractViewContribution<T>

An abstract superclass for frontend contributions that add a view to the application shell.

Type parameters

  • T: Widget

Hierarchy

Implements

Index

Constructors

constructor

Properties

Protected Readonly options

Protected Readonly quickView

quickView: QuickViewService

Protected Readonly shell

Optional Readonly toggleCommand

toggleCommand: Command

Protected Readonly widgetManager

widgetManager: WidgetManager

Accessors

defaultViewOptions

viewId

  • get viewId(): string

viewLabel

  • get viewLabel(): string

widget

  • get widget(): Promise<T>

Methods

closeView

  • closeView(): Promise<T | undefined>

openView

registerCommands

registerKeybindings

registerMenus

toggleView

  • toggleView(): Promise<T>

tryGetWidget

  • tryGetWidget(): T | undefined