Abstract
Abstract
Readonly
idReadonly
onEmit when a new widget is created.
Protected
Readonly
onProtected
Readonly
shellProtected
Readonly
widgetRetrieves all open widgets that have been opened by this handler.
all open widgets for this open handler.
Abstract
canTest whether this handler can open the given URI for given options. Return a nonzero number if this handler can open; otherwise it cannot. Never reject.
A returned value indicating a priority of this handler.
Optional
options: WidgetOpenerOptionsCloses all widgets that have been opened by this open handler.
Optional
options: ApplicationShell.CloseOptionsthe close options that should be applied to all widgets.
a promise of all closed widgets that resolves after they have been closed.
Protected
createOptional
options: WidgetOpenerOptionsProtected
doOptional
options: WidgetOpenerOptionsReturn an existing widget for the given uri or creates a new one.
It does not open a widget, use WidgetOpenHandler#open instead.
uri of the widget.
a promise of the existing or newly created widget.
Protected
getOptional
options: WidgetOpenerOptionsProtected
getOptional
options: WidgetOpenerOptionsProtected
initOpen a widget for the given uri and options. Reject if the given options are not widget options or a widget cannot be opened.
the uri of the resource that should be opened.
Optional
options: WidgetOpenerOptionsthe widget opener options.
promise of the widget that resolves when the widget has been opened.
Protected
serializeProtected
tryOptional
options: WidgetOpenerOptions
Generic base class for OpenHandlers that are opening a widget for a given URI.