ExperimentalReadonly ExperimentalbeforeProtected ReadonlybeforeProtected ReadonlycloseProtected ReadonlyelectronProtected ReadonlyloggerReadonly ExperimentalonProtected ReadonlyonReadonly ExperimentalonEmitted once a secondary window's final document has finished loading. Listeners can safely
modify the window's document, unlike with onWindowOpened: at that point the window
still shows the initial about:blank document, and anything added to it is discarded when
the final document replaces it.
Protected ReadonlyonReadonly ExperimentalonProtected ReadonlyonProtected ReadonlypreferenceProtected ReadonlyprefixRandomized prefix to be included in opened windows' ids. This avoids conflicts when creating sub-windows from multiple theia instances (e.g. by opening Theia multiple times in the same browser)
Protected ReadonlysaveProtectedsecondaryProtectedshuttingWhether the main window is shutting down, which closes all secondary windows. Such a close is not handled like a close by the user: the widgets stay in their windows, so that the windows are stored with the layout and restored on the next start.
Protected ReadonlytitleProtected ReadonlywindowProtected ReadonlywindowProtected StaticSECONDARY_secondary-window.html is part of Theia's generated code. It is generated by dev-packages/application-manager/src/generator/frontend-generator.ts
ProtectedcreateExperimental
Creates a new secondary window for a widget to be extracted from the application shell. The created window is closed automatically when the current theia instance is closed.
Optionaloptions: SecondaryWindowOptions
optional options, e.g. the screen position at which to open the window
the created window or undefined if it could not be created
ProtectedfindProtectedfindExperimental
Handles focussing the given secondary window in the browser and on Electron.
Experimental
ProtectednextExperimental
Moves the given widget from the given secondary window back to the application shell. The secondary window is closed once it does not contain any widgets anymore.
ProtectedrestoreRestore the widgets back to the main window, or close them, depending on the window.secondaryWindowCloseBehavior preference.
SecondaryWindowHandler needs to get informated about this.
Protectedshouldwhether the given widget is to be moved back to the main window instead of being closed with its secondary window
ProtectedupdateProtectedwindow
Service for opening new secondary windows to contain widgets extracted from the application shell.
The functionality provided by this service and its implementation is still under development. Use with caution.