mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-10 01:35:39 +02:00
Bug 259073 - Duplicate wizard shortcuts in File > New menu
This commit is contained in:
parent
76f62916b8
commit
0abeb03657
4 changed files with 6 additions and 130 deletions
|
@ -37,7 +37,7 @@
|
||||||
<!--wizard
|
<!--wizard
|
||||||
name="%WizardNewCCMakeProject.name"
|
name="%WizardNewCCMakeProject.name"
|
||||||
icon="icons/etool16/newcc_app.gif"
|
icon="icons/etool16/newcc_app.gif"
|
||||||
category="org.eclipse.cdt.ui.newCCWizards"
|
category="org.eclipse.cdt.ui.newCWizards"
|
||||||
class="org.eclipse.cdt.make.ui.wizards.NewMakeCCProjectWizard"
|
class="org.eclipse.cdt.make.ui.wizards.NewMakeCCProjectWizard"
|
||||||
project="true"
|
project="true"
|
||||||
finalPerspective="org.eclipse.cdt.ui.CPerspective"
|
finalPerspective="org.eclipse.cdt.ui.CPerspective"
|
||||||
|
@ -46,20 +46,6 @@
|
||||||
%WizardNewCCMakeProject.description
|
%WizardNewCCMakeProject.description
|
||||||
</description>
|
</description>
|
||||||
</wizard>
|
</wizard>
|
||||||
<wizard
|
|
||||||
name="%WizardConvertMakeProject.name"
|
|
||||||
icon="icons/etool16/convert-normal.gif"
|
|
||||||
category="org.eclipse.cdt.ui.newCCWizards"
|
|
||||||
class="org.eclipse.cdt.make.ui.wizards.ConvertToMakeProjectWizard"
|
|
||||||
finalPerspective="org.eclipse.cdt.ui.CPerspective"
|
|
||||||
id="org.eclipse.cdt.ui.wizards.ConvertToMakeWizard">
|
|
||||||
<description>
|
|
||||||
%WizardConvertMakeProject.description
|
|
||||||
</description>
|
|
||||||
<selection
|
|
||||||
class="org.eclipse.core.resources.IProject">
|
|
||||||
</selection>
|
|
||||||
</wizard>
|
|
||||||
</extension-->
|
</extension-->
|
||||||
<extension
|
<extension
|
||||||
point="org.eclipse.ui.popupMenus">
|
point="org.eclipse.ui.popupMenus">
|
||||||
|
|
|
@ -23,22 +23,6 @@
|
||||||
class="org.eclipse.core.resources.IProject">
|
class="org.eclipse.core.resources.IProject">
|
||||||
</selection>
|
</selection>
|
||||||
</wizard>
|
</wizard>
|
||||||
<wizard
|
|
||||||
category="org.eclipse.cdt.ui.newCCWizards"
|
|
||||||
class="org.eclipse.cdt.managedbuilder.ui.wizards.ConvertToMakeWizard"
|
|
||||||
finalPerspective="org.eclipse.cdt.ui.CPerspective"
|
|
||||||
hasPages="true"
|
|
||||||
icon="icons/obj16/convert-normal.gif"
|
|
||||||
id="org.eclipse.cdt.ui.wizards.ConvertToMakeWizard"
|
|
||||||
name="%WizardConvertMakeProject.name"
|
|
||||||
>
|
|
||||||
<description>
|
|
||||||
%WizardConvertMakeProject.description
|
|
||||||
</description>
|
|
||||||
<selection
|
|
||||||
class="org.eclipse.core.resources.IProject">
|
|
||||||
</selection>
|
|
||||||
</wizard>
|
|
||||||
</extension>
|
</extension>
|
||||||
|
|
||||||
<extension
|
<extension
|
||||||
|
|
|
@ -26,11 +26,8 @@ CView.name=C/C++ Projects
|
||||||
cPropertyTabName=New CDT Model Property Tab
|
cPropertyTabName=New CDT Model Property Tab
|
||||||
|
|
||||||
# The Wizards
|
# The Wizards
|
||||||
# C
|
# C/C++
|
||||||
newCWizardsCategory.name=C
|
newCWizardsCategory.name=C/C++
|
||||||
|
|
||||||
# C++
|
|
||||||
newCCWizardsCategory.name=C++
|
|
||||||
|
|
||||||
categoryCDT.name=CDT
|
categoryCDT.name=CDT
|
||||||
|
|
||||||
|
|
|
@ -283,13 +283,8 @@
|
||||||
name="%typeHierarchy.name"/>
|
name="%typeHierarchy.name"/>
|
||||||
</extension>
|
</extension>
|
||||||
<!-- The wizards -->
|
<!-- The wizards -->
|
||||||
<!-- For C Wizards -->
|
|
||||||
<extension
|
<extension
|
||||||
point="org.eclipse.ui.newWizards">
|
point="org.eclipse.ui.newWizards">
|
||||||
<!--category
|
|
||||||
name="%categoryCDT.name"
|
|
||||||
id="org.eclipse.cdt.ui.newCDTWizards">
|
|
||||||
</category-->
|
|
||||||
<category
|
<category
|
||||||
name="%newCWizardsCategory.name"
|
name="%newCWizardsCategory.name"
|
||||||
id="org.eclipse.cdt.ui.newCWizards">
|
id="org.eclipse.cdt.ui.newCWizards">
|
||||||
|
@ -359,15 +354,10 @@
|
||||||
%NewWizards.folder.description
|
%NewWizards.folder.description
|
||||||
</description>
|
</description>
|
||||||
</wizard>
|
</wizard>
|
||||||
<!-- For C++ Wizards -->
|
|
||||||
<category
|
|
||||||
name="%newCCWizardsCategory.name"
|
|
||||||
id="org.eclipse.cdt.ui.newCCWizards">
|
|
||||||
</category>
|
|
||||||
<wizard
|
<wizard
|
||||||
name="%NewWizards.class"
|
name="%NewWizards.class"
|
||||||
icon="icons/etool16/newclass_wiz.gif"
|
icon="icons/etool16/newclass_wiz.gif"
|
||||||
category="org.eclipse.cdt.ui.newCCWizards"
|
category="org.eclipse.cdt.ui.newCWizards"
|
||||||
finalPerspective="org.eclipse.cdt.ui.CPerspective"
|
finalPerspective="org.eclipse.cdt.ui.CPerspective"
|
||||||
id="org.eclipse.cdt.ui.wizards.NewClassCreationWizard">
|
id="org.eclipse.cdt.ui.wizards.NewClassCreationWizard">
|
||||||
<class class="org.eclipse.cdt.internal.ui.wizards.NewClassCreationWizard">
|
<class class="org.eclipse.cdt.internal.ui.wizards.NewClassCreationWizard">
|
||||||
|
@ -379,88 +369,8 @@
|
||||||
</description>
|
</description>
|
||||||
</wizard>
|
</wizard>
|
||||||
<wizard
|
<wizard
|
||||||
name="%NewWizards.sourceFile"
|
|
||||||
icon="icons/etool16/newcfile_wiz.gif"
|
|
||||||
category="org.eclipse.cdt.ui.newCCWizards"
|
|
||||||
finalPerspective="org.eclipse.cdt.ui.CPerspective"
|
|
||||||
id="org.eclipse.cdt.ui.wizards.NewSourceFileCreationWizard">
|
|
||||||
<class class="org.eclipse.cdt.ui.wizards.NewSourceFileCreationWizard">
|
|
||||||
<parameter name="cfile" value="true"/>
|
|
||||||
</class>
|
|
||||||
<description>
|
|
||||||
%NewWizards.sourceFile.description
|
|
||||||
</description>
|
|
||||||
</wizard>
|
|
||||||
<wizard
|
|
||||||
name="%NewWizards.headerFile"
|
|
||||||
icon="icons/etool16/newhfile_wiz.gif"
|
|
||||||
category="org.eclipse.cdt.ui.newCCWizards"
|
|
||||||
finalPerspective="org.eclipse.cdt.ui.CPerspective"
|
|
||||||
id="org.eclipse.cdt.ui.wizards.NewHeaderFileCreationWizard">
|
|
||||||
<class class="org.eclipse.cdt.ui.wizards.NewHeaderFileCreationWizard">
|
|
||||||
<parameter name="cfile" value="true"/>
|
|
||||||
</class>
|
|
||||||
<description>
|
|
||||||
%NewWizards.headerFile.description
|
|
||||||
</description>
|
|
||||||
</wizard>
|
|
||||||
<wizard
|
|
||||||
name="%NewWizards.file"
|
|
||||||
icon="icons/etool16/newfile_wiz.gif"
|
|
||||||
category="org.eclipse.cdt.ui.newCCWizards"
|
|
||||||
finalPerspective="org.eclipse.cdt.ui.CPerspective"
|
|
||||||
id="org.eclipse.cdt.ui.wizards.NewFileCreationWizard">
|
|
||||||
<class class="org.eclipse.cdt.internal.ui.wizards.filewizard.NewFileFromTemplateWizard">
|
|
||||||
<parameter name="cfile" value="true"/>
|
|
||||||
</class>
|
|
||||||
<description>
|
|
||||||
%NewWizards.file.description
|
|
||||||
</description>
|
|
||||||
</wizard>
|
|
||||||
<wizard
|
|
||||||
name="%NewWizards.sourceFolder"
|
|
||||||
icon="icons/etool16/newsrcfldr_wiz.gif"
|
|
||||||
category="org.eclipse.cdt.ui.newCCWizards"
|
|
||||||
finalPerspective="org.eclipse.cdt.ui.CPerspective"
|
|
||||||
id="org.eclipse.cdt.ui.wizards.NewSourceFolderCreationWizard">
|
|
||||||
<class class="org.eclipse.cdt.ui.wizards.NewSourceFolderCreationWizard">
|
|
||||||
<parameter name="cfolder" value="true"/>
|
|
||||||
</class>
|
|
||||||
<description>
|
|
||||||
%NewWizards.sourceFolder.description
|
|
||||||
</description>
|
|
||||||
</wizard>
|
|
||||||
<wizard
|
|
||||||
name="%NewWizards.folder"
|
|
||||||
icon="icons/etool16/newfolder_wiz.gif"
|
|
||||||
category="org.eclipse.cdt.ui.newCCWizards"
|
|
||||||
finalPerspective="org.eclipse.cdt.ui.CPerspective"
|
|
||||||
id="org.eclipse.cdt.ui.wizards.NewFolderCreationWizard">
|
|
||||||
<class class="org.eclipse.ui.wizards.newresource.BasicNewFolderResourceWizard">
|
|
||||||
<parameter name="cfolder" value="true"/>
|
|
||||||
</class>
|
|
||||||
<description>
|
|
||||||
%NewWizards.folder.description
|
|
||||||
</description>
|
|
||||||
</wizard>
|
|
||||||
|
|
||||||
<!--wizard
|
|
||||||
canFinishEarly="false"
|
canFinishEarly="false"
|
||||||
category="org.eclipse.cdt.ui.newCDTWizards"
|
category="org.eclipse.cdt.ui.newCWizards"
|
||||||
class="org.eclipse.cdt.ui.wizards.CDTProjectWizard"
|
|
||||||
finalPerspective="org.eclipse.cdt.ui.CPerspective"
|
|
||||||
hasPages="true"
|
|
||||||
icon="icons/elcl16/newmngcc_app.gif"
|
|
||||||
id="org.eclipse.cdt.ui.wizards.NewCWizard3"
|
|
||||||
name="%CDTproject"
|
|
||||||
project="true">
|
|
||||||
<description>
|
|
||||||
%CDTproject.desc
|
|
||||||
</description>
|
|
||||||
</wizard-->
|
|
||||||
<wizard
|
|
||||||
canFinishEarly="false"
|
|
||||||
category="org.eclipse.cdt.ui.newCCWizards"
|
|
||||||
class="org.eclipse.cdt.ui.wizards.CCProjectWizard"
|
class="org.eclipse.cdt.ui.wizards.CCProjectWizard"
|
||||||
finalPerspective="org.eclipse.cdt.ui.CPerspective"
|
finalPerspective="org.eclipse.cdt.ui.CPerspective"
|
||||||
hasPages="true"
|
hasPages="true"
|
||||||
|
@ -486,9 +396,8 @@
|
||||||
%Cproject.desc
|
%Cproject.desc
|
||||||
</description>
|
</description>
|
||||||
</wizard>
|
</wizard>
|
||||||
|
|
||||||
|
|
||||||
</extension>
|
</extension>
|
||||||
|
|
||||||
<!-- Define the document setup participant for the C/C++ and Assembly Editors -->
|
<!-- Define the document setup participant for the C/C++ and Assembly Editors -->
|
||||||
<extension
|
<extension
|
||||||
id="org.eclipse.cdt.ui.CDocumentSetupParticipant"
|
id="org.eclipse.cdt.ui.CDocumentSetupParticipant"
|
||||||
|
|
Loading…
Add table
Reference in a new issue