Theia API Documentation v1.77.0
    Preparing search index...
    Index
    container: HTMLDivElement
    containerRoot: Root
    contextMenuRenderer: ContextMenuRenderer
    corePreferences: CorePreferences
    secondaryWindowRoots: Map<Window, { container: HTMLDivElement; root: Root }> = ...
    secondaryWindowService: SecondaryWindowService
    toDispose: DisposableCollection = ...
    • Creates a notification overlay in the given secondary window.

      Both toasts and the notification center are rendered into every window (main and secondary), all driven by the same NotificationManager state. This means:

      • A toast triggered from any window appears in all windows simultaneously.
      • Toggling the notification center opens/closes it in all windows at once.

      Showing toasts everywhere ensures users don't miss notifications regardless of which window they are looking at. Per-window notification center gating is a potential future improvement.

      Parameters

      • win: Window

      Returns void