Public Member Functions | |
Composite | buildGUI (Composite parent, CoolBar coolbar) |
Method to start to build the GUI for the actions. | |
void | updateContent (Experiment exp, RootScope scope) |
IMPORTANT: need to call this method once the content of tree is changed ! Warning: call only this method when the tree has been populated ! | |
void | setTreeViewer (ScopeTreeViewer tree) |
Set the new tree viewer. | |
void | showWarningMessagge (String sMsg) |
Show a warning message (with yellow background). | |
void | restoreMessage () |
Restore the message bar into the original state. | |
void | showErrorMessage (String sMsg) |
Show an error message on the message bar. | |
void | showInfoMessage (String sMsg) |
Show the information on the message bar. | |
void | enableZoomIn (boolean enabled) |
Check zoom buttons (zoom out and zoom in). | |
void | enableZoomOut (boolean enabled) |
void | enableHotCallPath (boolean enabled) |
void | disableNodeButtons () |
Disable actions that need a selected node. | |
void | resetActions () |
Reset the button and actions into disabled state. | |
void | enableActions () |
Enable the some actions (resize and column properties) actions for this view. | |
void | insertParentNode (Scope nodeParent) |
Inserting a "node header" on the top of the table to display either aggregate metrics or "parent" node (due to zoom-in) TODO: we need to shift to the left a little bit. | |
void | addMetricColumns (TreeColumn colMetric) |
Add a new metric column. | |
void | resizeTableColumns () |
Resize the columns automatically ATT: Please call this method once the data has been populated. | |
void | setColumnsStatus (boolean[]status) |
Definition at line 18 of file IScopeActionsGUI.java.
void edu.rice.cs.hpc.viewer.scope.IScopeActionsGUI.addMetricColumns | ( | TreeColumn | colMetric | ) |
Add a new metric column.
colMetric |
Implemented in edu.rice.cs.hpc.viewer.scope.ScopeViewActionsGUI.
Referenced by edu.rice.cs.hpc.viewer.scope.ScopeViewActions.addTreeColumn().
Composite edu.rice.cs.hpc.viewer.scope.IScopeActionsGUI.buildGUI | ( | Composite | parent, | |
CoolBar | coolbar | |||
) |
Method to start to build the GUI for the actions.
parent |
Implemented in edu.rice.cs.hpc.viewer.scope.CallingContextActionsGUI, edu.rice.cs.hpc.viewer.scope.flat.FlatScopeViewActionsGUI, and edu.rice.cs.hpc.viewer.scope.ScopeViewActionsGUI.
Referenced by edu.rice.cs.hpc.viewer.scope.flat.FlatScopeViewActions.createGUI(), edu.rice.cs.hpc.viewer.scope.CallingContextViewActions.createGUI(), and edu.rice.cs.hpc.viewer.scope.BaseScopeViewActions.createGUI().
void edu.rice.cs.hpc.viewer.scope.IScopeActionsGUI.disableNodeButtons | ( | ) |
Disable actions that need a selected node.
Implemented in edu.rice.cs.hpc.viewer.scope.ScopeViewActionsGUI.
Referenced by edu.rice.cs.hpc.viewer.scope.ScopeViewActions.checkNodeButtons(), and edu.rice.cs.hpc.viewer.scope.ScopeViewActions.disableButtons().
void edu.rice.cs.hpc.viewer.scope.IScopeActionsGUI.enableActions | ( | ) |
Enable the some actions (resize and column properties) actions for this view.
Implemented in edu.rice.cs.hpc.viewer.scope.CallingContextActionsGUI, edu.rice.cs.hpc.viewer.scope.flat.FlatScopeViewActionsGUI, and edu.rice.cs.hpc.viewer.scope.ScopeViewActionsGUI.
void edu.rice.cs.hpc.viewer.scope.IScopeActionsGUI.enableHotCallPath | ( | boolean | enabled | ) |
void edu.rice.cs.hpc.viewer.scope.IScopeActionsGUI.enableZoomIn | ( | boolean | enabled | ) |
Check zoom buttons (zoom out and zoom in).
node,: | the current selected node |
Implemented in edu.rice.cs.hpc.viewer.scope.ScopeViewActionsGUI.
Referenced by edu.rice.cs.hpc.viewer.scope.flat.FlatScopeViewActions.checkStates(), and edu.rice.cs.hpc.viewer.scope.BaseScopeViewActions.checkStates().
void edu.rice.cs.hpc.viewer.scope.IScopeActionsGUI.enableZoomOut | ( | boolean | enabled | ) |
void edu.rice.cs.hpc.viewer.scope.IScopeActionsGUI.insertParentNode | ( | Scope | nodeParent | ) |
Inserting a "node header" on the top of the table to display either aggregate metrics or "parent" node (due to zoom-in) TODO: we need to shift to the left a little bit.
nodeParent |
Implemented in edu.rice.cs.hpc.viewer.scope.ScopeViewActionsGUI.
void edu.rice.cs.hpc.viewer.scope.IScopeActionsGUI.resetActions | ( | ) |
Reset the button and actions into disabled state.
Implemented in edu.rice.cs.hpc.viewer.scope.flat.FlatScopeViewActionsGUI, and edu.rice.cs.hpc.viewer.scope.ScopeViewActionsGUI.
void edu.rice.cs.hpc.viewer.scope.IScopeActionsGUI.resizeTableColumns | ( | ) |
Resize the columns automatically ATT: Please call this method once the data has been populated.
Implemented in edu.rice.cs.hpc.viewer.scope.ScopeViewActionsGUI.
Referenced by edu.rice.cs.hpc.viewer.scope.ScopeViewActions.resizeColumns().
void edu.rice.cs.hpc.viewer.scope.IScopeActionsGUI.restoreMessage | ( | ) |
Restore the message bar into the original state.
Implemented in edu.rice.cs.hpc.viewer.scope.ScopeViewActionsGUI.
Referenced by edu.rice.cs.hpc.viewer.scope.ScopeViewActions.RestoreMessageThread.run().
void edu.rice.cs.hpc.viewer.scope.IScopeActionsGUI.setColumnsStatus | ( | boolean[] | status | ) |
void edu.rice.cs.hpc.viewer.scope.IScopeActionsGUI.setTreeViewer | ( | ScopeTreeViewer | tree | ) |
Set the new tree viewer.
tree |
Implemented in edu.rice.cs.hpc.viewer.scope.ScopeViewActionsGUI.
Referenced by edu.rice.cs.hpc.viewer.scope.ScopeViewActions.setTreeViewer().
void edu.rice.cs.hpc.viewer.scope.IScopeActionsGUI.showErrorMessage | ( | String | sMsg | ) |
Show an error message on the message bar.
It is the caller responsibility to remove the message
sMsg |
Implemented in edu.rice.cs.hpc.viewer.scope.ScopeViewActionsGUI.
Referenced by edu.rice.cs.hpc.viewer.scope.ScopeViewActions.showErrorMessage().
void edu.rice.cs.hpc.viewer.scope.IScopeActionsGUI.showInfoMessage | ( | String | sMsg | ) |
Show the information on the message bar.
sMsg |
Implemented in edu.rice.cs.hpc.viewer.scope.ScopeViewActionsGUI.
Referenced by edu.rice.cs.hpc.viewer.scope.ScopeViewActions.showInfoMessage().
void edu.rice.cs.hpc.viewer.scope.IScopeActionsGUI.showWarningMessagge | ( | String | sMsg | ) |
Show a warning message (with yellow background).
The caller has to remove the message and restore it to the original state by calling restoreMessage() method
Implemented in edu.rice.cs.hpc.viewer.scope.ScopeViewActionsGUI.
void edu.rice.cs.hpc.viewer.scope.IScopeActionsGUI.updateContent | ( | Experiment | exp, | |
RootScope | scope | |||
) |
IMPORTANT: need to call this method once the content of tree is changed ! Warning: call only this method when the tree has been populated !
exp | ||
scope | ||
columns |
Implemented in edu.rice.cs.hpc.viewer.scope.ScopeViewActionsGUI.
Referenced by edu.rice.cs.hpc.viewer.scope.ScopeViewActions.updateContent().