List of widgets in secondary windows.
Subscribe to get notified when a widget is added to this handler, i.e. the widget was moved to an secondary window .
Subscribe to get notified when a widget is removed from this handler, i.e. the widget's window was closed or the widget was disposed.
List of widgets in secondary windows.
If the given widget is tracked by this handler, activate it and focus its secondary window.
The widget to activate specified by its id
The activated ExtractableWidget
or undefined
if the given widget id is unknown to this handler.
Sets up message forwarding from the main window to secondary windows. Does nothing if this service has already been initialized.
The ApplicationShell
that widgets will be moved out from.
Moves the given widget to a new window.
the widget to extract
If the given widget is tracked by this handler, reveal it by focussing its secondary window.
The widget to reveal specified by its id
The revealed ExtractableWidget
or undefined
if the given widget id is unknown to this handler.
Offers functionality to move a widget out of the main window to a newly created window. Widgets must explicitly implement the
ExtractableWidget
interface to support this.This handler manages the opened secondary windows and sets up messaging between them and the Theia main window. In addition, it provides access to the extracted widgets and provides notifications when widgets are added to or removed from this handler.
The functionality provided by this handler is experimental and has known issues in Electron apps.