Theia API Documentation v1.75.0
    Preparing search index...

    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.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    beforeWidgetRestore: Event<[Widget, Window]> = ...
    beforeWidgetRestoreEmitter: Emitter<[Widget, Window]> = ...
    electronWindowPreferences: ElectronWindowPreferences
    logger: ILogger
    onWindowClosed: Event<Window> = ...
    onWindowClosedEmitter: Emitter<Window> = ...
    onWindowLoaded: Event<Window> = ...

    Emitted 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.

    onWindowLoadedEmitter: Emitter<Window> = ...
    onWindowOpened: Event<Window> = ...
    onWindowOpenedEmitter: Emitter<Window> = ...
    preferenceService: PreferenceService
    prefix: number = ...

    Randomized 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)

    saveResourceService: SaveableService
    secondaryWindows: Window[] = []
    windowFocusService: WindowFocusService
    windowService: WindowService
    SECONDARY_WINDOW_URL: string = 'secondary-window.html'

    secondary-window.html is part of Theia's generated code. It is generated by dev-packages/application-manager/src/generator/frontend-generator.ts

    Methods