AbstractAlignmentEditorHandler added.
[taxeditor.git] / eu.etaxonomy.taxeditor.editor / src / main / java / eu / etaxonomy / taxeditor / editor / handler / alignmenteditor / CreateConsensusSequenceHandler.java
index 64de1b11d4d9dc11bac68d0b1f2dfbbd5d8a0373..1424b3088f8d55484f04e4637e63dc05655a0269 100644 (file)
@@ -1,31 +1,28 @@
 /**\r
 * Copyright (C) 2007 EDIT\r
-* European Distributed Institute of Taxonomy \r
+* European Distributed Institute of Taxonomy\r
 * http://www.e-taxonomy.eu\r
-* \r
+*\r
 * The contents of this file are subject to the Mozilla Public License Version 1.1\r
 * See LICENSE.TXT at the top of this package for the full license terms.\r
 */\r
 package eu.etaxonomy.taxeditor.editor.handler.alignmenteditor;\r
 \r
 \r
-import org.eclipse.core.commands.AbstractHandler;\r
 import org.eclipse.core.commands.ExecutionEvent;\r
 import org.eclipse.core.commands.ExecutionException;\r
-import org.eclipse.ui.IEditorPart;\r
 \r
 import eu.etaxonomy.taxeditor.editor.molecular.AlignmentEditor;\r
-import eu.etaxonomy.taxeditor.model.AbstractUtility;\r
 \r
 \r
 \r
-public class CreateConsensusSequenceHandler extends AbstractHandler {\r
-       @Override\r
-       public Object execute(ExecutionEvent event) throws ExecutionException {\r
-        IEditorPart activeEditor = AbstractUtility.getActiveEditor();\r
-        if (activeEditor instanceof AlignmentEditor) {\r
-               //((AlignmentEditor)activeEditor).;\r
-        }\r
-        return null;\r
-       }\r
+public class CreateConsensusSequenceHandler extends AbstractAlignmentEditorHandler {\r
+    /* (non-Javadoc)\r
+     * @see eu.etaxonomy.taxeditor.editor.handler.alignmenteditor.AbstractAlignmentEditorHandler#doExecute(org.eclipse.core.commands.ExecutionEvent, eu.etaxonomy.taxeditor.editor.molecular.AlignmentEditor)\r
+     */\r
+    @Override\r
+    public void doExecute(ExecutionEvent event, AlignmentEditor editor) throws ExecutionException {\r
+        // TODO Auto-generated method stub\r
+\r
+    }\r
 }\r