diff options
author | Karen Butzke | 2012-11-09 21:42:52 +0000 |
---|---|---|
committer | Karen Butzke | 2012-11-12 12:07:42 +0000 |
commit | 4024930bd407f02e38b3a0433334f43031300ebd (patch) | |
tree | 37668f38ca302351d3cfe996fe940c457f419964 /jpa/plugins/org.eclipse.jpt.jpa.core | |
parent | 5e192655d7fb354e0085c20cc657e079ca1bea95 (diff) | |
download | webtools.dali-4024930bd407f02e38b3a0433334f43031300ebd.tar.gz webtools.dali-4024930bd407f02e38b3a0433334f43031300ebd.tar.xz webtools.dali-4024930bd407f02e38b3a0433334f43031300ebd.zip |
bug 393592 - JPA commands are appearing in Quick Access when not appropriate - cleaned up our handlers and menusv201211130301
Diffstat (limited to 'jpa/plugins/org.eclipse.jpt.jpa.core')
-rw-r--r-- | jpa/plugins/org.eclipse.jpt.jpa.core/plugin.xml | 18 |
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 ***** --> |