Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DefaultSecondaryWindowService

Hierarchy

Implements

Index

Constructors

Properties

nextId: number = 0

Unique id. Increase after every access.

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