pl.edu.agh.cast.dataview.ui.action
Class ShowStatisticsAction

java.lang.Object
  extended by pl.edu.agh.cast.dataview.ui.action.ShowStatisticsAction
All Implemented Interfaces:
org.eclipse.ui.IActionDelegate, org.eclipse.ui.IEditorActionDelegate, org.eclipse.ui.IWorkbenchWindowActionDelegate

public class ShowStatisticsAction
extends Object
implements org.eclipse.ui.IEditorActionDelegate, org.eclipse.ui.IWorkbenchWindowActionDelegate

Implementation of the show statistics action, which is used in the data table editor and case navigator, to show data statistics. TODO activate to work with new data sets

Author:
AGH CAST Team

Constructor Summary
ShowStatisticsAction()
           
 
Method Summary
 void dispose()
          
 void init(org.eclipse.ui.IWorkbenchWindow window)
          
 void run(org.eclipse.jface.action.IAction arg0)
          
 void selectionChanged(org.eclipse.jface.action.IAction action, org.eclipse.jface.viewers.ISelection selection)
          
 void setActiveEditor(org.eclipse.jface.action.IAction action, org.eclipse.ui.IEditorPart targetEditor)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShowStatisticsAction

public ShowStatisticsAction()
Method Detail

run

public void run(org.eclipse.jface.action.IAction arg0)

Specified by:
run in interface org.eclipse.ui.IActionDelegate
See Also:
IActionDelegate.run(org.eclipse.jface.action.IAction)

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
See Also:
IActionDelegate.selectionChanged(org.eclipse.jface.action.IAction, org.eclipse.jface.viewers.ISelection)

setActiveEditor

public void setActiveEditor(org.eclipse.jface.action.IAction action,
                            org.eclipse.ui.IEditorPart targetEditor)

Specified by:
setActiveEditor in interface org.eclipse.ui.IEditorActionDelegate
See Also:
IEditorActionDelegate.setActiveEditor(org.eclipse.jface.action.IAction, org.eclipse.ui.IEditorPart)

dispose

public void dispose()

Specified by:
dispose in interface org.eclipse.ui.IWorkbenchWindowActionDelegate
See Also:
IWorkbenchWindowActionDelegate.dispose()

init

public void init(org.eclipse.ui.IWorkbenchWindow window)

Specified by:
init in interface org.eclipse.ui.IWorkbenchWindowActionDelegate
See Also:
IWorkbenchWindowActionDelegate.init(org.eclipse.ui.IWorkbenchWindow)


Copyright © 2007-2009 IISG AGH-UST Krakow, Poland. All Rights Reserved.