|hide menu items [message #869957]
||Sat, 05 May 2012 03:37
| Heike Winkelvoß
Registered: April 2012
in Eclipse 3x there was an easy an powerful way to hide menu items by adding a visibleWhen checkEnabled = true- condition in the plugin.xml.
In e4 I can also add a visibleWhen - condition but only with a core expression which makes simulating the checkEnabled- behaviour rather compilcated.
Since there is already a @CanExecute-Annotation wouldn't it be easy to provide this together with the visibleWhen in the same manner as in E3?
Powered by FUDForum
. Page generated in 0.01647 seconds