Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/xlc
diff options
context:
space:
mode:
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 7438f97c949..ffc0beb0ce4 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