Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TypeHierarchyContribution

Hierarchy

Index

Constructors

constructor

Properties

Protected Readonly editorAccess

editorAccess: EditorAccess

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

Protected getDirection

Protected isEnabled

  • isEnabled(languageId?: undefined | string): boolean

openView

Protected openViewOrFlipHierarchyDirection

registerCommands

  • registerCommands(commands: CommandRegistry): void

registerKeybindings

  • registerKeybindings(keybindings: KeybindingRegistry): void

registerMenus

  • registerMenus(menus: MenuModelRegistry): void

toggleView

  • Returns Promise<TypeHierarchyTreeWidget>

tryGetWidget

  • Returns undefined | TypeHierarchyTreeWidget