Delete unused classes
authorPatrick Plitzner <p.plitzner@bgbm.org>
Wed, 31 May 2017 14:58:06 +0000 (16:58 +0200)
committerPatrick Plitzner <p.plitzner@bgbm.org>
Thu, 1 Jun 2017 06:35:06 +0000 (08:35 +0200)
eu.etaxonomy.taxeditor.application/src/main/java/eu/etaxonomy/taxeditor/SaveAllHandler.java [deleted file]
eu.etaxonomy.taxeditor.application/src/main/java/eu/etaxonomy/taxeditor/SaveHandler.java [deleted file]

diff --git a/eu.etaxonomy.taxeditor.application/src/main/java/eu/etaxonomy/taxeditor/SaveAllHandler.java b/eu.etaxonomy.taxeditor.application/src/main/java/eu/etaxonomy/taxeditor/SaveAllHandler.java
deleted file mode 100644 (file)
index 9a2f179..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-/**
-* 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;
-
-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.handlers.HandlerUtil;
-
-/**
- * Now handled entirely by native save action.
- *
- * @author p.ciardelli
- * @created 04.09.2009
- * @version 1.0
- * @see ApplicationActionBarAdvisor
- */
-public class SaveAllHandler extends AbstractHandler {
-       private static final Logger logger = Logger.getLogger(SaveAllHandler.class);
-
-       /* (non-Javadoc)
-        * @see org.eclipse.core.commands.IHandler#execute(org.eclipse.core.commands.ExecutionEvent)
-        */
-       /** {@inheritDoc} */
-       public Object execute(ExecutionEvent event) throws ExecutionException {
-               HandlerUtil.getActiveWorkbenchWindow(event).getActivePage().saveAllEditors(false);
-               return null;
-       }
-}
diff --git a/eu.etaxonomy.taxeditor.application/src/main/java/eu/etaxonomy/taxeditor/SaveHandler.java b/eu.etaxonomy.taxeditor.application/src/main/java/eu/etaxonomy/taxeditor/SaveHandler.java
deleted file mode 100644 (file)
index ec28b9e..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-/**
-* 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;
-
-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.IEditorPart;
-import org.eclipse.ui.handlers.HandlerUtil;
-
-/**
- * Now handled entirely by native save action.
- *
- * @author p.ciardelli
- * @created 04.09.2009
- * @version 1.0
- * @see ApplicationActionBarAdvisor
- */
-public class SaveHandler extends AbstractHandler {
-       private static final Logger logger = Logger.getLogger(SaveHandler.class);
-
-       /* (non-Javadoc)
-        * @see org.eclipse.core.commands.IHandler#execute(org.eclipse.core.commands.ExecutionEvent)
-        */
-       /** {@inheritDoc} */
-       public Object execute(ExecutionEvent event) throws ExecutionException {
-               IEditorPart editor = HandlerUtil.getActiveEditor(event);
-               if (editor != null) {
-                       HandlerUtil.getActiveWorkbenchWindow(event).getActivePage().saveEditor(editor, false);
-               }
-               return null;
-       }
-}