Access to the MenuManager managing the org.eclipse.ui.popupMenus extensions [message #290294] |
Tue, 23 August 2005 05:54 |
Eclipse User |
|
|
|
Originally posted by: jaishirole.gmail.com
For right click context menus, Eclipse provides us the
org.eclipse.ui.popupMenus extension point. The extenders have to deal with
their extensions in plugin.xml only. As far as I know, the aboutToShow()
event of IMenuListener and filling up of MenuManager with Actions is still
done by the eclipse internal code.
Can we somehow get access to that MenuManager instance programmatically. I
mean,lets say I have extended the extension point, but at runtime I want
to add some actions that I didn't specify in plugin.xml.
Any ideas how this can be achieved?
Thanks,
Jai.
|
|
|
Re: Access to the MenuManager managing the org.eclipse.ui.popupMenus extensions [message #290296 is a reply to message #290294] |
Tue, 23 August 2005 07:31 |
Eclipse User |
|
|
|
Originally posted by: stepper.sympedia.de
Jai,
I learned it with http://bugs.eclipse.org/bugs/show_bug.cgi?id=11114#c20
Maybe there are hints for you...
Cheers
/Eike
Jai schrieb:
> For right click context menus, Eclipse provides us the
> org.eclipse.ui.popupMenus extension point. The extenders have to deal
> with their extensions in plugin.xml only. As far as I know, the
> aboutToShow() event of IMenuListener and filling up of MenuManager with
> Actions is still done by the eclipse internal code.
>
> Can we somehow get access to that MenuManager instance programmatically.
> I mean,lets say I have extended the extension point, but at runtime I
> want to add some actions that I didn't specify in plugin.xml.
>
> Any ideas how this can be achieved?
>
> Thanks,
> Jai.
>
|
|
|
Powered by
FUDForum. Page generated in 0.02891 seconds