Skip to content

Commit

Permalink
#6 Add Express Project in main menu under File -> New (in Node
Browse files Browse the repository at this point in the history
perspective)
  • Loading branch information
tomotaro1065 committed Apr 18, 2013
1 parent 8831ed6 commit c980659
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 11 deletions.
22 changes: 11 additions & 11 deletions org.nodeclipse.ui/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,15 @@
id="org.nodeclipse.ui.wizards.category"
name="Node">
</category>
<wizard
category="org.nodeclipse.ui.wizards.category"
class="org.nodeclipse.ui.wizards.ExpressProjectWizard"
finalPerspective="org.nodeclipse.ui.perspectives.NodePerspective"
icon="icons/node.png"
id="org.nodeclipse.ui.wizards.ExpressProjectWizard"
name="Node Express Project"
project="true">
</wizard>
<wizard
category="org.nodeclipse.ui.wizards.category"
class="org.nodeclipse.ui.wizards.NodeProjectWizard"
Expand All @@ -30,15 +39,6 @@
Create a new Node source file
</description>
</wizard>
<wizard
category="org.nodeclipse.ui.wizards.category"
class="org.nodeclipse.ui.wizards.ExpressProjectWizard"
finalPerspective="org.nodeclipse.ui.perspectives.NodePerspective"
icon="icons/node.png"
id="org.nodeclipse.ui.wizards.ExpressProjectWizard"
name="Express Project"
project="true">
</wizard>
</extension>
<extension
point="org.eclipse.ui.editors">
Expand Down Expand Up @@ -145,13 +145,13 @@
<commonWizard
menuGroupId="org.nodeclipse.ui.wizards.category"
type="new"
wizardId="org.nodeclipse.ui.wizards.NodeProjectWizard">
wizardId="org.nodeclipse.ui.wizards.ExpressProjectWizard">
<enablement></enablement>
</commonWizard>
<commonWizard
menuGroupId="org.nodeclipse.ui.wizards.category"
type="new"
wizardId="org.nodeclipse.ui.wizards.ExpressProjectWizard">
wizardId="org.nodeclipse.ui.wizards.NodeProjectWizard">
<enablement></enablement>
</commonWizard>
<commonWizard
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ private void addPerspectiveShortcuts() {
}

private void addNewWizardShortcuts() {
factory.addNewWizardShortcut("org.nodeclipse.ui.wizards.ExpressProjectWizard");
factory.addNewWizardShortcut("org.nodeclipse.ui.wizards.NodeProjectWizard");
factory.addNewWizardShortcut("org.nodeclipse.ui.wizards.NodeFileWizard");
factory.addNewWizardShortcut("org.eclipse.ui.wizards.new.folder");// NON-NLS-1
Expand Down

0 comments on commit c980659

Please sign in to comment.