Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Inglis2003-09-25 13:45:12 +0000
committerDavid Inglis2003-09-25 13:45:12 +0000
commitd1e8e5afbd51674499350d69e3f61995e26ec3fc (patch)
tree0045892b007807475dcaa9f631fe4be9cc4e0320 /core/org.eclipse.cdt.ui/plugin.xml
parent4833b2d4945ed28e9cb994ddc61c3b15e067e182 (diff)
downloadorg.eclipse.cdt-d1e8e5afbd51674499350d69e3f61995e26ec3fc.tar.gz
org.eclipse.cdt-d1e8e5afbd51674499350d69e3f61995e26ec3fc.tar.xz
org.eclipse.cdt-d1e8e5afbd51674499350d69e3f61995e26ec3fc.zip
new class wizard enablement should only be on ccnature
Diffstat (limited to 'core/org.eclipse.cdt.ui/plugin.xml')
-rw-r--r--core/org.eclipse.cdt.ui/plugin.xml12
1 files changed, 9 insertions, 3 deletions
diff --git a/core/org.eclipse.cdt.ui/plugin.xml b/core/org.eclipse.cdt.ui/plugin.xml
index 2fe016ac351..93f8bf1a3b8 100644
--- a/core/org.eclipse.cdt.ui/plugin.xml
+++ b/core/org.eclipse.cdt.ui/plugin.xml
@@ -27,9 +27,9 @@
<extension-point id="CElementFilters" name="%elementFiltersName"/>
<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 -->
+<!-- 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"/>
@@ -130,8 +130,8 @@
id="org.eclipse.cdt.ui.CView">
</view>
</extension>
-<!-- The wizards -->
<!-- For C Wizards -->
+<!-- The wizards -->
<extension
point="org.eclipse.ui.newWizards">
<category
@@ -326,6 +326,12 @@
class="org.eclipse.cdt.ui.actions.OpenClassWizardAction"
toolbarPath="Normal/FolderWizards"
id="org.eclipse.cdt.ui.actions.OpenClassWizardAction">
+ <enablement>
+ <objectState
+ name="projectNature"
+ value="org.eclipse.cdt.core.ccnature">
+ </objectState>
+ </enablement>
</action>
</actionSet>
</extension>

Back to the top