]> git.argeo.org Git - lgpl/argeo-commons.git/blob - org.argeo.eclipse.ui.workbench/src/org/argeo/eclipse/ui/workbench/commands/DoNothing.java
Add the ability to remove a JCR privilege from a given node
[lgpl/argeo-commons.git] / org.argeo.eclipse.ui.workbench / src / org / argeo / eclipse / ui / workbench / commands / 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 }