\r
\r
\r
+/**\r
+ * Handler that creates the consensus sequence from all single read sequences in the active instance\r
+ * of {@link AlignmentEditor}. A previously present consensus sequence will be overwritten.\r
+ *\r
+ * @author Ben Stöver\r
+ * @date 19.06.2015\r
+ * @see UpdateConsensusSequenceHandler\r
+ * @see AlignmentEditor#createConsensusSequence()\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
+ editor.createConsensusSequence();\r
}\r
}\r