X-Git-Url: http://git.argeo.org/?a=blobdiff_plain;f=eclipse%2Fplugins%2Fruntime%2Forg.argeo.slc.client.ui%2Fsrc%2Fmain%2Fjava%2Forg%2Fargeo%2Fslc%2Fclient%2Fui%2Fcommands%2FLaunchBatchHandler.java;fp=eclipse%2Fplugins%2Fruntime%2Forg.argeo.slc.client.ui%2Fsrc%2Fmain%2Fjava%2Forg%2Fargeo%2Fslc%2Fclient%2Fui%2Fcommands%2FLaunchBatchHandler.java;h=0000000000000000000000000000000000000000;hb=a857d591b8658b2f94ec9398b94e9447f130eb9d;hp=e770c34b052e40a557f7adfc0f354e8e4b257cd0;hpb=7a7ebb1664ddbbccab83149a16207e7f11b47580;p=gpl%2Fargeo-slc.git 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 index e770c34b0..000000000 --- a/eclipse/plugins/runtime/org.argeo.slc.client.ui/src/main/java/org/argeo/slc/client/ui/commands/LaunchBatchHandler.java +++ /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; - } - -}