we set lazy virtual bit in this viewer More...
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. |
we set lazy virtual bit in this viewer
Definition at line 25 of file ScopeTreeViewer.java.
edu.rice.cs.hpc.viewer.scope.ScopeTreeViewer.ScopeTreeViewer | ( | Composite | parent | ) |
parent |
Definition at line 30 of file ScopeTreeViewer.java.
edu.rice.cs.hpc.viewer.scope.ScopeTreeViewer.ScopeTreeViewer | ( | Tree | tree | ) |
tree |
Definition at line 38 of file ScopeTreeViewer.java.
edu.rice.cs.hpc.viewer.scope.ScopeTreeViewer.ScopeTreeViewer | ( | Composite | parent, | |
int | style | |||
) |
parent | ||
style |
Definition at line 47 of file ScopeTreeViewer.java.
TreeViewerColumn edu.rice.cs.hpc.viewer.scope.ScopeTreeViewer.addTreeColumn | ( | BaseMetric | objMetric, | |
boolean | bSorted, | |||
boolean | bDisplayed | |||
) | [private] |
Add new tree column for derived metric.
treeViewer | ||
objMetric | ||
iPosition | ||
bSorted | ||
b,: | flag to indicate if this column should be displayed or not (default should be true) |
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.
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 |
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
iStartColIndex | ||
sSeparator |
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.
sListOfTexts | ||
sSeparator |
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.
item |
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 | ( | ) |
Definition at line 122 of file ScopeTreeViewer.java.
References edu.rice.cs.hpc.data.experiment.metric.BaseMetric.getMetricTextValue().
Referenced by edu.rice.cs.hpc.viewer.scope.AbstractBaseScopeView.createPartControl().
void edu.rice.cs.hpc.viewer.scope.ScopeTreeViewer.refreshElement | ( | Object | element, | |
boolean | updateLabels | |||
) |
Definition at line 209 of file ScopeTreeViewer.java.