Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ElectronSecondaryWindowService

Hierarchy

Index

Constructors

Properties

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)

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

Methods

  • findWindow<T>(windowName: string): undefined | Window
  • focus(win: Window): void
  • init(): void
  • nextWindowId(): string