Skip to main content
summaryrefslogtreecommitdiffstats
path: root/xlc
diff options
context:
space:
mode:
authorMike Kucera2009-05-04 11:12:51 -0400
committerMike Kucera2009-05-04 11:12:51 -0400
commit4791dc887cb8cc9a68fca6a830f2638aea3aa0e8 (patch)
treea78414824c4296f0bb14e80b0c0e0fc0aa0c445c /xlc
parent4625dc807e1d0e5cde683ec66f84decab308cc40 (diff)
downloadorg.eclipse.cdt-4791dc887cb8cc9a68fca6a830f2638aea3aa0e8.tar.gz
org.eclipse.cdt-4791dc887cb8cc9a68fca6a830f2638aea3aa0e8.tar.xz
org.eclipse.cdt-4791dc887cb8cc9a68fca6a830f2638aea3aa0e8.zip
[274772] XL C++ Language Options property page is showing up everywhere
Diffstat (limited to 'xlc')
-rw-r--r--xlc/org.eclipse.cdt.core.lrparser.xlc/plugin.xml9
1 files changed, 9 insertions, 0 deletions
diff --git a/xlc/org.eclipse.cdt.core.lrparser.xlc/plugin.xml b/xlc/org.eclipse.cdt.core.lrparser.xlc/plugin.xml
index 7438f97c94..ffc0beb0ce 100644
--- a/xlc/org.eclipse.cdt.core.lrparser.xlc/plugin.xml
+++ b/xlc/org.eclipse.cdt.core.lrparser.xlc/plugin.xml
@@ -36,6 +36,15 @@
class="org.eclipse.cdt.internal.core.lrparser.xlc.ui.preferences.XlcLanguageOptionsPreferencePage"
id="org.eclipse.cdt.core.lrparser.xlc.ui.XlcLanguagePropertyPage"
name="%preferences.page.title">
+ <enabledWhen>
+ <adapt
+ type="org.eclipse.core.resources.IProject">
+ <test
+ property="org.eclipse.core.resources.projectNature"
+ value="org.eclipse.cdt.core.cnature">
+ </test>
+ </adapt>
+ </enabledWhen>
</page>
</extension>
</plugin>

Back to the top