Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDoug Schaefer2016-05-16 15:02:00 -0400
committerGerrit Code Review @ Eclipse.org2016-05-16 16:06:43 -0400
commit8f0ca866c4644006a817ac5d43a65fe669629f3f (patch)
treee1916f04a34d664e2bfe01d0ad8b77affd2895d9 /build/org.eclipse.cdt.cmake.ui/plugin.xml
parent1cd5ff51699c3908165683a377a97bb7348eb72b (diff)
downloadorg.eclipse.cdt-8f0ca866c4644006a817ac5d43a65fe669629f3f.tar.gz
org.eclipse.cdt-8f0ca866c4644006a817ac5d43a65fe669629f3f.tar.xz
org.eclipse.cdt-8f0ca866c4644006a817ac5d43a65fe669629f3f.zip
Make sure CMake project property page only shows on CMake projects.
Diffstat (limited to 'build/org.eclipse.cdt.cmake.ui/plugin.xml')
-rw-r--r--build/org.eclipse.cdt.cmake.ui/plugin.xml12
1 files changed, 9 insertions, 3 deletions
diff --git a/build/org.eclipse.cdt.cmake.ui/plugin.xml b/build/org.eclipse.cdt.cmake.ui/plugin.xml
index 189b24647c5..264bb850600 100644
--- a/build/org.eclipse.cdt.cmake.ui/plugin.xml
+++ b/build/org.eclipse.cdt.cmake.ui/plugin.xml
@@ -20,9 +20,15 @@
id="org.eclipse.cdt.cmake.ui.properties.cmakePropertyPage"
name="CMake">
<enabledWhen>
- <instanceof
- value="org.eclipse.core.resources.IProject">
- </instanceof>
+ <and>
+ <instanceof
+ value="org.eclipse.core.resources.IProject">
+ </instanceof>
+ <test
+ property="org.eclipse.core.resources.projectNature"
+ value="org.eclipse.cdt.cmake.core.cmakeNature">
+ </test>
+ </and>
</enabledWhen>
</page>
</extension>

Back to the top