za.co.bluesphere.sens.internal.ui
Class SENSWorkbenchWindowAdvisor

java.lang.Object
  extended by org.eclipse.ui.application.WorkbenchWindowAdvisor
      extended by 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):

Since:
3.1

Constructor Summary
SENSWorkbenchWindowAdvisor(org.eclipse.ui.application.IWorkbenchWindowConfigurer configurer)
          Constructor
 
Method Summary
 org.eclipse.ui.application.ActionBarAdvisor createActionBarAdvisor(org.eclipse.ui.application.IActionBarConfigurer configurer)
           
 void postWindowOpen()
           
 void preWindowOpen()
           
 
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
 

Constructor Detail

SENSWorkbenchWindowAdvisor

public SENSWorkbenchWindowAdvisor(org.eclipse.ui.application.IWorkbenchWindowConfigurer configurer)
Constructor

Parameters:
configurer -
Method Detail

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