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.
Let the frontend application contributions initialize the shell layout. Override this method in order to create an application-specific custom layout.
Return a promise to the host element to which the application shell is attached.
Return an HTML element that indicates the startup phase, e.g. with an animation or a splash screen.
Initialize the shell layout either using the layout restorer service or, if no layout has been stored, by creating the default layout.
Register composition related event listeners.
Register global event listeners.
Try to restore the shell layout from the storage service. Resolves to
true if successful.
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.
Start the frontend application.
Start up consists of the following steps:
Initialize and start the frontend application contributions.
Stop the frontend application contributions. This is called when the window is unloaded.