Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CustomEditorOpener

Hierarchy

  • CustomEditorOpener

Implements

  • OpenHandler

Index

Constructors

constructor

Properties

Readonly id

id: string

Readonly label

label: string

Readonly onDidOpenCustomEditor

onDidOpenCustomEditor: Event<CustomEditorWidget> = ...

Private Readonly onDidOpenCustomEditorEmitter

onDidOpenCustomEditorEmitter: Emitter<CustomEditorWidget> = ...

Protected Readonly pendingWidgetPromises

pendingWidgetPromises: Map<string, Promise<CustomEditorWidget>> = ...

Protected Readonly shell

shell: ApplicationShell

Protected Readonly widgetManager

widgetManager: WidgetManager

Methods

canHandle

  • canHandle(uri: default): number

getPriority

  • getPriority(): number

matches

open

  • open(uri: default, options?: OpenerOptions): Promise<undefined | Widget>

selectorMatches

Static toCustomEditorId

  • toCustomEditorId(editorViewType: string): string