+++ /dev/null
-package eu.etaxonomy.taxeditor.molecular.handler;\r
-\r
-\r
-import info.bioinfweb.libralign.alignmentarea.AlignmentArea;\r
-\r
-import org.eclipse.core.commands.ExecutionEvent;\r
-\r
-import eu.etaxonomy.taxeditor.molecular.editor.AlignmentEditor;\r
-\r
-\r
-\r
-/**\r
- * Handler that cuts the currently selected nucleotides from an alignment editor to the clipboard.\r
- * <p>\r
- * The cut contents either come from the single reads or the consensus sequence alignment area,\r
- * depending on which component currently has the focus. If none of these components has the focus,\r
- * nothing will be cut, even if nucleotides are currently selected.\r
- * <p>\r
- * If the selection contains parts of multiple sequence, these are separated by the line separator\r
- * of the current operating system. \r
- * \r
- * @author Ben Stöver\r
- * @date 25.08.2015\r
- */\r
-public class AlignmentEditorCutHandler extends AlignmentEditorCopyHandler {\r
- @Override\r
- protected void doExecute2(ExecutionEvent event, AlignmentEditor editor, AlignmentArea focusedArea) {\r
- super.doExecute2(event, editor, focusedArea); // Copy selected contents.\r
- focusedArea.getActionProvider().deleteSelection();\r
- }\r
-}\r