Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortle2010-10-06 18:29:28 -0400
committertle2010-10-06 18:29:28 -0400
commit8bd2f0628732a49f4b470ed5cfaa4c33bfc27a28 (patch)
tree76e2551fa329339012c3370a7ce6baecadada079
parent9b55138e2cb58141e37512f2edf5bfdbb71ce0e8 (diff)
downloadwebtools.dali-8bd2f0628732a49f4b470ed5cfaa4c33bfc27a28.tar.gz
webtools.dali-8bd2f0628732a49f4b470ed5cfaa4c33bfc27a28.tar.xz
webtools.dali-8bd2f0628732a49f4b470ed5cfaa4c33bfc27a28.zip
320392 - Remove descriptor customizer UI from EclipseLink persistence.xml editor
-rw-r--r--jpa/plugins/org.eclipse.jpt.eclipselink.core/property_files/eclipselink_jpa_validation.properties1
-rw-r--r--jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/internal/EclipseLinkJpaValidationMessages.java2
-rw-r--r--jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/internal/context/persistence/EclipseLinkPersistenceUnit.java26
-rw-r--r--jpa/plugins/org.eclipse.jpt.eclipselink.ui/src/org/eclipse/jpt/eclipselink/ui/internal/persistence/EclipseLinkPersistenceXmlUiFactory.java6
-rw-r--r--jpa/plugins/org.eclipse.jpt.eclipselink.ui/src/org/eclipse/jpt/eclipselink/ui/internal/persistence/customization/EclipseLinkCustomizationComposite.java11
-rw-r--r--jpa/plugins/org.eclipse.jpt.eclipselink.ui/src/org/eclipse/jpt/eclipselink/ui/internal/persistence/customization/EntityListComposite.java2
-rw-r--r--jpa/plugins/org.eclipse.jpt.eclipselink.ui/src/org/eclipse/jpt/eclipselink/ui/internal/persistence/customization/PersistenceXmlCustomizationTab.java13
-rw-r--r--jpa/plugins/org.eclipse.jpt.eclipselink.ui/src/org/eclipse/jpt/eclipselink/ui/internal/persistence/customization/WeavingPropertiesComposite.java2
-rw-r--r--jpa/plugins/org.eclipse.jpt.eclipselink.ui/src/org/eclipse/jpt/eclipselink/ui/internal/v2_0/persistence/EclipseLink2_0PersistenceXmlUiFactory.java13
-rw-r--r--jpa/plugins/org.eclipse.jpt.eclipselink.ui/src/org/eclipse/jpt/eclipselink/ui/internal/v2_0/persistence/customization/EclipseLinkCustomization2_0Composite.java32
-rw-r--r--jpa/plugins/org.eclipse.jpt.eclipselink.ui/src/org/eclipse/jpt/eclipselink/ui/internal/v2_0/persistence/customization/PersistenceXmlCustomization2_0Tab.java36
11 files changed, 129 insertions, 15 deletions
diff --git a/jpa/plugins/org.eclipse.jpt.eclipselink.core/property_files/eclipselink_jpa_validation.properties b/jpa/plugins/org.eclipse.jpt.eclipselink.core/property_files/eclipselink_jpa_validation.properties
index 8b622e1c83..d38dcd56bd 100644
--- a/jpa/plugins/org.eclipse.jpt.eclipselink.core/property_files/eclipselink_jpa_validation.properties
+++ b/jpa/plugins/org.eclipse.jpt.eclipselink.core/property_files/eclipselink_jpa_validation.properties
@@ -12,6 +12,7 @@ CACHE_EXPIRY_AND_EXPIRY_TIME_OF_DAY_BOTH_SPECIFIED=The @Cache annotation on enti
CONVERTER_CLASS_IMPLEMENTS_CONVERTER=The converter class \"{0}\" does not implement the org.eclipse.persistence.mappings.converters.Converter interface
CUSTOMIZER_CLASS_IMPLEMENTS_DESCRIPTOR_CUSTOMIZER=The customizer class \"{0}\" does not implement the org.eclipse.persistence.config.DescriptorCustomizer interface
MULTIPLE_OBJECT_VALUES_FOR_DATA_VALUE=Multiple object values are specified for the data value \"{0}\"
+PERSISTENCE_UNIT_LEGACY_DESCRIPTOR_CUSTOMIZER=\"{0}\" is a legacy descriptor customizer property. Consider migration to the EclipseLink customizer settings via annotation or XML mapping file
PERSISTENCE_UNIT_LEGACY_ENTITY_CACHING=\"{0}\" is a legacy entity caching property. Consider migration to JPA 2.0 and EclipseLink cache settings via annotation or XML mapping file
PERSISTENCE_UNIT_CACHING_PROPERTY_IGNORED=Property \"{0}\" will be ignored as shared-cache-mode is set to NONE
BASIC_COLLECTION_MAPPING_DEPRECATED=The type basic-collection is deprecated
diff --git a/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/internal/EclipseLinkJpaValidationMessages.java b/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/internal/EclipseLinkJpaValidationMessages.java
index 9aa644c1e3..4f616ecbcc 100644
--- a/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/internal/EclipseLinkJpaValidationMessages.java
+++ b/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/internal/EclipseLinkJpaValidationMessages.java
@@ -22,6 +22,8 @@ public interface EclipseLinkJpaValidationMessages {
public static final String MULTIPLE_OBJECT_VALUES_FOR_DATA_VALUE = "MULTIPLE_OBJECT_VALUES_FOR_DATA_VALUE";
+ public static final String PERSISTENCE_UNIT_LEGACY_DESCRIPTOR_CUSTOMIZER = "PERSISTENCE_UNIT_LEGACY_DESCRIPTOR_CUSTOMIZER";
+
public static final String PERSISTENCE_UNIT_LEGACY_ENTITY_CACHING = "PERSISTENCE_UNIT_LEGACY_ENTITY_CACHING";
public static final String PERSISTENCE_UNIT_CACHING_PROPERTY_IGNORED = "PERSISTENCE_UNIT_CACHING_PROPERTY_IGNORED";
diff --git a/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/internal/context/persistence/EclipseLinkPersistenceUnit.java b/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/internal/context/persistence/EclipseLinkPersistenceUnit.java
index 8c29d504fb..e884298706 100644
--- a/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/internal/context/persistence/EclipseLinkPersistenceUnit.java
+++ b/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/internal/context/persistence/EclipseLinkPersistenceUnit.java
@@ -213,7 +213,7 @@ public class EclipseLinkPersistenceUnit
protected Customization buildEclipseLinkCustomization() {
return new EclipseLinkCustomization(this);
}
-
+
protected Caching buildEclipseLinkCaching() {
return new EclipseLinkCaching(this);
}
@@ -431,6 +431,17 @@ public class EclipseLinkPersistenceUnit
)
);
}
+ for(Property property: this.getLegacyDescriptorCustomizerProperties()) {
+ messages.add(
+ DefaultEclipseLinkJpaValidationMessages.buildMessage(
+ IMessage.NORMAL_SEVERITY,
+ EclipseLinkJpaValidationMessages.PERSISTENCE_UNIT_LEGACY_DESCRIPTOR_CUSTOMIZER,
+ new String[] {property.getName()},
+ this.getPersistenceUnit(),
+ property.getValidationTextRange()
+ )
+ );
+ }
this.validateDefaultCachingProperty(this.getCacheTypeDefaultProperty(), messages);
this.validateDefaultCachingProperty(this.getCacheSizeDefaultProperty(), messages);
this.validateDefaultCachingProperty(this.getFlushClearCacheProperty(), messages);
@@ -454,6 +465,12 @@ public class EclipseLinkPersistenceUnit
}
}
+ protected ArrayList<Property> getLegacyDescriptorCustomizerProperties() {
+ ArrayList<Property> result = new ArrayList<Property>();
+ CollectionTools.addAll(result, this.getDescriptorCustomizerProperties());
+ return result;
+ }
+
protected ArrayList<Property> getLegacyEntityCachingProperties() {
ArrayList<Property> result = new ArrayList<Property>();
CollectionTools.addAll(result, this.getSharedCacheProperties());
@@ -496,6 +513,13 @@ public class EclipseLinkPersistenceUnit
}
/**
+ * Returns Descriptor Customizer Properties.
+ */
+ private Iterable<Property> getDescriptorCustomizerProperties() {
+ return this.getEntityPropertiesWithPrefix(Customization.ECLIPSELINK_DESCRIPTOR_CUSTOMIZER);
+ }
+
+ /**
* Returns Entity Properties with the given prefix,
* excluding Entity which name equals "default".
*/
diff --git a/jpa/plugins/org.eclipse.jpt.eclipselink.ui/src/org/eclipse/jpt/eclipselink/ui/internal/persistence/EclipseLinkPersistenceXmlUiFactory.java b/jpa/plugins/org.eclipse.jpt.eclipselink.ui/src/org/eclipse/jpt/eclipselink/ui/internal/persistence/EclipseLinkPersistenceXmlUiFactory.java
index f15882882f..da70e090a2 100644
--- a/jpa/plugins/org.eclipse.jpt.eclipselink.ui/src/org/eclipse/jpt/eclipselink/ui/internal/persistence/EclipseLinkPersistenceXmlUiFactory.java
+++ b/jpa/plugins/org.eclipse.jpt.eclipselink.ui/src/org/eclipse/jpt/eclipselink/ui/internal/persistence/EclipseLinkPersistenceXmlUiFactory.java
@@ -86,13 +86,13 @@ public class EclipseLinkPersistenceXmlUiFactory implements PersistenceXmlUiFacto
return new PersistenceXmlConnectionTab<Connection>(connectionHolder, parent, widgetFactory);
}
- protected PersistenceXmlCustomizationTab buildCustomizationTab(
+ protected PersistenceXmlCustomizationTab<? extends Customization> buildCustomizationTab(
PropertyValueModel<EclipseLinkPersistenceUnit> subjectHolder,
Composite parent,
WidgetFactory widgetFactory) {
PropertyValueModel<Customization> customizationHolder = this.buildCustomizationHolder(subjectHolder);
- return new PersistenceXmlCustomizationTab(customizationHolder, parent, widgetFactory);
+ return new PersistenceXmlCustomizationTab<Customization>(customizationHolder, parent, widgetFactory);
}
protected PersistenceXmlCachingTab<? extends Caching> buildCachingTab(
@@ -162,7 +162,7 @@ public class EclipseLinkPersistenceXmlUiFactory implements PersistenceXmlUiFacto
};
}
- private PropertyValueModel<Customization> buildCustomizationHolder(
+ protected PropertyValueModel<Customization> buildCustomizationHolder(
PropertyValueModel<EclipseLinkPersistenceUnit> subjectHolder) {
return new TransformationPropertyValueModel<EclipseLinkPersistenceUnit, Customization>(subjectHolder) {
@Override
diff --git a/jpa/plugins/org.eclipse.jpt.eclipselink.ui/src/org/eclipse/jpt/eclipselink/ui/internal/persistence/customization/EclipseLinkCustomizationComposite.java b/jpa/plugins/org.eclipse.jpt.eclipselink.ui/src/org/eclipse/jpt/eclipselink/ui/internal/persistence/customization/EclipseLinkCustomizationComposite.java
index 03c4a46d22..b073e4e940 100644
--- a/jpa/plugins/org.eclipse.jpt.eclipselink.ui/src/org/eclipse/jpt/eclipselink/ui/internal/persistence/customization/EclipseLinkCustomizationComposite.java
+++ b/jpa/plugins/org.eclipse.jpt.eclipselink.ui/src/org/eclipse/jpt/eclipselink/ui/internal/persistence/customization/EclipseLinkCustomizationComposite.java
@@ -21,9 +21,9 @@ import org.eclipse.ui.forms.widgets.Section;
/**
* PersistenceUnitCustomizationComposite
*/
-public class EclipseLinkCustomizationComposite extends Pane<Customization>
+public class EclipseLinkCustomizationComposite<T extends Customization> extends Pane<T>
{
- public EclipseLinkCustomizationComposite(Pane<Customization> subjectHolder,
+ public EclipseLinkCustomizationComposite(Pane<T> subjectHolder,
Composite container) {
super(subjectHolder, container);
@@ -65,10 +65,13 @@ public class EclipseLinkCustomizationComposite extends Pane<Customization>
// Session Customizer
new SessionCustomizersComposite(this, composite);
- // EntitiesList
- new EntityListComposite(this, composite);
+ this.buildEntityListComposite(composite);
// Profiler:
new ProfilerComposite(this, composite);
}
+
+ protected void buildEntityListComposite(Composite parent) {
+ new EntityListComposite(this, parent);
+ }
} \ No newline at end of file
diff --git a/jpa/plugins/org.eclipse.jpt.eclipselink.ui/src/org/eclipse/jpt/eclipselink/ui/internal/persistence/customization/EntityListComposite.java b/jpa/plugins/org.eclipse.jpt.eclipselink.ui/src/org/eclipse/jpt/eclipselink/ui/internal/persistence/customization/EntityListComposite.java
index 4a67dbe2e3..a64dd55007 100644
--- a/jpa/plugins/org.eclipse.jpt.eclipselink.ui/src/org/eclipse/jpt/eclipselink/ui/internal/persistence/customization/EntityListComposite.java
+++ b/jpa/plugins/org.eclipse.jpt.eclipselink.ui/src/org/eclipse/jpt/eclipselink/ui/internal/persistence/customization/EntityListComposite.java
@@ -49,7 +49,7 @@ public class EntityListComposite extends Pane<Customization>
{
private WritablePropertyValueModel<Entity> entityHolder;
- public EntityListComposite(Pane<Customization> parentComposite, Composite parent) {
+ public EntityListComposite(Pane<? extends Customization> parentComposite, Composite parent) {
super(parentComposite, parent);
}
diff --git a/jpa/plugins/org.eclipse.jpt.eclipselink.ui/src/org/eclipse/jpt/eclipselink/ui/internal/persistence/customization/PersistenceXmlCustomizationTab.java b/jpa/plugins/org.eclipse.jpt.eclipselink.ui/src/org/eclipse/jpt/eclipselink/ui/internal/persistence/customization/PersistenceXmlCustomizationTab.java
index f4cc9bad2c..7a3e452ae1 100644
--- a/jpa/plugins/org.eclipse.jpt.eclipselink.ui/src/org/eclipse/jpt/eclipselink/ui/internal/persistence/customization/PersistenceXmlCustomizationTab.java
+++ b/jpa/plugins/org.eclipse.jpt.eclipselink.ui/src/org/eclipse/jpt/eclipselink/ui/internal/persistence/customization/PersistenceXmlCustomizationTab.java
@@ -25,12 +25,12 @@ import org.eclipse.swt.widgets.Composite;
/**
* PersistenceXmlCustomizationTabItem
*/
-public class PersistenceXmlCustomizationTab
- extends Pane<Customization>
+public class PersistenceXmlCustomizationTab<T extends Customization>
+ extends Pane<T>
implements JpaPageComposite
{
public PersistenceXmlCustomizationTab(
- PropertyValueModel<Customization> subjectHolder,
+ PropertyValueModel<T> subjectHolder,
Composite parent,
WidgetFactory widgetFactory) {
@@ -40,9 +40,9 @@ public class PersistenceXmlCustomizationTab
@Override
protected void initializeLayout(Composite container) {
- new EclipseLinkCustomizationComposite(this, container);
+ this.buildEclipseLinkCustomizationComposite(container);
}
-
+
// ********** JpaPageComposite implementation **********
public String getHelpID() {
@@ -85,4 +85,7 @@ public class PersistenceXmlCustomizationTab
container.setLayoutData(gridData);
}
+ protected void buildEclipseLinkCustomizationComposite(Composite container) {
+ new EclipseLinkCustomizationComposite<T>(this, container);
+ }
}
diff --git a/jpa/plugins/org.eclipse.jpt.eclipselink.ui/src/org/eclipse/jpt/eclipselink/ui/internal/persistence/customization/WeavingPropertiesComposite.java b/jpa/plugins/org.eclipse.jpt.eclipselink.ui/src/org/eclipse/jpt/eclipselink/ui/internal/persistence/customization/WeavingPropertiesComposite.java
index f321960419..8be976b39a 100644
--- a/jpa/plugins/org.eclipse.jpt.eclipselink.ui/src/org/eclipse/jpt/eclipselink/ui/internal/persistence/customization/WeavingPropertiesComposite.java
+++ b/jpa/plugins/org.eclipse.jpt.eclipselink.ui/src/org/eclipse/jpt/eclipselink/ui/internal/persistence/customization/WeavingPropertiesComposite.java
@@ -19,7 +19,7 @@ import org.eclipse.swt.widgets.Composite;
*/
public class WeavingPropertiesComposite extends Pane<Customization>
{
- public WeavingPropertiesComposite(Pane<Customization> subjectHolder,
+ public WeavingPropertiesComposite(Pane<? extends Customization> subjectHolder,
Composite container) {
super(subjectHolder, container);
diff --git a/jpa/plugins/org.eclipse.jpt.eclipselink.ui/src/org/eclipse/jpt/eclipselink/ui/internal/v2_0/persistence/EclipseLink2_0PersistenceXmlUiFactory.java b/jpa/plugins/org.eclipse.jpt.eclipselink.ui/src/org/eclipse/jpt/eclipselink/ui/internal/v2_0/persistence/EclipseLink2_0PersistenceXmlUiFactory.java
index 00aa7f9a57..eaa330c8f2 100644
--- a/jpa/plugins/org.eclipse.jpt.eclipselink.ui/src/org/eclipse/jpt/eclipselink/ui/internal/v2_0/persistence/EclipseLink2_0PersistenceXmlUiFactory.java
+++ b/jpa/plugins/org.eclipse.jpt.eclipselink.ui/src/org/eclipse/jpt/eclipselink/ui/internal/v2_0/persistence/EclipseLink2_0PersistenceXmlUiFactory.java
@@ -12,14 +12,17 @@ package org.eclipse.jpt.eclipselink.ui.internal.v2_0.persistence;
import org.eclipse.jpt.core.context.persistence.PersistenceUnit;
import org.eclipse.jpt.core.jpa2.context.persistence.PersistenceUnit2_0;
import org.eclipse.jpt.eclipselink.core.context.persistence.caching.Caching;
+import org.eclipse.jpt.eclipselink.core.context.persistence.customization.Customization;
import org.eclipse.jpt.eclipselink.core.internal.context.persistence.EclipseLinkPersistenceUnit;
import org.eclipse.jpt.eclipselink.core.v2_0.context.persistence.logging.Logging2_0;
import org.eclipse.jpt.eclipselink.core.v2_0.context.persistence.options.Options2_0;
import org.eclipse.jpt.eclipselink.ui.internal.persistence.EclipseLinkPersistenceXmlUiFactory;
import org.eclipse.jpt.eclipselink.ui.internal.persistence.caching.PersistenceXmlCachingTab;
+import org.eclipse.jpt.eclipselink.ui.internal.persistence.customization.PersistenceXmlCustomizationTab;
import org.eclipse.jpt.eclipselink.ui.internal.persistence.logging.PersistenceXmlLoggingTab;
import org.eclipse.jpt.eclipselink.ui.internal.persistence.options.PersistenceXmlOptionsTab;
import org.eclipse.jpt.eclipselink.ui.internal.v2_0.persistence.caching.PersistenceXmlCaching2_0Tab;
+import org.eclipse.jpt.eclipselink.ui.internal.v2_0.persistence.customization.PersistenceXmlCustomization2_0Tab;
import org.eclipse.jpt.eclipselink.ui.internal.v2_0.persistence.logging.PersistenceXmlLogging2_0Tab;
import org.eclipse.jpt.eclipselink.ui.internal.v2_0.persistence.options.PersistenceXmlOptions2_0Tab;
import org.eclipse.jpt.ui.WidgetFactory;
@@ -38,6 +41,16 @@ public class EclipseLink2_0PersistenceXmlUiFactory extends EclipseLinkPersistenc
// ********** persistence unit tabs **********
@Override
+ protected PersistenceXmlCustomizationTab<Customization> buildCustomizationTab(
+ PropertyValueModel<EclipseLinkPersistenceUnit> subjectHolder,
+ Composite parent,
+ WidgetFactory widgetFactory) {
+ PropertyValueModel<Customization> customizationHolder = this.buildCustomizationHolder(subjectHolder);
+
+ return new PersistenceXmlCustomization2_0Tab(customizationHolder, parent, widgetFactory);
+ }
+
+ @Override
protected PersistenceXmlCachingTab<Caching> buildCachingTab(
PropertyValueModel<EclipseLinkPersistenceUnit> subjectHolder,
Composite parent,
diff --git a/jpa/plugins/org.eclipse.jpt.eclipselink.ui/src/org/eclipse/jpt/eclipselink/ui/internal/v2_0/persistence/customization/EclipseLinkCustomization2_0Composite.java b/jpa/plugins/org.eclipse.jpt.eclipselink.ui/src/org/eclipse/jpt/eclipselink/ui/internal/v2_0/persistence/customization/EclipseLinkCustomization2_0Composite.java
new file mode 100644
index 0000000000..1339f67234
--- /dev/null
+++ b/jpa/plugins/org.eclipse.jpt.eclipselink.ui/src/org/eclipse/jpt/eclipselink/ui/internal/v2_0/persistence/customization/EclipseLinkCustomization2_0Composite.java
@@ -0,0 +1,32 @@
+/*******************************************************************************
+* Copyright (c) 2010 Oracle. All rights reserved.
+* This program and the accompanying materials are made available under the
+* terms of the Eclipse Public License v1.0, which accompanies this distribution
+* and is available at http://www.eclipse.org/legal/epl-v10.html.
+*
+* Contributors:
+* Oracle - initial API and implementation
+*******************************************************************************/
+package org.eclipse.jpt.eclipselink.ui.internal.v2_0.persistence.customization;
+
+import org.eclipse.jpt.eclipselink.core.context.persistence.customization.Customization;
+import org.eclipse.jpt.eclipselink.ui.internal.persistence.customization.EclipseLinkCustomizationComposite;
+import org.eclipse.jpt.ui.internal.widgets.Pane;
+import org.eclipse.swt.widgets.Composite;
+
+/**
+ * EclipseLinkCustomization2_0Composite
+ */
+public class EclipseLinkCustomization2_0Composite extends EclipseLinkCustomizationComposite<Customization>
+{
+ public EclipseLinkCustomization2_0Composite(
+ Pane<Customization> subjectHolder,
+ Composite container) {
+ super(subjectHolder, container);
+ }
+
+ @Override
+ protected void buildEntityListComposite(Composite parent) {
+ // do nothing
+ }
+}
diff --git a/jpa/plugins/org.eclipse.jpt.eclipselink.ui/src/org/eclipse/jpt/eclipselink/ui/internal/v2_0/persistence/customization/PersistenceXmlCustomization2_0Tab.java b/jpa/plugins/org.eclipse.jpt.eclipselink.ui/src/org/eclipse/jpt/eclipselink/ui/internal/v2_0/persistence/customization/PersistenceXmlCustomization2_0Tab.java
new file mode 100644
index 0000000000..fdb82f5c10
--- /dev/null
+++ b/jpa/plugins/org.eclipse.jpt.eclipselink.ui/src/org/eclipse/jpt/eclipselink/ui/internal/v2_0/persistence/customization/PersistenceXmlCustomization2_0Tab.java
@@ -0,0 +1,36 @@
+/*******************************************************************************
+* Copyright (c) 2010 Oracle. All rights reserved.
+* This program and the accompanying materials are made available under the
+* terms of the Eclipse Public License v1.0, which accompanies this distribution
+* and is available at http://www.eclipse.org/legal/epl-v10.html.
+*
+* Contributors:
+* Oracle - initial API and implementation
+*******************************************************************************/
+package org.eclipse.jpt.eclipselink.ui.internal.v2_0.persistence.customization;
+
+import org.eclipse.jpt.eclipselink.core.context.persistence.customization.Customization;
+import org.eclipse.jpt.eclipselink.ui.internal.persistence.customization.PersistenceXmlCustomizationTab;
+import org.eclipse.jpt.ui.WidgetFactory;
+import org.eclipse.jpt.utility.model.value.PropertyValueModel;
+import org.eclipse.swt.widgets.Composite;
+
+/**
+ * PersistenceXmlCustomization2_0Tab
+ */
+public class PersistenceXmlCustomization2_0Tab extends PersistenceXmlCustomizationTab<Customization>
+{
+ public PersistenceXmlCustomization2_0Tab(
+ PropertyValueModel<Customization> subjectHolder,
+ Composite parent,
+ WidgetFactory widgetFactory) {
+
+ super(subjectHolder, parent, widgetFactory);
+ }
+
+ @Override
+ protected void buildEclipseLinkCustomizationComposite(Composite container) {
+ new EclipseLinkCustomization2_0Composite(this, container);
+ }
+
+}

Back to the top