Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'jaxb/plugins/org.eclipse.jpt.jaxb.core/plugin.xml')
-rw-r--r--jaxb/plugins/org.eclipse.jpt.jaxb.core/plugin.xml18
1 files changed, 18 insertions, 0 deletions
diff --git a/jaxb/plugins/org.eclipse.jpt.jaxb.core/plugin.xml b/jaxb/plugins/org.eclipse.jpt.jaxb.core/plugin.xml
index a964e32d16..4934c3d21d 100644
--- a/jaxb/plugins/org.eclipse.jpt.jaxb.core/plugin.xml
+++ b/jaxb/plugins/org.eclipse.jpt.jaxb.core/plugin.xml
@@ -19,6 +19,24 @@
name="%JAXB_PLATFORMS"
schema="schema/jaxbPlatforms.exsd"/>
+ <!-- ***** expressions ***** -->
+
+ <extension point="org.eclipse.core.expressions.definitions">
+ <!-- A test for determining whether something adapts to an IProject and has the JAXB facet.
+ Force activation of the wst facet plug-in containing the property tester.
+ Possible usage:
+ <adapt type="org.eclipse.core.resources.IProject">
+ <reference definitionId="org.eclipse.jpt.jaxb.reference.hasJaxbFacet"/>
+ </adapt>
+ -->
+ <definition id="org.eclipse.jpt.jaxb.reference.hasJaxbFacet">
+ <test
+ property="org.eclipse.wst.common.project.facet.core.projectFacet"
+ value="jpt.jaxb"
+ forcePluginActivation="true"/>
+ </definition>
+
+ </extension>
<!-- ***** adapters ***** -->

Back to the top