TPTP 4.2.0 Tracing and Profiling Tools Project
Internal API Specification

org.eclipse.hyades.trace.views.adapter.internal
Class MultiLevelStatisticPage

java.lang.Object
  extended byorg.eclipse.ui.part.Page
      extended byorg.eclipse.hyades.trace.ui.TraceViewerPage
          extended byorg.eclipse.hyades.trace.views.adapter.internal.MultiLevelStatisticPage
All Implemented Interfaces:
org.eclipse.ui.part.IPage, org.eclipse.ui.part.IPageBookViewPage
Direct Known Subclasses:
MemoryStatisticPage, MultiLevelStatisticMethodPage

public abstract class MultiLevelStatisticPage
extends org.eclipse.hyades.trace.ui.TraceViewerPage


Field Summary
protected  MultiLevelStatisticView _view
           
 
Fields inherited from class org.eclipse.hyades.trace.ui.TraceViewerPage
_mofObject, _viewer, fContextMenu
 
Constructor Summary
MultiLevelStatisticPage(org.eclipse.emf.ecore.EObject mofObject, org.eclipse.hyades.trace.ui.TraceViewer _viewer)
           
 
Method Summary
 void createControl(org.eclipse.swt.widgets.Composite parent)
          This method : - activates the method coverage analysis - displays the results and add a contextual menu
protected abstract  MultiLevelStatisticView displayData(org.eclipse.swt.widgets.Composite parent)
           
 void dispose()
          disposes the CoverageStatistic view
 void fillContextMenu(org.eclipse.jface.action.IMenuManager menu)
          Contribute to the view popup menu
 org.eclipse.jface.action.Action getClassLevel()
           
 org.eclipse.swt.widgets.Control getControl()
          the control is used by the viewer to display this page
 org.eclipse.hyades.models.hierarchy.extensions.SimpleSearchQuery getCurrentFilter()
           
 org.eclipse.jface.action.Action getPackageLevel()
           
 MultiLevelStatisticView getView()
           
 boolean isEmpty()
           
 void makeActions()
          Insert the method's description here.
 org.eclipse.jface.action.Action openSource()
          Insert the method's description here.
 void refreshPage()
          refresh the content of the page when the "RefreshViews" command is activated
 void selectionChanged()
          the same element must be selected in all the statistics views
 void setFocus()
          set the focus on the view
 void update(boolean newPage)
          update the content of the page
 void updateButtons(int level)
           
 void updateFilterAppliedDescription()
           
 
Methods inherited from class org.eclipse.hyades.trace.ui.TraceViewerPage
getMOFObject, getTraceViewer, setContextMenu, setMofObject
 
Methods inherited from class org.eclipse.ui.part.Page
getSite, init, makeContributions, setActionBars
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_view

protected MultiLevelStatisticView _view
Constructor Detail

MultiLevelStatisticPage

public MultiLevelStatisticPage(org.eclipse.emf.ecore.EObject mofObject,
                               org.eclipse.hyades.trace.ui.TraceViewer _viewer)
Method Detail

displayData

protected abstract MultiLevelStatisticView displayData(org.eclipse.swt.widgets.Composite parent)

createControl

public void createControl(org.eclipse.swt.widgets.Composite parent)
This method : - activates the method coverage analysis - displays the results and add a contextual menu


dispose

public void dispose()
disposes the CoverageStatistic view


fillContextMenu

public void fillContextMenu(org.eclipse.jface.action.IMenuManager menu)
Contribute to the view popup menu

Parameters:
menu -

makeActions

public void makeActions()
Insert the method's description here. Creation date: (1/11/2001 2:54:24 PM)


refreshPage

public void refreshPage()
refresh the content of the page when the "RefreshViews" command is activated


getPackageLevel

public org.eclipse.jface.action.Action getPackageLevel()
Returns:
the Package level action

getClassLevel

public org.eclipse.jface.action.Action getClassLevel()
Returns:
the Class level action

getControl

public org.eclipse.swt.widgets.Control getControl()
the control is used by the viewer to display this page


setFocus

public void setFocus()
set the focus on the view


selectionChanged

public void selectionChanged()
the same element must be selected in all the statistics views


getView

public MultiLevelStatisticView getView()
Returns:
the CoverageStatistic instance

update

public void update(boolean newPage)
update the content of the page


openSource

public org.eclipse.jface.action.Action openSource()
Insert the method's description here. Creation date: (8/1/2001 6:31:38 PM)

Returns:
org.eclipse.jface.action.Action

isEmpty

public boolean isEmpty()

updateButtons

public void updateButtons(int level)

getCurrentFilter

public org.eclipse.hyades.models.hierarchy.extensions.SimpleSearchQuery getCurrentFilter()

updateFilterAppliedDescription

public void updateFilterAppliedDescription()

TPTP 4.2.0 Tracing and Profiling Tools Project
Internal API Specification