pivot-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Brown <gkbr...@mac.com>
Subject Re: Dynamic menu buttons
Date Tue, 13 Apr 2010 17:06:08 GMT
> I added the dynamic menus as you suggested, but my menu items are showing up as disabled.

Are the actions themselves enabled? If not, the menu items will also not be enabled.

> Also, how do I get selected menu item from the action.

This is not possible. Actions are not directly associated with any UI element, since they
can be assigned to multiple elements (e.g. a menu item, a toolbar button, and a keystroke
handler). If you need to know the source of the action, you may need to register an event
listener on the menu item itself.

Greg


Mime
View raw message