[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.rcp] Enable/Disable Menu item for multi selection


Hi,

I am trying to enable/disable menuitem in context menu using "enableWhen" and propertyTester in handler. It works fine for single selection. But when I multi select items in tree, It checks only one object. How can I enable/disable menu items based upon the state of multiple object? Is there any other way of enabling/disabling items apart from propertytester. I tried to override isEnabled() method of IHandler but my object was not available here.

Regards,
Anubhav Manak