Plug-in development contributes a bug in the Wizard creation for the Java perspective (Org. Eclipse. UI. perspectiveextensions)

Source: Internet
Author: User
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.
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.