> 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

Reply via email to