Adding a wizard to the new context menu of the package explorer [message #523471] |
Fri, 26 March 2010 10:53  |
Eclipse User |
|
|
|
Hello everybody,
I'm trying to add a wizard to the new context menu of the package explorer via the extension point "org.eclipse.ui.navigator.navigatorContent". The following configuration inside the plugin.xml of my plugin works for the project explorer, but not for the package explorer:
<extension point="org.eclipse.ui.navigator.navigatorContent">
<commonWizard
type="new"
menuGroupId="org.eclipse.jdt.ui.java"
wizardId="WIZARD_ID_PLACEHOLDER">
<enablement>
<instanceof
value="org.eclipse.jdt.core.IPackageFragment">
</instanceof>
</enablement>
</commonWizard>
</extension>
What am I doing wrong? The wizard shall only be available for package fragments and shall be displayed inside the Java section of the new context menu. Thanks in advance!
Best regards, Robin.
|
|
|
|
Powered by
FUDForum. Page generated in 0.05081 seconds