| [news.eclipse.platform] How to enable/disable a menu with the new org.eclipse.ui.menus extension point? |
I like to enable/disable a menu defined with the new org.eclipse.ui.menus extension point. There is only a 'visibleWhen' entry in the schema but no enablementWhen entry. The IHandler interface has a isEnabled method but without any execution context as parameter. What do I have to do in order change the enablement state depending on the actual selection for example. Thanks - Stephan Lötscher