-// $Id$\r
-/**\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.bulkeditor.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.ui.PartInitException;\r
-import org.eclipse.ui.handlers.HandlerUtil;\r
-\r
-import eu.etaxonomy.taxeditor.bulkeditor.referencingobjects.ReferencingObjectsView;\r
-\r
-/**\r
- * @author p.ciardelli\r
- * @created 08.07.2009\r
- * @version 1.0\r
- */\r
-public class ShowReferencingObjectsHandler extends AbstractHandler {\r
- private static final Logger logger = Logger\r
- .getLogger(ShowReferencingObjectsHandler.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
- try {\r
- ReferencingObjectsView view = (ReferencingObjectsView) HandlerUtil.getActiveWorkbenchWindow(event).getActivePage().\r
- showView(ReferencingObjectsView.ID);\r
-// view.updateReferencingObjects();\r
- } catch (PartInitException e) {\r
- logger.error("PartInitException when updating referncing objects view", e);\r
- }\r
- return null;\r
- }\r
-\r
-}\r
+// $Id$
+/**
+* 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.bulkeditor.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.ui.PartInitException;
+import org.eclipse.ui.handlers.HandlerUtil;
+
+import eu.etaxonomy.taxeditor.bulkeditor.referencingobjects.ReferencingObjectsView;
+
+/**
+ * <p>ShowReferencingObjectsHandler class.</p>
+ *
+ * @author p.ciardelli
+ * @created 08.07.2009
+ * @version 1.0
+ */
+public class ShowReferencingObjectsHandler extends AbstractHandler {
+ private static final Logger logger = Logger
+ .getLogger(ShowReferencingObjectsHandler.class);
+
+ /* (non-Javadoc)
+ * @see org.eclipse.core.commands.IHandler#execute(org.eclipse.core.commands.ExecutionEvent)
+ */
+ /** {@inheritDoc} */
+ public Object execute(ExecutionEvent event) throws ExecutionException {
+ try {
+ ReferencingObjectsView view = (ReferencingObjectsView) HandlerUtil.getActiveWorkbenchWindow(event).getActivePage().
+ showView(ReferencingObjectsView.ID);
+// view.updateReferencingObjects();
+ } catch (PartInitException e) {
+ logger.error("PartInitException when updating referncing objects view", e);
+ }
+ return null;
+ }
+
+}