Go to the documentation of this file.00001 package com.generalrobotix.ui.actions;
00002
00003 import org.eclipse.jface.action.IAction;
00004 import org.eclipse.jface.viewers.ISelection;
00005 import org.eclipse.ui.IWorkbenchWindow;
00006 import org.eclipse.ui.IWorkbenchWindowActionDelegate;
00007
00008 import com.generalrobotix.ui.GrxPluginManager;
00009 import com.generalrobotix.ui.grxui.Activator;
00010 import com.generalrobotix.ui.item.GrxProjectItem;
00011
00012 public class NewProject implements IWorkbenchWindowActionDelegate {
00013
00014 public void run(IAction action) {
00015 GrxPluginManager manager_ = Activator.getDefault().manager_;
00016 manager_.getProjectMenu().get( GrxProjectItem.MENU_CREATE ).run();
00017 }
00018
00019 public void selectionChanged(IAction action, ISelection selection) {}
00020 public void dispose() {}
00021 public void init(IWorkbenchWindow window) {}
00022 }