]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - eclipse/plugins/runtime/org.argeo.slc.client.ui/src/main/java/org/argeo/slc/client/ui/commands/LaunchBatchHandler.java
ré-organisation des plugins de SLC Eclipse.
[gpl/argeo-slc.git] / eclipse / plugins / runtime / org.argeo.slc.client.ui / src / main / java / org / argeo / slc / client / ui / commands / LaunchBatchHandler.java
diff --git a/eclipse/plugins/runtime/org.argeo.slc.client.ui/src/main/java/org/argeo/slc/client/ui/commands/LaunchBatchHandler.java b/eclipse/plugins/runtime/org.argeo.slc.client.ui/src/main/java/org/argeo/slc/client/ui/commands/LaunchBatchHandler.java
deleted file mode 100644 (file)
index e770c34..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-package org.argeo.slc.client.ui.commands;
-
-import org.argeo.slc.client.ui.views.ProcessBuilderView;
-import org.eclipse.core.commands.AbstractHandler;
-import org.eclipse.core.commands.ExecutionEvent;
-import org.eclipse.core.commands.ExecutionException;
-import org.eclipse.ui.handlers.HandlerUtil;
-
-/**
- * 
- * @author bsinou
- * 
- *         Launch the batch built in the ProcessBuilderView
- * 
- *         NOTE : only one batch is supported with this command, if more than
- *         one batch is planned, this class must be updated with parameter.
- */
-public class LaunchBatchHandler extends AbstractHandler {
-       // private final static Log log =
-       // LogFactory.getLog(LaunchBatchHandler.class);
-
-       public Object execute(ExecutionEvent event) throws ExecutionException {
-               ProcessBuilderView pbView = (ProcessBuilderView) HandlerUtil
-                               .getActiveWorkbenchWindow(event).getActivePage()
-                               .findView(ProcessBuilderView.ID);
-               pbView.launchBatch();
-               return null;
-       }
-
-}