diff options
author | kmoore | 2009-02-06 18:48:35 +0000 |
---|---|---|
committer | kmoore | 2009-02-06 18:48:35 +0000 |
commit | b1427db962ae3b03f1cd925e49dcd5f9d9fa5c10 (patch) | |
tree | 89b7467539c636587056fbf19ef65e35934b806c /jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/internal/context/orm/OrmTransformationMappingProvider.java | |
parent | e692423dcdcce613dce7164d6441ef8eaa4cd0ca (diff) | |
download | webtools.dali-b1427db962ae3b03f1cd925e49dcd5f9d9fa5c10.tar.gz webtools.dali-b1427db962ae3b03f1cd925e49dcd5f9d9fa5c10.tar.xz webtools.dali-b1427db962ae3b03f1cd925e49dcd5f9d9fa5c10.zip |
eclipselink1.1 orm resource and context model support. a mapping file creation wizard is included
Diffstat (limited to 'jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/internal/context/orm/OrmTransformationMappingProvider.java')
-rw-r--r-- | jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/internal/context/orm/OrmTransformationMappingProvider.java | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/internal/context/orm/OrmTransformationMappingProvider.java b/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/internal/context/orm/OrmTransformationMappingProvider.java index f156c2ca37..88da12cda1 100644 --- a/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/internal/context/orm/OrmTransformationMappingProvider.java +++ b/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/internal/context/orm/OrmTransformationMappingProvider.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2008 Oracle. All rights reserved. + * Copyright (c) 2008, 2009 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. @@ -9,6 +9,7 @@ ******************************************************************************/ package org.eclipse.jpt.eclipselink.core.internal.context.orm; +import org.eclipse.core.runtime.content.IContentType; import org.eclipse.jpt.core.JpaFactory; import org.eclipse.jpt.core.context.java.JavaAttributeMapping; import org.eclipse.jpt.core.context.orm.OrmAttributeMapping; @@ -18,6 +19,7 @@ import org.eclipse.jpt.core.context.orm.OrmTypeMapping; import org.eclipse.jpt.core.resource.orm.XmlAttributeMapping; import org.eclipse.jpt.eclipselink.core.EclipseLinkMappingKeys; import org.eclipse.jpt.eclipselink.core.internal.EclipseLinkJpaFactory; +import org.eclipse.jpt.eclipselink.core.internal.JptEclipseLinkCorePlugin; import org.eclipse.jpt.eclipselink.core.internal.context.java.JavaTransformationMapping; public class OrmTransformationMappingProvider @@ -40,6 +42,10 @@ public class OrmTransformationMappingProvider private OrmTransformationMappingProvider() { super(); } + + public IContentType getContentType() { + return JptEclipseLinkCorePlugin.ECLIPSELINK_ORM_XML_CONTENT_TYPE; + } public String getKey() { return EclipseLinkMappingKeys.TRANSFORMATION_ATTRIBUTE_MAPPING_KEY; |