edu.rice.cs.hpc.viewer.framework.ApplicationWorkbenchWindowAdvisor Class Reference

Inheritance diagram for edu.rice.cs.hpc.viewer.framework.ApplicationWorkbenchWindowAdvisor:
Inheritance graph
[legend]
Collaboration diagram for edu.rice.cs.hpc.viewer.framework.ApplicationWorkbenchWindowAdvisor:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ApplicationWorkbenchWindowAdvisor (IWorkbenchWindowConfigurer configurer, String[]args)
 Creates a new workbench window advisor for configuring a workbench window via the given workbench window configurer Retrieve the RCP's arguments and verify if it contains database to open.
ActionBarAdvisor createActionBarAdvisor (IActionBarConfigurer configurer)
 Creates a new action bar advisor to configure the action bars of the window via the given action bar configurer.
void preWindowOpen ()
 Performs arbitrary actions before the window is opened.
void postWindowOpen ()
 Action when the window is already opened.
boolean preWindowShellClose ()
 Performs arbitrary actions as the window's shell is being closed directly, and possibly veto the close.
void postWindowCreate ()
 Laksono 2009.02.11: removing unwanted menus.

Private Member Functions

void openDatabase (boolean withCallerView)
 Open an experiment database.
void removeViews ()
void removeViews (IWorkbenchPage page)
void closeAllEditors ()
 Close all editors in the current active page.
int getFlag (boolean withCallerView)
 return the flag to indicate if a caller view needs to be displayed or not
void shutdownEvent (IWorkbench workbench, final IWorkbenchPage pageCurrent)
 add a shutdown event to the workbench

Private Attributes

String[] sArgs = null
final IWorkbench workbench
final IWorkbenchWindow window

Detailed Description

Definition at line 33 of file ApplicationWorkbenchWindowAdvisor.java.


Constructor & Destructor Documentation

edu.rice.cs.hpc.viewer.framework.ApplicationWorkbenchWindowAdvisor.ApplicationWorkbenchWindowAdvisor ( IWorkbenchWindowConfigurer  configurer,
String[]  args 
)

Creates a new workbench window advisor for configuring a workbench window via the given workbench window configurer Retrieve the RCP's arguments and verify if it contains database to open.

Parameters:
configurer 
args 

Definition at line 46 of file ApplicationWorkbenchWindowAdvisor.java.

References edu.rice.cs.hpc.viewer.framework.ApplicationWorkbenchWindowAdvisor.sArgs, edu.rice.cs.hpc.viewer.framework.ApplicationWorkbenchWindowAdvisor.window, and edu.rice.cs.hpc.viewer.framework.ApplicationWorkbenchWindowAdvisor.workbench.


Member Function Documentation

void edu.rice.cs.hpc.viewer.framework.ApplicationWorkbenchWindowAdvisor.closeAllEditors (  )  [private]
ActionBarAdvisor edu.rice.cs.hpc.viewer.framework.ApplicationWorkbenchWindowAdvisor.createActionBarAdvisor ( IActionBarConfigurer  configurer  ) 

Creates a new action bar advisor to configure the action bars of the window via the given action bar configurer.

The default implementation returns a new instance of ActionBarAdvisor

Definition at line 57 of file ApplicationWorkbenchWindowAdvisor.java.

int edu.rice.cs.hpc.viewer.framework.ApplicationWorkbenchWindowAdvisor.getFlag ( boolean  withCallerView  )  [private]

return the flag to indicate if a caller view needs to be displayed or not

Parameters:
withCallerView 
Returns:

Definition at line 234 of file ApplicationWorkbenchWindowAdvisor.java.

Referenced by edu.rice.cs.hpc.viewer.framework.ApplicationWorkbenchWindowAdvisor.openDatabase(), and edu.rice.cs.hpc.viewer.framework.ApplicationWorkbenchWindowAdvisor.postWindowOpen().

void edu.rice.cs.hpc.viewer.framework.ApplicationWorkbenchWindowAdvisor.openDatabase ( boolean  withCallerView  )  [private]
void edu.rice.cs.hpc.viewer.framework.ApplicationWorkbenchWindowAdvisor.postWindowCreate (  ) 

Laksono 2009.02.11: removing unwanted menus.

Definition at line 288 of file ApplicationWorkbenchWindowAdvisor.java.

void edu.rice.cs.hpc.viewer.framework.ApplicationWorkbenchWindowAdvisor.postWindowOpen (  ) 
void edu.rice.cs.hpc.viewer.framework.ApplicationWorkbenchWindowAdvisor.preWindowOpen (  ) 
boolean edu.rice.cs.hpc.viewer.framework.ApplicationWorkbenchWindowAdvisor.preWindowShellClose (  ) 
void edu.rice.cs.hpc.viewer.framework.ApplicationWorkbenchWindowAdvisor.removeViews ( IWorkbenchPage  page  )  [private]

Definition at line 212 of file ApplicationWorkbenchWindowAdvisor.java.

void edu.rice.cs.hpc.viewer.framework.ApplicationWorkbenchWindowAdvisor.removeViews (  )  [private]
void edu.rice.cs.hpc.viewer.framework.ApplicationWorkbenchWindowAdvisor.shutdownEvent ( IWorkbench  workbench,
final IWorkbenchPage  pageCurrent 
) [private]

Member Data Documentation


The documentation for this class was generated from the following file:

Generated on 5 May 2015 for HPCVIEWER by  doxygen 1.6.1