Theia API Documentation v1.77.0
    Preparing search index...
    Index
    backendStopwatch: BackendStopwatch
    commands: CommandRegistry
    corePreferences: CorePreferences
    keybindings: KeybindingRegistry
    layoutRestorer: ShellLayoutRestorer
    logger: ILogger
    stopwatch: Stopwatch
    tooltipService: TooltipService
    windowsService: WindowService
    • Attach the application shell to the host element. If a startup indicator is present, the shell is inserted before that indicator so it is not visible yet.

      Parameters

      • host: HTMLElement

      Returns void

    • Let the frontend application contributions initialize the shell layout. Override this method in order to create an application-specific custom layout.

      Returns Promise<void>

    • Return an HTML element that indicates the startup phase, e.g. with an animation or a splash screen.

      Parameters

      • host: HTMLElement

      Returns HTMLElement | undefined

    • If a startup indicator is present, it is hidden with the theia-hidden CSS class, which starts its fade-out transition, and removed from the DOM once the CSS transition duration has elapsed.

      The returned promise resolves as soon as the fade-out has started, not when the indicator has been removed, so that the application reaches the ready state without waiting for the animation.

      Parameters

      • host: HTMLElement

      Returns 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>