- removed Amplification as a TreeNode from the DerivateView
[taxeditor.git] / eu.etaxonomy.taxeditor.store / src / main / java / eu / etaxonomy / taxeditor / featuretree / OpenFeatureTreeEditorWizardHandler.java
1 package eu.etaxonomy.taxeditor.featuretree;
2
3 import org.eclipse.core.commands.AbstractHandler;
4 import org.eclipse.core.commands.ExecutionEvent;
5 import org.eclipse.core.commands.ExecutionException;
6 import org.eclipse.jface.wizard.WizardDialog;
7
8 import eu.etaxonomy.taxeditor.store.StoreUtil;
9
10 /**
11 *
12 * @author a.kohlbecker
13 *
14 */
15 public class OpenFeatureTreeEditorWizardHandler extends AbstractHandler {
16
17 /**
18 * unused, only added as reference
19 */
20 String commandID = "eu.etaxonomy.taxeditor.store.open.FeatureTreeEditorWizard";
21
22 @Override
23 public Object execute(ExecutionEvent event) throws ExecutionException {
24 FeatureTreeEditorWizard featureTreeEditorDialog = new FeatureTreeEditorWizard();
25 WizardDialog dialog = new WizardDialog(StoreUtil.getShell(),
26 featureTreeEditorDialog);
27
28 dialog.open();
29 return null;
30 }
31
32 }