Reputation: 473
I'm trying to add a submenu to Import and Export items in Project-Explorer's context menu. But, I can't find the menuid/locationURI of those items on the menu.
Can someone please help me to add items to these Import/Export menu items in Eclipse. I'm using Oxygen version. I tried the below segment, but it adds the item under the import/export items.
<extension
point="org.eclipse.ui.menus">
<menuContribution
locationURI="popup:org.eclipse.ui.navigator.ProjectExplorer#PopupMenu?after=addition">
<command
commandId="myplugin.command.mycommand"
icon="icons/etool16/mycommand.png"
label="Run mycommand"
mnemonic="M1+P"
tooltip="Do something with this project">
</command>
</menuContribution>
</extension>
Upvotes: 0
Views: 237