X-Git-Url: http://git.argeo.org/?a=blobdiff_plain;ds=sidebyside;f=org.argeo.slc.client.ui.dist%2Fsrc%2Forg%2Fargeo%2Fslc%2Fclient%2Fui%2Fdist%2Fcommands%2FDoNothing.java;fp=org.argeo.slc.client.ui.dist%2Fsrc%2Forg%2Fargeo%2Fslc%2Fclient%2Fui%2Fdist%2Fcommands%2FDoNothing.java;h=5519359ad635b17f97ed5783fd0d25a81dabf81a;hb=2db415932b071525adb52c6374e021174512a924;hp=0000000000000000000000000000000000000000;hpb=7e2f6c6ae08e97925955184aaa29035ac05de149;p=gpl%2Fargeo-slc.git diff --git a/org.argeo.slc.client.ui.dist/src/org/argeo/slc/client/ui/dist/commands/DoNothing.java b/org.argeo.slc.client.ui.dist/src/org/argeo/slc/client/ui/dist/commands/DoNothing.java new file mode 100644 index 000000000..5519359ad --- /dev/null +++ b/org.argeo.slc.client.ui.dist/src/org/argeo/slc/client/ui/dist/commands/DoNothing.java @@ -0,0 +1,17 @@ +package org.argeo.slc.client.ui.dist.commands; + +import org.argeo.slc.client.ui.dist.DistPlugin; +import org.eclipse.core.commands.AbstractHandler; +import org.eclipse.core.commands.ExecutionEvent; +import org.eclipse.core.commands.ExecutionException; + +/** + * Utilitary command used to enable sub menus in various toolbars. Does nothing + */ +public class DoNothing extends AbstractHandler { + public final static String ID = DistPlugin.ID + ".doNothing"; + + public Object execute(ExecutionEvent event) throws ExecutionException { + return null; + } +}