edu.rice.cs.hpc.viewer.experiment.ExperimentView Class Reference

Collaboration diagram for edu.rice.cs.hpc.viewer.experiment.ExperimentView:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ExperimentView (IWorkbenchPage objTarget)
 Constructor for Data experiment.
boolean loadExperimentAndProcess (String sFilename, boolean bCallerView)
 A wrapper of loadExperiment() by adding some processing and generate the views.
boolean loadExperimentAndProcess (String sFilename)
 A wrapper of loadExperiment() by adding some processing and generate the views The routine will first look at the user preference for displaying caller view Then call the normal loadExperimentAndProcess routine.
Experiment loadExperiment (String sFilename, boolean bCallerView)
 Load an XML experiment file based on the filename (uncheck for its inexistence) This method will display errors whenever encountered.
BaseScopeView[] getViews ()
 Retrieve the list of all used views.
void setViews (BaseScopeView[] views)
void generateView (Experiment experiment)
 Generate multiple views for an experiment depending on the number of root scopes.

Static Public Member Functions

static BaseScopeView openView (IWorkbenchPage page, RootScope root, String secondaryID, Database db, int viewState) throws PartInitException

Protected Attributes

BaseScopeView[] arrScopeViews
 List of registered views in the current experiment.

Private Attributes

IWorkbenchPage objPage

Static Private Attributes

static final int VIEW_STATE_INIT = -1

Detailed Description

Definition at line 32 of file ExperimentView.java.


Constructor & Destructor Documentation

edu.rice.cs.hpc.viewer.experiment.ExperimentView.ExperimentView ( IWorkbenchPage  objTarget  ) 

Constructor for Data experiment.

Needed to link with the view

Parameters:
objTarget,: the scope view to link with

Definition at line 46 of file ExperimentView.java.

References edu.rice.cs.hpc.viewer.experiment.ExperimentView.objPage.


Member Function Documentation

void edu.rice.cs.hpc.viewer.experiment.ExperimentView.generateView ( Experiment  experiment  ) 
BaseScopeView [] edu.rice.cs.hpc.viewer.experiment.ExperimentView.getViews (  ) 

Retrieve the list of all used views.

Returns:
list of views

Definition at line 153 of file ExperimentView.java.

References edu.rice.cs.hpc.viewer.experiment.ExperimentView.arrScopeViews.

Referenced by edu.rice.cs.hpc.viewer.actions.ShowView.execute().

Experiment edu.rice.cs.hpc.viewer.experiment.ExperimentView.loadExperiment ( String  sFilename,
boolean  bCallerView 
)

Load an XML experiment file based on the filename (uncheck for its inexistence) This method will display errors whenever encountered.

This method does not include post-processing and generating scope views

Parameters:
sFilename,: the xml experiment file

Definition at line 107 of file ExperimentView.java.

References edu.rice.cs.hpc.data.experiment.InvalExperimentException.getLineNumber(), edu.rice.cs.hpc.viewer.experiment.ExperimentView.objPage, and edu.rice.cs.hpc.data.experiment.Experiment.open().

Referenced by edu.rice.cs.hpc.viewer.experiment.ExperimentView.loadExperimentAndProcess().

boolean edu.rice.cs.hpc.viewer.experiment.ExperimentView.loadExperimentAndProcess ( String  sFilename  ) 

A wrapper of loadExperiment() by adding some processing and generate the views The routine will first look at the user preference for displaying caller view Then call the normal loadExperimentAndProcess routine.

Parameters:
sFilename 

Definition at line 95 of file ExperimentView.java.

References edu.rice.cs.hpc.viewer.experiment.ExperimentView.loadExperimentAndProcess().

boolean edu.rice.cs.hpc.viewer.experiment.ExperimentView.loadExperimentAndProcess ( String  sFilename,
boolean  bCallerView 
)
static BaseScopeView edu.rice.cs.hpc.viewer.experiment.ExperimentView.openView ( IWorkbenchPage  page,
RootScope  root,
String  secondaryID,
Database  db,
int  viewState 
) throws PartInitException [static]
void edu.rice.cs.hpc.viewer.experiment.ExperimentView.setViews ( BaseScopeView[]  views  ) 

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