Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'jpa/plugins/org.eclipse.jpt.jpa.core/plugin.xml')
-rw-r--r--jpa/plugins/org.eclipse.jpt.jpa.core/plugin.xml18
1 files changed, 18 insertions, 0 deletions
diff --git a/jpa/plugins/org.eclipse.jpt.jpa.core/plugin.xml b/jpa/plugins/org.eclipse.jpt.jpa.core/plugin.xml
index 40bab9e22d..c29aa858e0 100644
--- a/jpa/plugins/org.eclipse.jpt.jpa.core/plugin.xml
+++ b/jpa/plugins/org.eclipse.jpt.jpa.core/plugin.xml
@@ -19,6 +19,24 @@
name="%JPA_PLATFORM"
schema="schema/jpaPlatforms.exsd"/>
+ <!-- ***** expressions ***** -->
+
+ <extension point="org.eclipse.core.expressions.definitions">
+ <!-- A test for determining whether something adapts to an IProject and has the JPA 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.jpa.reference.hasJpaFacet"/>
+ </adapt>
+ -->
+ <definition id="org.eclipse.jpt.jpa.reference.hasJpaFacet">
+ <test
+ property="org.eclipse.wst.common.project.facet.core.projectFacet"
+ value="jpt.jpa"
+ forcePluginActivation="true"/>
+ </definition>
+
+ </extension>
<!-- ***** adapters ***** -->

Back to the top