pl.edu.agh.cast.data.action
Class ShowStatisticsHandler

java.lang.Object
  extended by org.eclipse.core.commands.common.EventManager
      extended by org.eclipse.core.commands.AbstractHandler
          extended by pl.edu.agh.cast.data.action.ShowStatisticsHandler
All Implemented Interfaces:
org.eclipse.core.commands.IHandler, org.eclipse.core.commands.IHandler2, org.eclipse.ui.IActionDelegate, org.eclipse.ui.IObjectActionDelegate

public class ShowStatisticsHandler
extends org.eclipse.core.commands.AbstractHandler
implements org.eclipse.ui.IObjectActionDelegate

Implementation of the show statistics handler, which is used in the data table view, to show data statistics.

Author:
Aleksander Pohl apohllo.at.o2.pl

Constructor Summary
ShowStatisticsHandler()
           
 
Method Summary
 java.lang.Object execute(org.eclipse.core.commands.ExecutionEvent event)
           
 void run(org.eclipse.jface.action.IAction arg0)
           
 void selectionChanged(org.eclipse.jface.action.IAction action, org.eclipse.jface.viewers.ISelection selection)
           
 void setActivePart(org.eclipse.jface.action.IAction arg0, org.eclipse.ui.IWorkbenchPart arg1)
           
 
Methods inherited from class org.eclipse.core.commands.AbstractHandler
addHandlerListener, dispose, fireHandlerChanged, hasListeners, isEnabled, isHandled, removeHandlerListener, setBaseEnabled, setEnabled
 
Methods inherited from class org.eclipse.core.commands.common.EventManager
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShowStatisticsHandler

public ShowStatisticsHandler()
Method Detail

execute

public java.lang.Object execute(org.eclipse.core.commands.ExecutionEvent event)
                         throws org.eclipse.core.commands.ExecutionException
Specified by:
execute in interface org.eclipse.core.commands.IHandler
Throws:
org.eclipse.core.commands.ExecutionException

setActivePart

public void setActivePart(org.eclipse.jface.action.IAction arg0,
                          org.eclipse.ui.IWorkbenchPart arg1)
Specified by:
setActivePart in interface org.eclipse.ui.IObjectActionDelegate

run

public void run(org.eclipse.jface.action.IAction arg0)
Specified by:
run in interface org.eclipse.ui.IActionDelegate

selectionChanged

public void selectionChanged(org.eclipse.jface.action.IAction action,
                             org.eclipse.jface.viewers.ISelection selection)
Specified by:
selectionChanged in interface org.eclipse.ui.IActionDelegate


Copyright © 2007-2008 AGH University of Science and Technology. All Rights Reserved.