summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaren Butzke2012-11-20 10:48:19 (EST)
committerKaren Butzke2012-11-20 10:48:19 (EST)
commitdf646413d787f8be7aeb7f68eb0fca1074079d6e (patch)
tree8e9188d45cd2d401f449e26c83c8e8622883ddbc
parenta508bc86317481ce6d3051ca2c119f0e8a736699 (diff)
downloadwebtools.dali-df646413d787f8be7aeb7f68eb0fca1074079d6e.zip
webtools.dali-df646413d787f8be7aeb7f68eb0fca1074079d6e.tar.gz
webtools.dali-df646413d787f8be7aeb7f68eb0fca1074079d6e.tar.bz2
add details support for EclipseLink orm.xml 2.5 support
-rw-r--r--jpa/plugins/org.eclipse.jpt.jpa.eclipselink.ui/src/org/eclipse/jpt/jpa/eclipselink/ui/internal/details/orm/EclipseLinkEntityMappings2_3DetailsProvider.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.ui/src/org/eclipse/jpt/jpa/eclipselink/ui/internal/details/orm/EclipseLinkEntityMappings2_3DetailsProvider.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.ui/src/org/eclipse/jpt/jpa/eclipselink/ui/internal/details/orm/EclipseLinkEntityMappings2_3DetailsProvider.java
index f69cda9..215e534 100644
--- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.ui/src/org/eclipse/jpt/jpa/eclipselink/ui/internal/details/orm/EclipseLinkEntityMappings2_3DetailsProvider.java
+++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.ui/src/org/eclipse/jpt/jpa/eclipselink/ui/internal/details/orm/EclipseLinkEntityMappings2_3DetailsProvider.java
@@ -14,6 +14,7 @@ import org.eclipse.jpt.common.ui.WidgetFactory;
import org.eclipse.jpt.jpa.core.JpaStructureNode;
import org.eclipse.jpt.jpa.eclipselink.core.internal.context.orm.EclipseLinkOrmXml2_3Definition;
import org.eclipse.jpt.jpa.eclipselink.core.internal.context.orm.EclipseLinkOrmXml2_4Definition;
+import org.eclipse.jpt.jpa.eclipselink.core.internal.context.orm.EclipseLinkOrmXml2_5Definition;
import org.eclipse.jpt.jpa.ui.details.JpaDetailsPageManager;
import org.eclipse.jpt.jpa.ui.details.JpaDetailsProvider;
import org.eclipse.jpt.jpa.ui.internal.details.AbstractEntityMappingsDetailsProvider;
@@ -24,7 +25,7 @@ import org.eclipse.swt.widgets.Composite;
* when the information comes from the XML file (either from the persistence
* configuration or from the Mappings Descriptor).
*
- * @version 3.1
+ * @version 3.3
* @since 3.1
*/
public class EclipseLinkEntityMappings2_3DetailsProvider
@@ -53,7 +54,8 @@ public class EclipseLinkEntityMappings2_3DetailsProvider
@Override
protected boolean providesDetails(JptResourceType resourceType) {
return resourceType.equals(EclipseLinkOrmXml2_3Definition.instance().getResourceType()) ||
- resourceType.equals(EclipseLinkOrmXml2_4Definition.instance().getResourceType());
+ resourceType.equals(EclipseLinkOrmXml2_4Definition.instance().getResourceType()) ||
+ resourceType.equals(EclipseLinkOrmXml2_5Definition.instance().getResourceType());
}
public JpaDetailsPageManager<? extends JpaStructureNode> buildDetailsPageManager(