]> git.argeo.org Git - lgpl/argeo-commons.git/blob - DoNothing.java
2f8e56ceb371b3ac8e14c0f46fa8a2fc8df9c6a3
[lgpl/argeo-commons.git] / DoNothing.java
1 package org.argeo.eclipse.ui.workbench.commands;
2
3 import org.argeo.eclipse.ui.workbench.WorkbenchUiPlugin;
4 import org.eclipse.core.commands.AbstractHandler;
5 import org.eclipse.core.commands.ExecutionEvent;
6 import org.eclipse.core.commands.ExecutionException;
7
8 /** Utilitary command to enable sub menus in various toolbars. Does nothing */
9 public class DoNothing extends AbstractHandler {
10 public final static String ID = WorkbenchUiPlugin.ID + ".doNothing";
11
12 public Object execute(ExecutionEvent event) throws ExecutionException {
13 return null;
14 }
15 }