| [news.eclipse.platform] Re: Contribute both a command Id plus an action implementation to another plugin. |
I'm using 3.2. There doesn't appear to be a HandlerUtil in 3.2. So I'm doing,
You can also simply supply a default handler in your command definition (but you can only supply one).
Does that work in 3.2? It is documented in the 3.2 Help files but if I specify a default handler it never gets invoked. Never even gets constructed (I put a breakpoint in the constructor).
With the activeWhen commented out the handler is never invoked. With the activeWhen not commented out then the handler is invoked.
Is there perhaps a way to specify an activeWhen expression that is simply a constant TRUE literal? Looking at the documentation there doesn't seem to be a way.
Later, PW
-- Paul Webster http://wiki.eclipse.org/Platform_Command_Framework http://wiki.eclipse.org/Command_Core_Expressions http://wiki.eclipse.org/Menu_Contributions http://wiki.eclipse.org/Menus_Extension_Mapping http://help.eclipse.org/help33/index.jsp?topic=/org.eclipse.platform.doc.isv/guide/workbench.htm