View Javadoc
1   package org.argeo.cms.ui.workbench.commands;
2   
3   import org.argeo.cms.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.PLUGIN_ID + ".doNothing";
11  
12  	public Object execute(ExecutionEvent event) throws ExecutionException {
13  		return null;
14  	}
15  }