/**
* Copyright (C) 2007 EDIT
-* European Distributed Institute of Taxonomy
+* 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.
*/
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;
* @see org.eclipse.core.commands.IHandler#execute(org.eclipse.core.commands.ExecutionEvent)
*/
/** {@inheritDoc} */
- public Object execute(ExecutionEvent event) throws ExecutionException {
-
+ @Override
+ public Object execute(ExecutionEvent event) throws ExecutionException {
+
logger.debug("Handler called: " + this.getClass().getCanonicalName()); //$NON-NLS-1$
-
- try {
- EditorUtil.openEmptyE4(null);
- } catch (PartInitException e) {
- e.printStackTrace();
- }
+
+ EditorUtil.openEmptyE4(null);
return null;
}