Some colleagues asked you to add a right-click menu in the new Wizard, which may be like this: this requirement can be done through the org. Eclipse. UI. perspectiveextensions extension point. Eg: Step 1: implement the org. Eclipse. UI. newwizards wizard
<Extension point = "org. eclipse. UI. newwizards "> <category id =" createtype "name =" sample wizards "> </Category> <wizard Category =" createtype "class =" createtype. wizards. samplenewwizard "icon =" icons/sample.gif "id =" createtype. wizards. samplenewwizard11 "name =" My new wizard menu "> </Wizard> </extension>
Step 2: Extend org. Eclipse. UI. perspectiveextensions.
<extension point="org.eclipse.ui.perspectiveExtensions"> <perspectiveExtension targetID="org.eclipse.jdt.ui.JavaPerspective"> <newWizardShortcut id="createtype.wizards.SampleNewWizard11"> </newWizardShortcut> </perspectiveExtension> </extension>
Note: targetid is the Java perspective id <newwizardshortcut id = "createtype. wizards. the ID in samplenewwizard11 "> </newwizardshortcut> is the ID of the new Wizard to be added to the new menu. The bug is run or debug, which is not displayed. Clear the cache (run deployments ---> clear workspace data) and it will be displayed. I don't know if this is a bug of the pdpa.