edu.rice.cs.hpc.viewer.scope.topdown.ScopeView Class Reference

Basic class for scope views: calling context and caller view. More...

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

List of all members.

Public Member Functions

int getSelectedColumn ()
void dispose ()
void updateDisplay ()
 Tell children to update the content with the new database Update the content of the tree view when a new experiment is loaded.
void createPartControl (Composite aParent)
 Create the content of the view.
void setInput (Database db, RootScope scope, boolean keepColumnStatus)
 Update the data input for Scope View, depending also on the scope.
void initDatabase (Database db, RootScope scope, boolean keepColumnStatus)
void setViewTitle (String sName)
 Modify the title of the view.
void setFocus ()
ScopeViewActions getViewActions ()
ScopeTreeViewer getTreeViewer ()
 return the tree of this viewer (even though there's no experiment active)
Experiment getExperiment ()
RootScope getRootScope ()
Database getDatabase ()

Static Public Attributes

static final String ID = "edu.rice.cs.hpc.viewer.scope.ScopeView"

Protected Member Functions

ScopeViewActions createActions (Composite parent, CoolBar coolbar)
 The derived class has to implement this method to create its own actions For instance, caller view and cct view has the same actions but flat view may have additional actions (flattening .
CellLabelProvider getLabelProvider ()
void mouseDownEvent (Event event)
void createAdditionalContextMenu (IMenuManager mgr, Scope scope)
AbstractContentProvider getScopeContentProvider ()
void updateDatabase (Experiment newDatabase)
 Tell children to update the content with the new database.
void enableFilter (boolean isEnabled)
 --------------------------------------------- filter feature ---------------------------------------------
void initTableColumns (boolean keepColumnStatus)
Composite createToolBarArea (Composite parent)
 Create the toolbar layout.
CoolBar initToolbar (Composite toolbarArea)
 Create and Initialize coolbar, set the layout and return the coolbar.

Protected Attributes

ScopeTreeViewer treeViewer
Database database
RootScope myRootScope
ColumnViewerSorter sorterTreeColumn
ScopeViewActions objViewActions
CoolBar objCoolbar
 bar composite for placing toolbar and tool items

Private Member Functions

int getColumnMouseDown (Event event)
 Find which column the user has clicked.

Private Attributes

GraphMenu graphMenu
int lastClickColumn = -1

Detailed Description

Basic class for scope views: calling context and caller view.

Author:
laksonoadhianto

Definition at line 25 of file ScopeView.java.


Member Function Documentation

ScopeViewActions edu.rice.cs.hpc.viewer.scope.topdown.ScopeView.createActions ( Composite  parent,
CoolBar  coolbar 
) [protected, virtual]

The derived class has to implement this method to create its own actions For instance, caller view and cct view has the same actions but flat view may have additional actions (flattening .

..)

Parameters:
parent 
coolbar 
Returns:

Implements edu.rice.cs.hpc.viewer.scope.AbstractBaseScopeView.

Definition at line 43 of file ScopeView.java.

References edu.rice.cs.hpc.viewer.scope.topdown.ScopeView.graphMenu.

void edu.rice.cs.hpc.viewer.scope.topdown.ScopeView.createAdditionalContextMenu ( IMenuManager  mgr,
Scope  scope 
) [protected, virtual]
void edu.rice.cs.hpc.viewer.scope.AbstractBaseScopeView.createPartControl ( Composite  aParent  )  [inherited]
Composite edu.rice.cs.hpc.viewer.scope.AbstractBaseScopeView.createToolBarArea ( Composite  parent  )  [protected, inherited]

Create the toolbar layout.

Parameters:
parent 
Returns:

Definition at line 447 of file AbstractBaseScopeView.java.

Referenced by edu.rice.cs.hpc.viewer.scope.AbstractBaseScopeView.createPartControl().

void edu.rice.cs.hpc.viewer.scope.BaseScopeView.dispose (  )  [inherited]

Reimplemented from edu.rice.cs.hpc.viewer.scope.AbstractBaseScopeView.

Definition at line 32 of file BaseScopeView.java.

void edu.rice.cs.hpc.viewer.scope.BaseScopeView.enableFilter ( boolean  isEnabled  )  [protected, virtual, inherited]
int edu.rice.cs.hpc.viewer.scope.topdown.ScopeView.getColumnMouseDown ( Event  event  )  [private]

Find which column the user has clicked.

Return the index of the column if exist, -1 otherwise

Parameters:
event 
Returns:

Definition at line 70 of file ScopeView.java.

References edu.rice.cs.hpc.viewer.scope.AbstractBaseScopeView.getTreeViewer().

Referenced by edu.rice.cs.hpc.viewer.scope.topdown.ScopeView.mouseDownEvent().

Database edu.rice.cs.hpc.viewer.scope.AbstractBaseScopeView.getDatabase (  )  [inherited]
Experiment edu.rice.cs.hpc.viewer.scope.AbstractBaseScopeView.getExperiment (  )  [inherited]
CellLabelProvider edu.rice.cs.hpc.viewer.scope.topdown.ScopeView.getLabelProvider (  )  [protected, virtual]

Implements edu.rice.cs.hpc.viewer.scope.AbstractBaseScopeView.

Definition at line 53 of file ScopeView.java.

RootScope edu.rice.cs.hpc.viewer.scope.AbstractBaseScopeView.getRootScope (  )  [inherited]
AbstractContentProvider edu.rice.cs.hpc.viewer.scope.topdown.ScopeView.getScopeContentProvider (  )  [protected, virtual]

Implements edu.rice.cs.hpc.viewer.scope.AbstractBaseScopeView.

Definition at line 87 of file ScopeView.java.

int edu.rice.cs.hpc.viewer.scope.topdown.ScopeView.getSelectedColumn (  ) 
ScopeTreeViewer edu.rice.cs.hpc.viewer.scope.AbstractBaseScopeView.getTreeViewer (  )  [inherited]
ScopeViewActions edu.rice.cs.hpc.viewer.scope.AbstractBaseScopeView.getViewActions (  )  [inherited]
void edu.rice.cs.hpc.viewer.scope.AbstractBaseScopeView.initDatabase ( Database  db,
RootScope  scope,
boolean  keepColumnStatus 
) [inherited]
void edu.rice.cs.hpc.viewer.scope.BaseScopeView.initTableColumns ( boolean  keepColumnStatus  )  [protected, virtual, inherited]
CoolBar edu.rice.cs.hpc.viewer.scope.AbstractBaseScopeView.initToolbar ( Composite  toolbarArea  )  [protected, inherited]

Create and Initialize coolbar, set the layout and return the coolbar.

Parameters:
toolbarArea 
Returns:

Definition at line 460 of file AbstractBaseScopeView.java.

Referenced by edu.rice.cs.hpc.viewer.scope.AbstractBaseScopeView.createPartControl().

void edu.rice.cs.hpc.viewer.scope.topdown.ScopeView.mouseDownEvent ( Event  event  )  [protected, virtual]
void edu.rice.cs.hpc.viewer.scope.AbstractBaseScopeView.setFocus (  )  [inherited]
void edu.rice.cs.hpc.viewer.scope.AbstractBaseScopeView.setInput ( Database  db,
RootScope  scope,
boolean  keepColumnStatus 
) [inherited]
void edu.rice.cs.hpc.viewer.scope.AbstractBaseScopeView.setViewTitle ( String  sName  )  [inherited]

Modify the title of the view.

Parameters:
sName 

Definition at line 514 of file AbstractBaseScopeView.java.

void edu.rice.cs.hpc.viewer.scope.topdown.ScopeView.updateDatabase ( Experiment  new_database  )  [protected, virtual]

Tell children to update the content with the new database.

Parameters:
new_database 

Implements edu.rice.cs.hpc.viewer.scope.BaseScopeView.

Definition at line 95 of file ScopeView.java.

void edu.rice.cs.hpc.viewer.scope.BaseScopeView.updateDisplay (  )  [virtual, inherited]

Member Data Documentation

final String edu.rice.cs.hpc.viewer.scope.topdown.ScopeView.ID = "edu.rice.cs.hpc.viewer.scope.ScopeView" [static]

Definition at line 27 of file ScopeView.java.

bar composite for placing toolbar and tool items

Definition at line 84 of file AbstractBaseScopeView.java.

Referenced by edu.rice.cs.hpc.viewer.scope.AbstractBaseScopeView.createPartControl().


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

Generated on 5 May 2015 for HPCVIEWER by  doxygen 1.6.1