za.co.bluesphere.sens.internal.ui
Class SENSWorkbenchWindowAdvisor
java.lang.Object
org.eclipse.ui.application.WorkbenchWindowAdvisor
za.co.bluesphere.sens.internal.ui.SENSWorkbenchWindowAdvisor
public class SENSWorkbenchWindowAdvisor
- extends org.eclipse.ui.application.WorkbenchWindowAdvisor
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):
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
- Since:
- 3.1
| Methods inherited from class org.eclipse.ui.application.WorkbenchWindowAdvisor |
createEmptyWindowContents, createWindowContents, dispose, getWindowConfigurer, openIntro, postWindowClose, postWindowCreate, postWindowRestore, preWindowShellClose, restoreState, saveState |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SENSWorkbenchWindowAdvisor
public SENSWorkbenchWindowAdvisor(org.eclipse.ui.application.IWorkbenchWindowConfigurer configurer)
- Constructor
- Parameters:
configurer -
preWindowOpen
public void preWindowOpen()
- Overrides:
preWindowOpen in class org.eclipse.ui.application.WorkbenchWindowAdvisor
createActionBarAdvisor
public org.eclipse.ui.application.ActionBarAdvisor createActionBarAdvisor(org.eclipse.ui.application.IActionBarConfigurer configurer)
- Overrides:
createActionBarAdvisor in class org.eclipse.ui.application.WorkbenchWindowAdvisor
postWindowOpen
public void postWindowOpen()
- Overrides:
postWindowOpen in class org.eclipse.ui.application.WorkbenchWindowAdvisor