-/**\r
-* Copyright (C) 2007 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
-\r
-package eu.etaxonomy.taxeditor.editor.handler;\r
-\r
-import org.apache.log4j.Logger;\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.core.commands.IHandler;\r
-import org.eclipse.swt.widgets.Display;\r
-import org.eclipse.ui.PartInitException;\r
-\r
-import eu.etaxonomy.taxeditor.editor.EditorUtil;\r
-\r
-/**\r
- * @author n.hoffmann\r
- * @created 06.02.2009\r
- * @version 1.0\r
- */\r
-public class EditNewTaxonHandler extends AbstractHandler implements IHandler {\r
- private static final Logger logger = Logger\r
- .getLogger(EditNewTaxonHandler.class);\r
-\r
- /* (non-Javadoc)\r
- * @see org.eclipse.core.commands.IHandler#execute(org.eclipse.core.commands.ExecutionEvent)\r
- */\r
- public Object execute(ExecutionEvent event) throws ExecutionException {\r
- \r
- logger.debug("Handler called: " + this.getClass().getCanonicalName());\r
- \r
- try {\r
- EditorUtil.openEmpty(null);\r
- } catch (PartInitException e) {\r
- e.printStackTrace();\r
- }\r
-\r
- return null;\r
- }\r
-}\r
+/**
+* Copyright (C) 2007 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.editor.handler;
+
+import org.apache.log4j.Logger;
+import org.eclipse.core.commands.AbstractHandler;
+import org.eclipse.core.commands.ExecutionEvent;
+import org.eclipse.core.commands.ExecutionException;
+import org.eclipse.core.commands.IHandler;
+import org.eclipse.swt.widgets.Display;
+import org.eclipse.ui.PartInitException;
+
+import eu.etaxonomy.taxeditor.editor.EditorUtil;
+
+/**
+ * <p>EditNewTaxonHandler class.</p>
+ *
+ * @author n.hoffmann
+ * @created 06.02.2009
+ * @version 1.0
+ */
+public class EditNewTaxonHandler extends AbstractHandler implements IHandler {
+ private static final Logger logger = Logger
+ .getLogger(EditNewTaxonHandler.class);
+
+ /* (non-Javadoc)
+ * @see org.eclipse.core.commands.IHandler#execute(org.eclipse.core.commands.ExecutionEvent)
+ */
+ /** {@inheritDoc} */
+ public Object execute(ExecutionEvent event) throws ExecutionException {
+
+ logger.debug("Handler called: " + this.getClass().getCanonicalName());
+
+ try {
+ EditorUtil.openEmpty(null);
+ } catch (PartInitException e) {
+ e.printStackTrace();
+ }
+
+ return null;
+ }
+}