eclipse 3.3 - problem attaching a command to a context menu using org.eclipse.ui.menus extension poi [message #319865] |
Tue, 04 September 2007 15:55  |
Eclipse User |
|
|
|
Hi All,
I am having a problem attaching a command to a context menu using the
org.eclipse.ui.menus extension point. The command is not being shown on the
context menu of the editor. I was able to attach the command fine when I
specified menu:.... and toolbar:.... in the locationURI. Below is the xml
for the menus extension point. I would appreciate any help.
Thanks,
Jim
<extension
point="org.eclipse.ui.menus">
<menuContribution
locationURI="popup:#TextEditorContext?after=additions">
<menu
icon="icons/teamcenter_app_16.gif"
id="com.towers.contextmenu.menus.sampleMenu"
label="Sample Contect menu"
mnemonic="M">
<command
commandId="com.towers.contextmenu.commands.sampleCommand"
mnemonic="S"
id="com.towers.contextmenu.menus.sampleCommand">
</command>
</menu>
</menuContribution>
</extension>
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.06492 seconds