org.radrails.ide.ui
Class RadRailsWorkbenchWindowAdvisor

java.lang.Object
  extended byorg.eclipse.ui.application.WorkbenchWindowAdvisor
      extended byorg.radrails.ide.ui.RadRailsWorkbenchWindowAdvisor

public class RadRailsWorkbenchWindowAdvisor
extends org.eclipse.ui.application.WorkbenchWindowAdvisor

This class specifies which components to draw on the main IDE, including the perspective bar, fast view bar, and status bar. This also allows for modification to the window's size, location, title bar, etc.

Author:
mbaumbach

Field Summary
static java.lang.String RAILS_TOOLBAR_GROUP
           
 
Constructor Summary
RadRailsWorkbenchWindowAdvisor(org.eclipse.ui.application.IWorkbenchWindowConfigurer configurer)
          Creates a new RadRailsWorkbenchWindowAdvisor.
 
Method Summary
 org.eclipse.ui.application.ActionBarAdvisor createActionBarAdvisor(org.eclipse.ui.application.IActionBarConfigurer configurer)
           
 void postWindowCreate()
           
 void preWindowOpen()
           
 
Methods inherited from class org.eclipse.ui.application.WorkbenchWindowAdvisor
createEmptyWindowContents, createWindowContents, dispose, openIntro, postWindowClose, postWindowOpen, postWindowRestore, preWindowShellClose, restoreState, saveState
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RAILS_TOOLBAR_GROUP

public static final java.lang.String RAILS_TOOLBAR_GROUP
See Also:
Constant Field Values
Constructor Detail

RadRailsWorkbenchWindowAdvisor

public RadRailsWorkbenchWindowAdvisor(org.eclipse.ui.application.IWorkbenchWindowConfigurer configurer)
Creates a new RadRailsWorkbenchWindowAdvisor. Used to specify the UI components to display on the workbench window.

Parameters:
configurer - The configurer used to configurer the workbench window.
Method Detail

createActionBarAdvisor

public org.eclipse.ui.application.ActionBarAdvisor createActionBarAdvisor(org.eclipse.ui.application.IActionBarConfigurer configurer)
See Also:
WorkbenchWindowAdvisor.createActionBarAdvisor(org.eclipse.ui.application.IActionBarConfigurer)

preWindowOpen

public void preWindowOpen()
See Also:
WorkbenchWindowAdvisor.preWindowOpen()

postWindowCreate

public void postWindowCreate()
See Also:
WorkbenchWindowAdvisor.postWindowCreate()