diff options
author | kmoore | 2009-09-24 22:12:10 +0000 |
---|---|---|
committer | kmoore | 2009-09-24 22:12:10 +0000 |
commit | a5fe7c692b8fb06a96bdbf54abd563d9b6edb820 (patch) | |
tree | a737767681df2dcc16ba471eb38d63d33deea400 /jpa/plugins/org.eclipse.jpt.ui/src/org/eclipse | |
parent | 8d5f88d4ed2450c1d87c342aa0ce45be54aeb173 (diff) | |
download | webtools.dali-a5fe7c692b8fb06a96bdbf54abd563d9b6edb820.tar.gz webtools.dali-a5fe7c692b8fb06a96bdbf54abd563d9b6edb820.tar.xz webtools.dali-a5fe7c692b8fb06a96bdbf54abd563d9b6edb820.zip |
creating PersistenceXmlDefinition so that we can support multiple persistence.xml file types in a project. This fixes the UI problems we were having with creating a 2.0 project
Diffstat (limited to 'jpa/plugins/org.eclipse.jpt.ui/src/org/eclipse')
-rw-r--r-- | jpa/plugins/org.eclipse.jpt.ui/src/org/eclipse/jpt/ui/details/java/JavaUiFactory.java | 19 | ||||
-rw-r--r-- | jpa/plugins/org.eclipse.jpt.ui/src/org/eclipse/jpt/ui/details/orm/OrmXmlUiFactory.java | 14 |
2 files changed, 4 insertions, 29 deletions
diff --git a/jpa/plugins/org.eclipse.jpt.ui/src/org/eclipse/jpt/ui/details/java/JavaUiFactory.java b/jpa/plugins/org.eclipse.jpt.ui/src/org/eclipse/jpt/ui/details/java/JavaUiFactory.java index dbcec5b241..a16ae2efca 100644 --- a/jpa/plugins/org.eclipse.jpt.ui/src/org/eclipse/jpt/ui/details/java/JavaUiFactory.java +++ b/jpa/plugins/org.eclipse.jpt.ui/src/org/eclipse/jpt/ui/details/java/JavaUiFactory.java @@ -9,10 +9,6 @@ ******************************************************************************/ package org.eclipse.jpt.ui.details.java; -import org.eclipse.jpt.core.JpaFactory; -import org.eclipse.jpt.core.JpaPlatform; -import org.eclipse.jpt.core.context.java.JavaAttributeMapping; -import org.eclipse.jpt.core.context.java.JavaAttributeMappingDefinition; import org.eclipse.jpt.core.context.java.JavaBasicMapping; import org.eclipse.jpt.core.context.java.JavaEmbeddable; import org.eclipse.jpt.core.context.java.JavaEmbeddedIdMapping; @@ -25,8 +21,6 @@ import org.eclipse.jpt.core.context.java.JavaMappedSuperclass; import org.eclipse.jpt.core.context.java.JavaOneToManyMapping; import org.eclipse.jpt.core.context.java.JavaOneToOneMapping; import org.eclipse.jpt.core.context.java.JavaTransientMapping; -import org.eclipse.jpt.core.context.java.JavaTypeMapping; -import org.eclipse.jpt.core.context.java.JavaTypeMappingDefinition; import org.eclipse.jpt.core.context.java.JavaVersionMapping; import org.eclipse.jpt.core.context.orm.OrmEmbeddable; import org.eclipse.jpt.core.context.orm.OrmEntity; @@ -37,13 +31,7 @@ import org.eclipse.jpt.utility.model.value.PropertyValueModel; import org.eclipse.swt.widgets.Composite; /** - * Use {@link JpaFactory} to create any {@link JavaTypeMapping} or - * {@link JavaAttributeMapping}s. This is necessary so that platforms can - * extend the java model with their own annotations. - * {@link JavaTypeMappingDefinition} and {@link JavaAttributeMappingDefinition} use - * this factory. See {@link JpaPlatform#javaTypeMappingDefinitions()} and - * {@link JpaPlatform#javaAttributeMappingDefinitions() for creating new mappings - * types. + * Use {@link JavaUiFactory} to create any java JPA composites * <p> * Provisional API: This interface is part of an interim API that is still under * development and expected to change significantly before reaching stability. @@ -51,10 +39,9 @@ import org.eclipse.swt.widgets.Composite; * adopters on the understanding that any code that uses this API will almost * certainly be broken (repeatedly) as the API evolves. * - * @see org.eclipse.jpt.ui.internal.BaseJpaUiFactory * - * @version 2.0 - * @since 1.0 + * @version 3.0 + * @since 3.0 */ public interface JavaUiFactory { diff --git a/jpa/plugins/org.eclipse.jpt.ui/src/org/eclipse/jpt/ui/details/orm/OrmXmlUiFactory.java b/jpa/plugins/org.eclipse.jpt.ui/src/org/eclipse/jpt/ui/details/orm/OrmXmlUiFactory.java index 68a2cfe088..beeb7c6f09 100644 --- a/jpa/plugins/org.eclipse.jpt.ui/src/org/eclipse/jpt/ui/details/orm/OrmXmlUiFactory.java +++ b/jpa/plugins/org.eclipse.jpt.ui/src/org/eclipse/jpt/ui/details/orm/OrmXmlUiFactory.java @@ -9,12 +9,6 @@ ******************************************************************************/ package org.eclipse.jpt.ui.details.orm; -import org.eclipse.jpt.core.JpaFactory; -import org.eclipse.jpt.core.JpaPlatform; -import org.eclipse.jpt.core.context.java.JavaAttributeMapping; -import org.eclipse.jpt.core.context.java.JavaAttributeMappingDefinition; -import org.eclipse.jpt.core.context.java.JavaTypeMapping; -import org.eclipse.jpt.core.context.java.JavaTypeMappingDefinition; import org.eclipse.jpt.core.context.orm.OrmBasicMapping; import org.eclipse.jpt.core.context.orm.OrmEmbeddable; import org.eclipse.jpt.core.context.orm.OrmEmbeddedIdMapping; @@ -34,13 +28,7 @@ import org.eclipse.jpt.utility.model.value.PropertyValueModel; import org.eclipse.swt.widgets.Composite; /** - * Use {@link JpaFactory} to create any {@link JavaTypeMapping} or - * {@link JavaAttributeMapping}s. This is necessary so that platforms can - * extend the java model with their own annotations. - * {@link JavaTypeMappingDefinition} and {@link JavaAttributeMappingDefinition} use - * this factory. See {@link JpaPlatform#javaTypeMappingDefinitions()} and - * {@link JpaPlatform#javaAttributeMappingDefinitions() for creating new mappings - * types. + * Use {@link OrmXmlUiFactory} to create any ORM JPA composites * <p> * Provisional API: This interface is part of an interim API that is still under * development and expected to change significantly before reaching stability. |