Options
All
  • Public
  • Public/Protected
  • All
Menu

Class FrontendApplication

Hierarchy

  • FrontendApplication

Index

Constructors

Properties

backendStopwatch: BackendStopwatch
commands: CommandRegistry
corePreferences: CorePreferences
keybindings: KeybindingRegistry
layoutRestorer: ShellLayoutRestorer
stopwatch: Stopwatch
tooltipService: TooltipService
windowsService: WindowService

Accessors

Methods

  • attachShell(host: HTMLElement): void
  • attachTooltip(host: HTMLElement): void
  • createDefaultLayout(): Promise<void>
  • fireOnDidInitializeLayout(): Promise<void>
  • getHost(): Promise<HTMLElement>
  • getStartupIndicator(host: HTMLElement): undefined | HTMLElement
  • initializeLayout(): Promise<void>
  • measure<T>(name: string, fn: (() => MaybePromise<T>), message?: string, threshold?: boolean): Promise<T>
  • registerEventListeners(): void
  • restoreLayout(): Promise<boolean>
  • revealShell(host: HTMLElement): Promise<void>
  • If a startup indicator is present, it is first hidden with the theia-hidden CSS class and then removed after a while. The delay until removal is taken from the CSS transition duration.

    Parameters

    • host: HTMLElement

    Returns Promise<void>

  • start(): Promise<void>
  • Start the frontend application.

    Start up consists of the following steps:

    • start frontend contributions
    • attach the application shell to the host element
    • initialize the application shell layout
    • reveal the application shell if it was hidden by a startup indicator

    Returns Promise<void>

  • startContributions(): Promise<void>
  • stopContributions(): void