I am trying to add a new menu item to Eclipse popupmenus. In the examples and tutorials, it really seemed quite simple, but the menu item itself is never displayed. I expect this to work in all views and mainly for everything that is a file. I am using Eclipse 3.4. This is my plugin.xml configuration:
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.2"?>
<plugin>
<extension
point="org.eclipse.ui.popupMenus">
<objectContribution
objectClass="org.eclipse.core.resources.IFile"
id="com.willcodejavaforfood.ExploreHere.contribution1">
<action
label="Explore Here"
class="com.willcodejavaforfood.explorehere.popup.actions.ExploreHereAction"
menubarPath="additions"
enablesFor="1"
id="com.willcodejavaforfood.ExploreHere.newAction">
</action>
</objectContribution>
</extension>
</plugin>
Any idea why it is never visible?
---- ---- edit
It turns out that my plugin works great in version 3.4.2 of Ganymede, but not in the old version 3.4.0, which I previously used.
source
share