|Re: Plugin context menu conditions [message #659112]
||Fri, 11 March 2011 01:01
| Deepak Azad
Registered: July 2009
On 3/11/2011 1:13 AM, ShatyUT wrote:|
> I have a plugin project going. I am able to add a command to the context
> menu but I would like to be able to execute some Java code to determine
> if the item should be added to the menu. Is that possible?
> I've seen plenty of examples for checking for count and stuff...even if
> the element is an instandOf a specific class but I need to narrow it
> down even further. Does someone have any examples of how to point to a
> method of a Java class that will return true or false to determine
> whether to display the menu item?
> Thanks for any help!
You want eclipse.platform newsgroup, cc'ing.
Powered by FUDForum
. Page generated in 0.02324 seconds