edu.rice.cs.hpc.viewer.scope.ScopeTreeViewer Class Reference

we set lazy virtual bit in this viewer More...

Inheritance diagram for edu.rice.cs.hpc.viewer.scope.ScopeTreeViewer:
Inheritance graph
[legend]
Collaboration diagram for edu.rice.cs.hpc.viewer.scope.ScopeTreeViewer:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ScopeTreeViewer (Composite parent)
 ScopeTreeViewer (Tree tree)
 ScopeTreeViewer (Composite parent, int style)
TreePath getTreePath (TreeItem item)
 Finding the path based on the treeitem information.
TreeViewerColumn addTreeColumn (BaseMetric objMetric, boolean bSorted)
 Add a new tree column into the tree viewer.
String getTextBasedOnColumnStatus (String[]sListOfTexts, String sSeparator, int startColIndex, int startTextIndex)
 Return the canocalized text from the list of elements.
String getColumnTitle (int iStartColIndex, String sSeparator)
 retrieve the title of the columns
void refreshColumnTitle ()
void refreshElement (Object element, boolean updateLabels)

Private Member Functions

TreeViewerColumn addTreeColumn (BaseMetric objMetric, boolean bSorted, boolean bDisplayed)
 Add new tree column for derived metric.

Detailed Description

we set lazy virtual bit in this viewer

Definition at line 25 of file ScopeTreeViewer.java.


Constructor & Destructor Documentation

edu.rice.cs.hpc.viewer.scope.ScopeTreeViewer.ScopeTreeViewer ( Composite  parent  ) 
Parameters:
parent 

Definition at line 30 of file ScopeTreeViewer.java.

edu.rice.cs.hpc.viewer.scope.ScopeTreeViewer.ScopeTreeViewer ( Tree  tree  ) 
Parameters:
tree 

Definition at line 38 of file ScopeTreeViewer.java.

edu.rice.cs.hpc.viewer.scope.ScopeTreeViewer.ScopeTreeViewer ( Composite  parent,
int  style 
)
Parameters:
parent 
style 

Definition at line 47 of file ScopeTreeViewer.java.


Member Function Documentation

TreeViewerColumn edu.rice.cs.hpc.viewer.scope.ScopeTreeViewer.addTreeColumn ( BaseMetric  objMetric,
boolean  bSorted,
boolean  bDisplayed 
) [private]

Add new tree column for derived metric.

Parameters:
treeViewer 
objMetric 
iPosition 
bSorted 
b,: flag to indicate if this column should be displayed or not (default should be true)
Returns:

Definition at line 180 of file ScopeTreeViewer.java.

References edu.rice.cs.hpc.viewer.scope.ColumnViewerSorter.ASC, edu.rice.cs.hpc.data.experiment.metric.BaseMetric.getDisplayName(), and edu.rice.cs.hpc.viewer.scope.ColumnViewerSorter.setSorter().

TreeViewerColumn edu.rice.cs.hpc.viewer.scope.ScopeTreeViewer.addTreeColumn ( BaseMetric  objMetric,
boolean  bSorted 
)

Add a new tree column into the tree viewer.

Parameters:
treeViewer,: tree viewer
objMetric,: new metric
iPosition,: position of the column inside the viewer (0..n-1)
bSorted,: flag if the column should be sorted or not
Returns:
the tree viewer column

Definition at line 72 of file ScopeTreeViewer.java.

Referenced by edu.rice.cs.hpc.viewer.scope.ScopeViewActions.addExtNewMetric(), and edu.rice.cs.hpc.viewer.scope.BaseScopeView.initTableColumns().

String edu.rice.cs.hpc.viewer.scope.ScopeTreeViewer.getColumnTitle ( int  iStartColIndex,
String  sSeparator 
)

retrieve the title of the columns

Parameters:
iStartColIndex 
sSeparator 
Returns:

Definition at line 104 of file ScopeTreeViewer.java.

References edu.rice.cs.hpc.viewer.scope.ScopeTreeViewer.getTextBasedOnColumnStatus().

Referenced by edu.rice.cs.hpc.viewer.scope.ScopeViewActionsGUI.exportCSV().

String edu.rice.cs.hpc.viewer.scope.ScopeTreeViewer.getTextBasedOnColumnStatus ( String[]  sListOfTexts,
String  sSeparator,
int  startColIndex,
int  startTextIndex 
)

Return the canocalized text from the list of elements.

Parameters:
sListOfTexts 
sSeparator 
Returns:

Definition at line 84 of file ScopeTreeViewer.java.

Referenced by edu.rice.cs.hpc.viewer.scope.ScopeViewActionsGUI.exportCSV(), edu.rice.cs.hpc.viewer.scope.ScopeTreeViewer.getColumnTitle(), and edu.rice.cs.hpc.viewer.scope.ScopeViewActions.getContent().

TreePath edu.rice.cs.hpc.viewer.scope.ScopeTreeViewer.getTreePath ( TreeItem  item  ) 

Finding the path based on the treeitem information.

Parameters:
item 
Returns:

Definition at line 60 of file ScopeTreeViewer.java.

Referenced by edu.rice.cs.hpc.viewer.scope.ScopeViewActions.getHotCallPath().

void edu.rice.cs.hpc.viewer.scope.ScopeTreeViewer.refreshColumnTitle (  ) 
void edu.rice.cs.hpc.viewer.scope.ScopeTreeViewer.refreshElement ( Object  element,
boolean  updateLabels 
)

Definition at line 209 of file ScopeTreeViewer.java.


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

Generated on 5 May 2015 for HPCVIEWER by  doxygen 1.6.1