Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornanli2013-07-24 21:14:42 +0000
committernanli2013-07-24 21:14:42 +0000
commitb45470715d6b27cca8d78fbec87ceb405aeb429a (patch)
tree1f36bd9697edb5331c757756ee4a720f88c89336
parent25fc3d322a33d447dea812431a3e1dc9e36c52f6 (diff)
downloadwebtools.dali-b45470715d6b27cca8d78fbec87ceb405aeb429a.tar.gz
webtools.dali-b45470715d6b27cca8d78fbec87ceb405aeb429a.tar.xz
webtools.dali-b45470715d6b27cca8d78fbec87ceb405aeb429a.zip
413005 - Association overrides missing for embedded mappingsv201307250313
-rw-r--r--jpa/plugins/org.eclipse.jpt.jpa.eclipselink.ui/src/org/eclipse/jpt/jpa/eclipselink/ui/internal/details/java/EclipseLinkJavaUiFactory2_0.java14
1 files changed, 14 insertions, 0 deletions
diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.ui/src/org/eclipse/jpt/jpa/eclipselink/ui/internal/details/java/EclipseLinkJavaUiFactory2_0.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.ui/src/org/eclipse/jpt/jpa/eclipselink/ui/internal/details/java/EclipseLinkJavaUiFactory2_0.java
index 67d63cad7e..5f6cba245a 100644
--- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.ui/src/org/eclipse/jpt/jpa/eclipselink/ui/internal/details/java/EclipseLinkJavaUiFactory2_0.java
+++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.ui/src/org/eclipse/jpt/jpa/eclipselink/ui/internal/details/java/EclipseLinkJavaUiFactory2_0.java
@@ -13,6 +13,7 @@ import org.eclipse.jface.resource.ResourceManager;
import org.eclipse.jpt.common.ui.WidgetFactory;
import org.eclipse.jpt.common.utility.model.value.PropertyValueModel;
import org.eclipse.jpt.jpa.core.context.EmbeddedIdMapping;
+import org.eclipse.jpt.jpa.core.context.EmbeddedMapping;
import org.eclipse.jpt.jpa.core.context.Entity;
import org.eclipse.jpt.jpa.core.context.IdMapping;
import org.eclipse.jpt.jpa.core.context.ManyToManyMapping;
@@ -22,6 +23,7 @@ import org.eclipse.jpt.jpa.core.context.OneToManyMapping;
import org.eclipse.jpt.jpa.core.context.OneToOneMapping;
import org.eclipse.jpt.jpa.core.jpa2.context.ElementCollectionMapping2_0;
import org.eclipse.jpt.jpa.core.jpa2.context.EmbeddedIdMapping2_0;
+import org.eclipse.jpt.jpa.core.jpa2.context.EmbeddedMapping2_0;
import org.eclipse.jpt.jpa.eclipselink.core.context.EclipseLinkElementCollectionMapping2_0;
import org.eclipse.jpt.jpa.eclipselink.core.context.EclipseLinkIdMapping2_0;
import org.eclipse.jpt.jpa.eclipselink.core.context.EclipseLinkManyToManyMapping2_0;
@@ -32,6 +34,7 @@ import org.eclipse.jpt.jpa.eclipselink.core.context.java.EclipseLinkJavaEntity;
import org.eclipse.jpt.jpa.eclipselink.core.context.java.EclipseLinkJavaMappedSuperclass;
import org.eclipse.jpt.jpa.ui.details.JpaComposite;
import org.eclipse.jpt.jpa.ui.internal.jpa2.details.EmbeddedIdMappingComposite2_0;
+import org.eclipse.jpt.jpa.ui.internal.jpa2.details.java.JavaEmbeddedMappingComposite2_0;
import org.eclipse.jpt.jpa.ui.jpa2.details.JpaUiFactory2_0;
import org.eclipse.swt.widgets.Composite;
@@ -87,6 +90,17 @@ public class EclipseLinkJavaUiFactory2_0
}
@SuppressWarnings("unchecked")
+ @Override
+ public JpaComposite createEmbeddedMappingComposite(
+ PropertyValueModel<? extends EmbeddedMapping> mappingModel,
+ PropertyValueModel<Boolean> enabledModel,
+ Composite parentComposite,
+ WidgetFactory widgetFactory,
+ ResourceManager resourceManager) {
+ return new JavaEmbeddedMappingComposite2_0((PropertyValueModel<? extends EmbeddedMapping2_0>) mappingModel, enabledModel, parentComposite, widgetFactory, resourceManager);
+ }
+
+ @SuppressWarnings("unchecked")
public JpaComposite createElementCollectionMapping2_0Composite(
PropertyValueModel<? extends ElementCollectionMapping2_0> mappingModel,
PropertyValueModel<Boolean> enabledModel,

Back to the top