ref #6913 Remove alignment editor
[taxeditor.git] / eu.etaxonomy.taxeditor.molecular / src / main / java / eu / etaxonomy / taxeditor / molecular / handler / CutPherogramLeftHandler.java
diff --git a/eu.etaxonomy.taxeditor.molecular/src/main/java/eu/etaxonomy/taxeditor/molecular/handler/CutPherogramLeftHandler.java b/eu.etaxonomy.taxeditor.molecular/src/main/java/eu/etaxonomy/taxeditor/molecular/handler/CutPherogramLeftHandler.java
deleted file mode 100644 (file)
index 34ee748..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-/**
-* Copyright (C) 2015 EDIT
-* European Distributed Institute of Taxonomy
-* http://www.e-taxonomy.eu
-*
-* The contents of this file are subject to the Mozilla Public License Version 1.1
-* See LICENSE.TXT at the top of this package for the full license terms.
-*/
-package eu.etaxonomy.taxeditor.molecular.handler;
-
-
-import org.eclipse.core.commands.ExecutionEvent;
-import org.eclipse.core.commands.ExecutionException;
-
-import eu.etaxonomy.taxeditor.model.MessagingUtils;
-import eu.etaxonomy.taxeditor.molecular.TaxeditorMolecularPlugin;
-import eu.etaxonomy.taxeditor.molecular.editor.AlignmentEditor;
-import eu.etaxonomy.taxeditor.molecular.l10n.Messages;
-
-
-
-/**
- * Handler that cuts the base call sequence of a pherogram attached to the current sequence on the left
- * of the current selection or cursor position.
- *
- * @author Ben Stöver
- * @date 15.06.2015
- */
-public class CutPherogramLeftHandler extends AbstractAlignmentEditorHandler {
-    @Override
-    public void doExecute(ExecutionEvent event, AlignmentEditor editor) throws ExecutionException {
-        String errorMessage = editor.cutPherogramLeft();
-        if (errorMessage != null) {
-            MessagingUtils.errorDialog(Messages.CutPherogramLeftHandler_CUT_FAILURE, this, errorMessage, TaxeditorMolecularPlugin.PLUGIN_ID, null, false);
-        }
-    }
-}