Optional
configureOptional
initializeOptional
initializeCalled after the application shell has been attached in case there is no previous workbench layout state. Should return a promise if it runs asynchronously.
Optional
onAn event is emitted when a layout is initialized, but before the shell is attached.
Optional
onCalled when the application is started. The application shell is not attached yet when this method runs. Should return a promise if it runs asynchronously.
Optional
onCalled when an application is stopped or unloaded.
Note that this is implemented using window.beforeunload
which doesn't allow any asynchronous code anymore.
I.e. this is the last tick.
Optional
onCalled on beforeunload
event, right before the window closes.
Return true
or an OnWillStopAction in order to prevent exit.
Note: No async code allowed, this function has to run on one tick.
Called before commands, key bindings and menus are initialized. Should return a promise if it runs asynchronously.