Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ElectronMainApplication

Hierarchy

  • ElectronMainApplication

Index

Properties

Protected Readonly _backendPort

_backendPort: Deferred<number> = new Deferred<number>()

Protected _config

_config: FrontendApplicationConfig | undefined

Readonly backendPort

backendPort: Promise<number> = this._backendPort.promise

Protected Readonly contributions

Protected Readonly electronSecurityToken

electronSecurityToken: ElectronSecurityToken

Protected electronSecurityTokenService

electronSecurityTokenService: ElectronSecurityTokenService

Protected Readonly electronStore

electronStore: ElectronStore<any> = new Storage()

Protected Readonly globals

Protected processArgv

Accessors

config

  • get config(): FrontendApplicationConfig

Methods

Protected attachElectronSecurityToken

  • attachElectronSecurityToken(port: number): Promise<void>

Protected attachGlobalShortcuts

  • attachGlobalShortcuts(electronWindow: BrowserWindow): void

Protected attachReadyToShow

  • attachReadyToShow(electronWindow: BrowserWindow): void

Protected attachSaveWindowState

  • attachSaveWindowState(electronWindow: BrowserWindow): void

createWindow

Protected createWindowUri

  • createWindowUri(): Promise<URI>

Protected getDefaultBrowserWindowOptions

Protected getDefaultWindowState

  • getDefaultWindowState(): BrowserWindowConstructorOptions

Protected getForkOptions

  • getForkOptions(): Promise<ForkOptions>

Protected handleMainCommand

Protected hookApplicationEvents

  • hookApplicationEvents(): void

Protected launch

Protected onSecondInstance

  • onSecondInstance(event: ElectronEvent, argv: string[], cwd: string): Promise<void>

Protected onWillQuit

  • onWillQuit(event: ElectronEvent): void

Protected onWindowAllClosed

  • onWindowAllClosed(event: ElectronEvent): void

Protected openDefaultWindow

  • openDefaultWindow(): Promise<BrowserWindow>

Protected openWindowWithWorkspace

  • openWindowWithWorkspace(workspacePath: string): Promise<BrowserWindow>

requestStop

  • requestStop(): void

Protected restoreMaximizedState

start

  • start(config: FrontendApplicationConfig): Promise<void>

Protected startBackend

  • startBackend(): Promise<number>

Protected startContributions

  • startContributions(): Promise<void>

Protected stopContributions

  • stopContributions(): void