[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.platform] Help with adding wizard shortcut

I want to add my wizard directly to the "new" submenu of the File menu but I 
can't quite succeed.
I have created my own category where i've put the wizard and registered an 
extension to the org.eclipse.ui.perspectiveExtensions extension point to add 
my wizard shortcut as an extension to the Java Perspective.
Here is the part of the plugin.xml file that does that:
<extension

point="org.eclipse.ui.perspectiveExtensions">

<perspectiveExtension targetID="org.eclipse.jdt.ui.JavaPerspective">

<newWizardShortcut id="org.ama.ide.newWizards.newClass"/>

</perspectiveExtension>

<perspectiveExtension targetID="org.eclipse.jdt.ui.JavaBrowsingPerspective">

<newWizardShortcut id="org.ama.ide.newWizards.newClass"/>

</perspectiveExtension>

</extension>

Now, what am I doing wrong? Please help asap!

10x