Base class for hpcviewer editor to display graph. More...
Public Member Functions | |
void | doSave (IProgressMonitor monitor) |
void | doSaveAs () |
void | init (IEditorSite site, IEditorInput input) throws PartInitException |
boolean | isDirty () |
boolean | isSaveAsAllowed () |
void | setFocus () |
void | finalize () |
void | createPartControl (Composite parent) |
String | getEditorPartName () |
void | setEditorPartName (String title) |
Experiment | getExperiment () |
Protected Member Functions | |
Chart | getChart () |
abstract void | plotData (Scope scope, MetricRaw metric) |
method to plot a graph of a specific scope and metric of an experiment | |
Protected Attributes | |
ThreadLevelDataManager | threadData |
Private Attributes | |
Chart | chart |
Base class for hpcviewer editor to display graph.
The class implements IViewerEditor, so it can be renamed, manipulated and changed by the viewer manager
Definition at line 32 of file GraphEditorBase.java.
void edu.rice.cs.hpc.viewer.graph.GraphEditorBase.createPartControl | ( | Composite | parent | ) |
Definition at line 103 of file GraphEditorBase.java.
References edu.rice.cs.hpc.viewer.graph.GraphEditorBase.chart, edu.rice.cs.hpc.viewer.graph.GraphEditorInput.getMetric(), edu.rice.cs.hpc.viewer.graph.GraphEditorInput.getName(), edu.rice.cs.hpc.viewer.graph.GraphEditorInput.getScope(), edu.rice.cs.hpc.viewer.graph.GraphEditorBase.plotData(), and edu.rice.cs.hpc.viewer.util.WindowTitle.setEditorTitle().
void edu.rice.cs.hpc.viewer.graph.GraphEditorBase.doSave | ( | IProgressMonitor | monitor | ) |
Definition at line 41 of file GraphEditorBase.java.
void edu.rice.cs.hpc.viewer.graph.GraphEditorBase.doSaveAs | ( | ) |
Definition at line 46 of file GraphEditorBase.java.
void edu.rice.cs.hpc.viewer.graph.GraphEditorBase.finalize | ( | ) |
Definition at line 87 of file GraphEditorBase.java.
References edu.rice.cs.hpc.viewer.graph.GraphEditorBase.getChart().
Chart edu.rice.cs.hpc.viewer.graph.GraphEditorBase.getChart | ( | ) | [protected] |
Definition at line 166 of file GraphEditorBase.java.
References edu.rice.cs.hpc.viewer.graph.GraphEditorBase.chart.
Referenced by edu.rice.cs.hpc.viewer.graph.GraphEditorBase.finalize(), edu.rice.cs.hpc.viewer.graph.GraphEditorPlot.getXAxisTitle(), edu.rice.cs.hpc.viewer.graph.GraphEditorHisto.plotData(), edu.rice.cs.hpc.viewer.graph.GraphEditor.plotData(), and edu.rice.cs.hpc.viewer.graph.GraphEditor.refresh().
String edu.rice.cs.hpc.viewer.graph.GraphEditorBase.getEditorPartName | ( | ) |
Implements edu.rice.cs.hpc.viewer.editor.IViewerEditor.
Definition at line 145 of file GraphEditorBase.java.
References edu.rice.cs.hpc.viewer.graph.GraphEditorInput.getName().
Experiment edu.rice.cs.hpc.viewer.graph.GraphEditorBase.getExperiment | ( | ) |
Implements edu.rice.cs.hpc.viewer.editor.IViewerEditor.
Definition at line 160 of file GraphEditorBase.java.
References edu.rice.cs.hpc.viewer.graph.GraphEditorInput.getDatabase(), and edu.rice.cs.hpc.viewer.window.Database.getExperiment().
void edu.rice.cs.hpc.viewer.graph.GraphEditorBase.init | ( | IEditorSite | site, | |
IEditorInput | input | |||
) | throws PartInitException |
boolean edu.rice.cs.hpc.viewer.graph.GraphEditorBase.isDirty | ( | ) |
Definition at line 64 of file GraphEditorBase.java.
boolean edu.rice.cs.hpc.viewer.graph.GraphEditorBase.isSaveAsAllowed | ( | ) |
Definition at line 69 of file GraphEditorBase.java.
abstract void edu.rice.cs.hpc.viewer.graph.GraphEditorBase.plotData | ( | Scope | scope, | |
MetricRaw | metric | |||
) | [protected, pure virtual] |
method to plot a graph of a specific scope and metric of an experiment
Implemented in edu.rice.cs.hpc.viewer.graph.GraphEditor, and edu.rice.cs.hpc.viewer.graph.GraphEditorHisto.
Referenced by edu.rice.cs.hpc.viewer.graph.GraphEditorBase.createPartControl().
void edu.rice.cs.hpc.viewer.graph.GraphEditorBase.setEditorPartName | ( | String | title | ) |
Implements edu.rice.cs.hpc.viewer.editor.IViewerEditor.
Definition at line 151 of file GraphEditorBase.java.
void edu.rice.cs.hpc.viewer.graph.GraphEditorBase.setFocus | ( | ) |
Definition at line 76 of file GraphEditorBase.java.
Chart edu.rice.cs.hpc.viewer.graph.GraphEditorBase.chart [private] |
Definition at line 35 of file GraphEditorBase.java.
Referenced by edu.rice.cs.hpc.viewer.graph.GraphEditorBase.createPartControl(), edu.rice.cs.hpc.viewer.graph.GraphEditorBase.getChart(), edu.rice.cs.hpc.viewer.graph.GraphEditorHisto.plotData(), edu.rice.cs.hpc.viewer.graph.GraphEditor.plotData(), and edu.rice.cs.hpc.viewer.graph.GraphEditor.refresh().
Definition at line 38 of file GraphEditorBase.java.
Referenced by edu.rice.cs.hpc.viewer.graph.GraphEditorBase.init(), edu.rice.cs.hpc.viewer.graph.GraphEditorHisto.plotData(), and edu.rice.cs.hpc.viewer.graph.GraphEditor.plotData().