Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ViewContainer

A view container holds an arbitrary number of widgets inside a split panel. Each widget is wrapped in a part that displays the widget title and toolbar and allows to collapse / expand the widget content.

Hierarchy

Implements

Index

Constructors

Properties

Accessors

Methods

Constructors

Properties

_tabBarDelegate: Widget = ...
applicationStateService: FrontendApplicationStateService
commandRegistry: CommandRegistry
contextMenuRenderer: ContextMenuRenderer
currentPart: undefined | ViewContainerPart
decoratorService: TabBarDecoratorService
disableDNDBetweenContainers: boolean = false

Disable dragging parts from/to this view container.

lastVisibleState: undefined | ViewContainer.State
menuRegistry: MenuModelRegistry
onDidChangeTrackableWidgets: Event<Widget[]> = ...
onDidChangeTrackableWidgetsEmitter: Emitter<Widget[]> = ...
onDidChangeVisibility: Event<boolean> = ...
onDidChangeVisibilityEmitter: Emitter<boolean> = ...
onDidDispose: Event<void> = ...
onDidDisposeEmitter: Emitter<void> = ...
onScrollUp: Event<void> = ...
onScrollUpEmitter: Emitter<void> = ...
onScrollYReachEnd: Event<void> = ...
onScrollYReachEndEmitter: Emitter<void> = ...
panel: SplitPanel
progressBarFactory: ProgressBarFactory
scrollBar?: PerfectScrollbar
scrollOptions?: Options
splitPositionHandler: SplitPositionHandler
titleOptions: undefined | ViewContainerTitleOptions
toDispose: DisposableCollection = ...
toDisposeOnCurrentPart: DisposableCollection = ...
toDisposeOnDetach: DisposableCollection = ...
toDisposeOnDragEnd: DisposableCollection = ...
toDisposeOnUpdateTitle: DisposableCollection = ...
toRemoveWidgets: Map<string, DisposableCollection> = ...
toolbarFactory: TabBarToolbarFactory
toolbarRegistry: TabBarToolbarRegistry
widgetManager: WidgetManager

Accessors

  • get enableAnimation(): boolean
  • get globalHideCommandId(): string
  • get orientation(): Orientation

Methods

  • activateWidget(id: string): undefined | Widget
  • addKeyListener<K>(element: HTMLElement, keysOrKeyCodes: KeyCode.Predicate | KeysOrKeyCodes, action: ((event: KeyboardEvent) => boolean | void | Object), ...additionalEventTypes: K[]): void
  • addUpdateListener<K>(element: HTMLElement, type: K, useCapture?: boolean): void
  • clearFlag(flag: Flag): void
  • configureLayout(layout: PanelLayout): void
  • createPartId(widget: Widget): string
  • disableScrollBarFocus(scrollContainer: HTMLElement): void
  • dispose(): void
  • fireDidChangeTrackableWidgets(): void
  • getDockPanel(): undefined | DockPanel
  • getPartIndex(partId: undefined | string): number
  • getTabBarDelegate(): undefined | Widget
  • getToggleVisibilityGroupLabel(): string
  • getTrackableWidgets(): Widget[]
  • handleDragEnter(event: IDragEvent): void
  • handleDragLeave(event: IDragEvent): void
  • handleDragOver(event: IDragEvent): void
  • handleDrop(event: IDragEvent): void
  • handleEvent(event: Event): void
  • init(): void
  • isSideDockPanel(widget: Widget): boolean
  • moveBefore(toMovedId: string, moveBeforeThisId: string): void
  • onActivateRequest(msg: Message): void
  • onAfterAttach(msg: Message): void
  • onAfterDetach(msg: Message): void
  • onAfterShow(msg: Message): void
  • onBeforeAttach(msg: Message): void
  • onBeforeDetach(msg: Message): void
  • onBeforeHide(msg: Message): void
  • onCloseRequest(msg: Message): void
  • onUpdateRequest(msg: Message): void
  • registerToolbarItem(commandId: string, options?: Partial<Omit<TabBarToolbarItem, "command" | "id">>): void
  • removeWidget(widget: Widget): boolean
  • revealWidget(id: string): undefined | Widget
  • setFlag(flag: Flag): void
  • updateSplitterVisibility(): void
  • updateTabBarDelegate(): void
  • updateTitle(): void