1 package net.sourceforge.phpdt.sql.actions;
3 import org.eclipse.jface.action.Action;
4 import org.eclipse.jface.action.IAction;
5 import org.eclipse.jface.viewers.ISelection;
6 import org.eclipse.ui.IViewActionDelegate;
7 import org.eclipse.ui.IViewPart;
9 import net.sourceforge.phpdt.sql.view.TableView;
14 * To change this generated comment edit the template variable "typecomment":
15 * Window>Preferences>Java>Templates.
16 * To enable and disable the creation of type comments go to
17 * Window>Preferences>Java>Code Generation.
19 public class CloseTableAction extends Action implements IViewActionDelegate {
22 * @see org.eclipse.ui.IViewActionDelegate#init(IViewPart)
24 public void init(IViewPart view) {
25 this.view = (TableView) view;
29 * @see org.eclipse.ui.IActionDelegate#run(IAction)
31 public void run(IAction action) {
39 * @see org.eclipse.ui.IActionDelegate#selectionChanged(IAction, ISelection)
41 public void selectionChanged(IAction action, ISelection selection) {