Emit when the active editor is changed.
Emit when a new widget is created.
Emit when the current editor is changed.
The active editor. If there is an active editor (one that has focus), active and current are the same.
Retrieves all open widgets that have been opened by this handler.
all open widgets for this open handler.
The most recently activated editor (which might not have the focus anymore, hence it is not active).
If no editor has focus, e.g. when a context menu is shown, the active editor is undefined
, but current might be the editor that was active before the menu popped up.
Closes all widgets that have been opened by this open handler.
the close options that should be applied to all widgets.
a promise of all closed widgets that resolves after they have been closed.
Opens an editor to the side of the current editor. Defaults to opening to the right.
To modify direction, pass options with {widgetOptions: {mode: ...}}
Until the layout has been restored, widget state is not reliable, so we ignore creation events.