Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[pde-dev] Enable/Disable plugin.xml generated menus

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!
Javier Der Derian
---
"Siempre es mejor Cumplir la Palabra"

Back to the top