1 /* 2 * This file is a part of CAST project. 3 * (c) Copyright 2007, AGH University of Science & Technology 4 * https://caribou.iisg.agh.edu.pl/trac/cast 5 * 6 * Licensed under the Eclipse Public License, Version 1.0 (the "License"). 7 * You may not use this file except in compliance with the License. 8 * You may obtain a copy of the License at 9 * http://www.eclipse.org/legal/epl-v10.html 10 */ 11 /* 12 * File: ShowStatisticsAction.java 13 * Created: 2007-00-00 14 * Author: apohllo, entrop 15 * $Id: ShowStatisticsHandler.java 2255 2009-01-07 16:07:21Z bmilos $ 16 */ 17 18 package pl.edu.agh.cast.dataview.ui.action; 19 20 import org.eclipse.jface.action.IAction; 21 import org.eclipse.jface.viewers.ISelection; 22 import org.eclipse.ui.IEditorActionDelegate; 23 import org.eclipse.ui.IEditorPart; 24 import org.eclipse.ui.IWorkbenchWindow; 25 import org.eclipse.ui.IWorkbenchWindowActionDelegate; 26 27 /** 28 * Implementation of the show statistics action, which is used in the data table editor and case navigator, to show data 29 * statistics. 30 * 31 * TODO activate to work with new data sets 32 * 33 * @author AGH CAST Team 34 */ 35 public class ShowStatisticsAction implements IEditorActionDelegate, IWorkbenchWindowActionDelegate { 36 37 /** 38 * {@inheritDoc} 39 * 40 * @see org.eclipse.ui.IActionDelegate#run(org.eclipse.jface.action.IAction) 41 */ 42 public void run(IAction arg0) { 43 } 44 45 /** 46 * {@inheritDoc} 47 * 48 * @see org.eclipse.ui.IActionDelegate#selectionChanged(org.eclipse.jface.action.IAction, 49 * org.eclipse.jface.viewers.ISelection) 50 */ 51 public void selectionChanged(IAction action, ISelection selection) { 52 } 53 54 /** 55 * {@inheritDoc} 56 * 57 * @see org.eclipse.ui.IEditorActionDelegate#setActiveEditor(org.eclipse.jface.action.IAction, 58 * org.eclipse.ui.IEditorPart) 59 */ 60 public void setActiveEditor(IAction action, IEditorPart targetEditor) { 61 } 62 63 /** 64 * {@inheritDoc} 65 * 66 * @see org.eclipse.ui.IWorkbenchWindowActionDelegate#dispose() 67 */ 68 public void dispose() { 69 } 70 71 /** 72 * {@inheritDoc} 73 * 74 * @see org.eclipse.ui.IWorkbenchWindowActionDelegate#init(org.eclipse.ui.IWorkbenchWindow) 75 */ 76 public void init(IWorkbenchWindow window) { 77 } 78 }