edu.rice.cs.hpc.viewer.scope.IScopeActionsGUI Interface Reference

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

List of all members.

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)

Detailed Description

Author:
laksonoadhianto

Definition at line 18 of file IScopeActionsGUI.java.


Member Function Documentation

void edu.rice.cs.hpc.viewer.scope.IScopeActionsGUI.addMetricColumns ( TreeColumn  colMetric  ) 

Add a new metric column.

Parameters:
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 
)
void edu.rice.cs.hpc.viewer.scope.IScopeActionsGUI.disableNodeButtons (  ) 
void edu.rice.cs.hpc.viewer.scope.IScopeActionsGUI.enableActions (  ) 
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).

Parameters:
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.

Parameters:
nodeParent 

Implemented in edu.rice.cs.hpc.viewer.scope.ScopeViewActionsGUI.

void edu.rice.cs.hpc.viewer.scope.IScopeActionsGUI.resetActions (  ) 
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  ) 
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

Parameters:
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.

Parameters:
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 !

Parameters:
exp 
scope 
columns 

Implemented in edu.rice.cs.hpc.viewer.scope.ScopeViewActionsGUI.

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


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

Generated on 5 May 2015 for HPCVIEWER by  doxygen 1.6.1