raptor
raptor

Reputation: 51

Display my custom project to be selected just after clicking NEW menu

Currently when i want to select my Custom project, it is has to be selected by NEW->OTHER..->My-Custom-Project.

Is it possible to display my custom project under NEW menu. NEW->My-Custom-Project.

Upvotes: 0

Views: 40

Answers (1)

greg-449
greg-449

Reputation: 111142

Assuming you have written a New Wizard for your custom project use the org.eclipse.ui.perspectiveExtensions extension point to add a 'new wizard shortcut' to display the wizard directly on the New menu.

Something like:

<extension point="org.eclipse.ui.perspectiveExtensions"> 
    <perspectiveExtension 
        targetID="org.eclipse.ui.resourcePerspective"> 
        <newWizardShortcut id="org.eclipse.jdt.ui.wizards.NewProjectCreationWizard"/> 

The shortcut is specific to the perspective.

You may have to do a Perspective Reset (or Customize Perspective) to get the new shortcut to show.

Upvotes: 1

Related Questions