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
ProtectedattachTooltip
attachTooltip(host): void
Attach the tooltip container to the host element.
Parameters
host: HTMLElement
Returns void
ProtectedcreateDefaultLayout
createDefaultLayout(): Promise<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>
ProtectedfireOnDidInitializeLayout
fireOnDidInitializeLayout(): Promise<void>
Returns Promise<void>
ProtectedgetHost
getHost(): Promise<HTMLElement>
Return a promise to the host element to which the application shell is attached.
Try to restore the shell layout from the storage service. Resolves to true if successful.
Returns Promise<boolean>
ProtectedrevealShell
revealShell(host): 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
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>
ProtectedstartContributions
startContributions(): Promise<void>
Initialize and start the frontend application contributions.
Returns Promise<void>
ProtectedstopContributions
stopContributions(): void
Stop the frontend application contributions. This is called when the window is unloaded.
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.