|How to define a org.eclipse.ui.menus contribution for sub-context-menus [message #841454]
||Wed, 11 April 2012 06:23
| Rüdiger Herrmann
Registered: July 2009
I am trying to contribute to any popup menu by using the
org.eclipse.ui.menus extension point. But instead of placing the menu on
the first level of the context menu, it should appear in a sub-menu of
the context menu. More specifically in the 'Compare with' menu.
If I would use the popupMenus extension point, the menubarPath would be
'compareWithMenu/compareWithGroup'. But with the menus extension point I
haven't found a way to specify the location (other than in the first
level of the context menu)
My extension looks like this:
But it seems to be not possible to specify a path in the 'after'
parameter. Whatever I specify , it either doesn't show up or only shows
in the first level (e.g. 'additions'). Does anyone know how this works?
Powered by FUDForum
. Page generated in 0.02677 seconds