Enable/Disable plugin.xml generated menus [message #336638] |
Thu, 25 June 2009 12:32  |
Eclipse User |
|
|
|
Hi!
This is my first email to this list.
I'm working on qbzr-eclipse, a plugin to integrate qbzr [
http://bazaar-vcs.org/QBzr ] with eclipse.
Right now I'm working on refectoring the main qbzr-eclipse menu, which
used to be just a long plain menu. Now it's divided in submenus.
What I need to do now is to enable/disable some menuitems according to one
simple variable: the selected project is versioned in bazaar [
http://bazaar-vcs.org/ ] or not.
I've tried like 20 ways of doing this...but I can't find a way to actually
access the menuitem from inside the plugin's code. None of the examples I
found on the web helped me =(
ANY input on how to do this would be great, I have no problem on
refactoring the code I've already written.
Thanks!
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03404 seconds