1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

new class wizard enablement should only be on ccnature

This commit is contained in:
David Inglis 2003-09-25 13:45:12 +00:00
parent 4833b2d494
commit d1e8e5afbd

View file

@ -27,9 +27,9 @@
<extension-point id="CElementFilters" name="%elementFiltersName"/> <extension-point id="CElementFilters" name="%elementFiltersName"/>
<extension-point id="BinaryParserPage" name="Binary Parser Page"/> <extension-point id="BinaryParserPage" name="Binary Parser Page"/>
<!-- =========================================================================== --> <!-- =========================================================================== -->
<!-- Extension Implementation: must implement org.eclipse.jface.text.ITextHover -->
<!-- Purpose: Provide a perspective specific text hovering for CEditor files -->
<!-- Extension point: org.eclipse.cdt.ui.textHovers --> <!-- Extension point: org.eclipse.cdt.ui.textHovers -->
<!-- Purpose: Provide a perspective specific text hovering for CEditor files -->
<!-- Extension Implementation: must implement org.eclipse.jface.text.ITextHover -->
<!-- =========================================================================== --> <!-- =========================================================================== -->
<extension-point id="textHovers" name="%textHoversName"/> <extension-point id="textHovers" name="%textHoversName"/>
@ -130,8 +130,8 @@
id="org.eclipse.cdt.ui.CView"> id="org.eclipse.cdt.ui.CView">
</view> </view>
</extension> </extension>
<!-- The wizards -->
<!-- For C Wizards --> <!-- For C Wizards -->
<!-- The wizards -->
<extension <extension
point="org.eclipse.ui.newWizards"> point="org.eclipse.ui.newWizards">
<category <category
@ -326,6 +326,12 @@
class="org.eclipse.cdt.ui.actions.OpenClassWizardAction" class="org.eclipse.cdt.ui.actions.OpenClassWizardAction"
toolbarPath="Normal/FolderWizards" toolbarPath="Normal/FolderWizards"
id="org.eclipse.cdt.ui.actions.OpenClassWizardAction"> id="org.eclipse.cdt.ui.actions.OpenClassWizardAction">
<enablement>
<objectState
name="projectNature"
value="org.eclipse.cdt.core.ccnature">
</objectState>
</enablement>
</action> </action>
</actionSet> </actionSet>
</extension> </extension>