Context Menu Toggle Command [message #334528] |
Mon, 16 February 2009 04:58  |
Eclipse User |
|
|
|
Hello,
I'm trying to build a toggle-style context menu with the command
framework. While the command framework does offer a way to specifiy such
toggle commands, I can find no mentioning of how the toggle would be
represented in a context menu. Additionally, I can not see a way to
specify the actual toggle state depending on the context (I have to use
project natures) - only global ways to do this appear to be available. I
need to change this state when the user changes the current selection.
Can this be achieved using the command framework or do I have to revert
to popupActions or even use two separate commands for addition and
removal of my nature?
Regards
Damian Philipp
|
|
|
|
Powered by
FUDForum. Page generated in 0.02919 seconds