Options
All
  • Public
  • Public/Protected
  • All
Menu

Class NavigatableWidgetOpenHandler<W>

Type parameters

Hierarchy

Implements

Index

Properties

Readonly Abstract id

id: string

The widget open handler id.

Implementation

  • A widget factory for this id should be registered.
  • Subclasses should not implement WidgetFactory to avoid exposing capabilities to create a widget outside of WidgetManager.

Readonly onCreated

onCreated: Event<W> = this.onCreatedEmitter.event

Emit when a new widget is created.

Protected Readonly onCreatedEmitter

onCreatedEmitter: Emitter<W> = new Emitter<W>()

Protected Readonly shell

Protected Readonly widgetManager

widgetManager: WidgetManager

Accessors

all

  • get all(): W[]

Methods

Abstract canHandle

closeAll

Protected createWidgetOptions

Protected doOpen

getByUri

  • getByUri(uri: URI): Promise<W | undefined>

getOrCreateByUri

  • getOrCreateByUri(uri: URI): Promise<W>

Protected getOrCreateWidget

Protected getWidget

Protected init

  • init(): void

open

Protected serializeUri

  • serializeUri(uri: URI): string