org.eclipse.ui.menus ext point problem [message #641592] |
Fri, 26 November 2010 04:02  |
Eclipse User |
|
|
|
Hello
I want to add a popup menu to an existing popup menu.
The existing popup menu is using the old style org.eclipse.ui.popupMenus extension point.
I want to use the new style org.eclipse.ui.menus extension point to be able to use commands.
But I have tried every combination of menu ids and queries I can imagine. But nothing helped.
Here is the object contribution declaration I want to add my command to:
<objectContribution
id="org.eclipse.cdt.ui.cresources.contrib"
objectClass="org.eclipse.cdt.core.model.ICElement">
<action
class="org.eclipse.cdt.internal.ui.actions.FreshenIndexAction "
id="org.eclipse.cdt.ui.updateIndexAction"
label="%FreshenIndex.name"
menubarPath="org.eclipse.cdt.ui.indexmenu/update">
</action>
<menu
id="org.eclipse.cdt.ui.indexmenu"
label="%Index.menu"
path="buildGroup">
<separator
name="update">
</separator>
</menu>
</objectContribution>
Is there any description on how to do that?
Help would be really appreciated
Greets Marko
|
|
|
|
Powered by
FUDForum. Page generated in 0.03660 seconds