| Public base class for configuring a workbench window.
The workbench window advisor object is created in response to a workbench
window being created (one per window), and is used to configure the window.
An application should declare a subclass of
WorkbenchWindowAdvisor and override methods to configure
workbench windows to suit the needs of the particular application.
The following advisor methods are called at strategic points in the workbench
window's lifecycle (as with the workbench advisor, all occur within the
dynamic scope of the call to
PlatformUI.createAndRunWorkbench PlatformUI.createAndRunWorkbench ):
preWindowOpen - called as the window is being opened; use
to configure aspects of the window other than actions bars
postWindowRestore - called after the window has been
recreated from a previously saved state; use to adjust the restored window
postWindowCreate - called after the window has been
created, either from an initial state or from a restored state; used to
adjust the window
openIntro - called immediately before the window is
opened in order to create the introduction component, if any.
postWindowOpen - called after the window has been opened;
use to hook window listeners, etc.
preWindowShellClose - called when the window's shell is
closed by the user; use to pre-screen window closings
author: cole.markham since: 1.0.0 |