Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ElectronMainApplication

Hierarchy

  • ElectronMainApplication

Index

Constructors

Properties

_backendPort: Deferred<number> = ...
_config: undefined | RequiredRecursive<Partial>
backendPort: Promise<number> = ...
didUseNativeWindowFrameOnStart: Map<number, boolean> = ...
electronSecurityToken: ElectronSecurityToken
electronSecurityTokenService: ElectronSecurityTokenService
electronStore: ElectronStore<{ windowstate?: TheiaBrowserWindowOptions }> = ...
restarting: boolean = false
useNativeWindowFrame: boolean = true
windows: Map<number, TheiaElectronWindow> = ...

Accessors

  • get config(): RequiredRecursive<Partial>

Methods

  • attachElectronSecurityToken(port: number): Promise<void>
  • attachSaveWindowState(electronWindow: BrowserWindow): void
  • createWindowUri(): Promise<URI>
  • getCurrentScreenLayout(): string
  • getForkOptions(): Promise<ForkOptions>
  • getTitleBarStyle(config: RequiredRecursive<Partial>): "native" | "custom"
  • hookApplicationEvents(): void
  • onSecondInstance(event: Event, argv: string[], cwd: string): Promise<void>
  • onWillQuit(event: Event): void
  • onWindowAllClosed(event: Event): void
  • openDefaultWindow(): Promise<BrowserWindow>
  • openWindowWithWorkspace(workspacePath: string): Promise<BrowserWindow>
  • requestStop(): void
  • restart(id: number): Promise<void>
  • saveWindowState(electronWindow: BrowserWindow): void
  • start(config: RequiredRecursive<Partial>): Promise<void>
  • startBackend(): Promise<number>
  • startContributions(): Promise<void>
  • stopContributions(): void