-// $Id$\r
-/**\r
-* Copyright (C) 2015 EDIT\r
-* European Distributed Institute of Taxonomy\r
-* http://www.e-taxonomy.eu\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.molecular.handler;\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.model.AbstractUtility;\r
-import eu.etaxonomy.taxeditor.molecular.editor.AlignmentEditor;\r
-\r
-\r
-\r
-\r
-/**\r
- * Abstract implementation for all handlers triggering actions in an active instance of\r
- * {@link AlignmentEditor}.\r
- *\r
- * @author Ben Stöver\r
- * @date 19.06.2015\r
- */\r
-public abstract class AbstractAlignmentEditorHandler extends AbstractHandler {\r
- @Override\r
- public Object execute(ExecutionEvent event) throws ExecutionException {\r
- IEditorPart activeEditor = AbstractUtility.getActiveEditor();\r
- if (activeEditor instanceof AlignmentEditor) {\r
- doExecute(event, (AlignmentEditor)activeEditor);\r
- }\r
- return null;\r
- }\r
-\r
-\r
- public abstract void doExecute(ExecutionEvent event, AlignmentEditor editor) throws ExecutionException;\r
-}\r
+// $Id$
+/**
+* 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.AbstractHandler;
+import org.eclipse.core.commands.ExecutionEvent;
+import org.eclipse.core.commands.ExecutionException;
+import org.eclipse.ui.IEditorPart;
+
+import eu.etaxonomy.taxeditor.model.AbstractUtility;
+import eu.etaxonomy.taxeditor.molecular.editor.AlignmentEditor;
+
+
+
+
+/**
+ * Abstract implementation for all handlers triggering actions in an active instance of
+ * {@link AlignmentEditor}.
+ *
+ * @author Ben Stöver
+ * @date 19.06.2015
+ */
+public abstract class AbstractAlignmentEditorHandler extends AbstractHandler {
+ @Override
+ public Object execute(ExecutionEvent event) throws ExecutionException {
+ IEditorPart activeEditor = AbstractUtility.getActiveEditor();
+ if (activeEditor instanceof AlignmentEditor) {
+ doExecute(event, (AlignmentEditor)activeEditor);
+ }
+ return null;
+ }
+
+
+ public abstract void doExecute(ExecutionEvent event, AlignmentEditor editor) throws ExecutionException;
+}