diff options
Diffstat (limited to 'jpa/plugins/org.eclipse.jpt.eclipselink.ui/src/org/eclipse/jpt/eclipselink/ui/internal/v2_0/details/java/JavaEclipseLinkOneToManyMapping2_0Composite.java')
-rw-r--r-- | jpa/plugins/org.eclipse.jpt.eclipselink.ui/src/org/eclipse/jpt/eclipselink/ui/internal/v2_0/details/java/JavaEclipseLinkOneToManyMapping2_0Composite.java | 68 |
1 files changed, 5 insertions, 63 deletions
diff --git a/jpa/plugins/org.eclipse.jpt.eclipselink.ui/src/org/eclipse/jpt/eclipselink/ui/internal/v2_0/details/java/JavaEclipseLinkOneToManyMapping2_0Composite.java b/jpa/plugins/org.eclipse.jpt.eclipselink.ui/src/org/eclipse/jpt/eclipselink/ui/internal/v2_0/details/java/JavaEclipseLinkOneToManyMapping2_0Composite.java index 013516660e..5270872050 100644 --- a/jpa/plugins/org.eclipse.jpt.eclipselink.ui/src/org/eclipse/jpt/eclipselink/ui/internal/v2_0/details/java/JavaEclipseLinkOneToManyMapping2_0Composite.java +++ b/jpa/plugins/org.eclipse.jpt.eclipselink.ui/src/org/eclipse/jpt/eclipselink/ui/internal/v2_0/details/java/JavaEclipseLinkOneToManyMapping2_0Composite.java @@ -12,78 +12,19 @@ package org.eclipse.jpt.eclipselink.ui.internal.v2_0.details.java; import org.eclipse.jpt.core.context.java.JavaOneToManyMapping; import org.eclipse.jpt.core.jpa2.context.OrphanRemovable2_0; import org.eclipse.jpt.core.jpa2.context.OrphanRemovalHolder2_0; -import org.eclipse.jpt.core.jpa2.context.java.JavaOneToManyMapping2_0; import org.eclipse.jpt.eclipselink.ui.internal.details.EclipseLinkJoinFetchComposite; -import org.eclipse.jpt.eclipselink.ui.internal.details.EclipseLinkOneToManyJoiningStrategyPane; import org.eclipse.jpt.eclipselink.ui.internal.details.EclipseLinkOneToManyMappingComposite; import org.eclipse.jpt.eclipselink.ui.internal.details.EclipseLinkPrivateOwnedComposite; import org.eclipse.jpt.ui.WidgetFactory; -import org.eclipse.jpt.ui.internal.details.CascadeComposite; import org.eclipse.jpt.ui.internal.details.FetchTypeComposite; -import org.eclipse.jpt.ui.internal.details.OrderingComposite; import org.eclipse.jpt.ui.internal.details.TargetEntityComposite; +import org.eclipse.jpt.ui.internal.jpa2.details.CascadePane2_0; import org.eclipse.jpt.ui.internal.jpa2.details.Ordering2_0Composite; import org.eclipse.jpt.ui.internal.jpa2.details.OrphanRemoval2_0Composite; import org.eclipse.jpt.utility.internal.model.value.PropertyAspectAdapter; import org.eclipse.jpt.utility.model.value.PropertyValueModel; import org.eclipse.swt.widgets.Composite; -/** - * Here the layout of this pane: - * <pre> - * ----------------------------------------------------------------------------- - * | ------------------------------------------------------------------------- | - * | | | | - * | | TargetEntityComposite | | - * | | | | - * | ------------------------------------------------------------------------- | - * | ------------------------------------------------------------------------- | - * | | | | - * | | EclipseLinkOneToManyJoiningStrategyPane | | - * | | | | - * | ------------------------------------------------------------------------- | - * | ------------------------------------------------------------------------- | - * | | | | - * | | FetchTypeComposite | | - * | | | | - * | ------------------------------------------------------------------------- | - * | ------------------------------------------------------------------------- | - * | | | | - * | | EclipseLinkJoinFetchComposite | | - * | | | | - * | ------------------------------------------------------------------------- | - * | ------------------------------------------------------------------------- | - * | | | | - * | | EclipseLinkPrivateOwnedComposite | | - * | | | | - * | ------------------------------------------------------------------------- | - * | ------------------------------------------------------------------------- | - * | | | | - * | | CascadeComposite | | - * | | | | - * | ------------------------------------------------------------------------- | - * | ------------------------------------------------------------------------- | - * | | | | - * | | OrphanRemoval2_0Composite | | - * | | | | - * | ------------------------------------------------------------------------- | - * | ------------------------------------------------------------------------- | - * | | | | - * | | OrderingComposite | | - * | | | | - * | ------------------------------------------------------------------------- | - * -----------------------------------------------------------------------------</pre> - * - * @see {@link JavaOneToManyMapping2_0} - * @see {@link TargetEntityComposite} - * @see {@link EclipseLinkOneToManyJoiningStrategyPane} - * @see {@link FetchTypeComposite} - * @see {@link EclipseLinkJoinFetchComposite} - * @see {@link EclipseLinkPrivateOwnedComposite} - * @see {@link CascadeComposite} - * @see {@link OrphanRemoval2_0Composite} - * @see {@link OrderingComposite} - */ public class JavaEclipseLinkOneToManyMapping2_0Composite extends EclipseLinkOneToManyMappingComposite<JavaOneToManyMapping> { @@ -94,7 +35,8 @@ public class JavaEclipseLinkOneToManyMapping2_0Composite super(subjectHolder, parent, widgetFactory); } - + + @Override protected void initializeOneToManySection(Composite container) { new TargetEntityComposite(this, container); @@ -102,9 +44,9 @@ public class JavaEclipseLinkOneToManyMapping2_0Composite new EclipseLinkJoinFetchComposite(this, this.buildJoinFetchableHolder(), container); new EclipseLinkPrivateOwnedComposite(this, this.buildPrivateOwnableHolder(), container); new OrphanRemoval2_0Composite(this, this.buildOrphanRemovableHolder(), container); - new CascadeComposite(this, this.buildCascadeHolder(), this.addSubPane(container, 5)); + new CascadePane2_0(this, this.buildCascadeHolder(), this.addSubPane(container, 5)); } - + @Override protected void initializeOrderingCollapsibleSection(Composite container) { new Ordering2_0Composite(this, container); |