1 package com.quantum.actions;
3 import com.quantum.view.tableview.TableView;
5 import org.eclipse.jface.action.Action;
6 import org.eclipse.jface.action.IAction;
7 import org.eclipse.jface.viewers.ISelection;
8 import org.eclipse.ui.IViewActionDelegate;
9 import org.eclipse.ui.IViewPart;
15 public class CloseTableAction extends Action implements IViewActionDelegate {
18 * @see org.eclipse.ui.IViewActionDelegate#init(IViewPart)
20 public void init(IViewPart view) {
21 this.view = (TableView) view;
25 * @see org.eclipse.ui.IActionDelegate#run(IAction)
27 public void run(IAction action) {
35 * @see org.eclipse.ui.IActionDelegate#selectionChanged(IAction, ISelection)
37 public void selectionChanged(IAction action, ISelection selection) {