Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Fluegge2010-03-31 09:57:37 -0400
committerMartin Fluegge2010-03-31 09:57:37 -0400
commit1949168879ad79af4873c5b88ec128760bc6ab13 (patch)
tree3b72ce199bffefaddaa6ba09de3a27b871a3907a /plugins/org.eclipse.emf.cdo.tests.model3
parent4ee6e2b6c419e9c9df3a01507ae60330177ca9e1 (diff)
downloadcdo-1949168879ad79af4873c5b88ec128760bc6ab13.tar.gz
cdo-1949168879ad79af4873c5b88ec128760bc6ab13.tar.xz
cdo-1949168879ad79af4873c5b88ec128760bc6ab13.zip
[247226] Transparently support legacy models (CDOLegacyAdapter)
https://bugs.eclipse.org/bugs/show_bug.cgi?id=247226
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.tests.model3')
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/legacy/model3/impl/Model3FactoryImpl.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/legacy/model3/impl/Model3FactoryImpl.java b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/legacy/model3/impl/Model3FactoryImpl.java
index cc42652361..df4c654ee3 100644
--- a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/legacy/model3/impl/Model3FactoryImpl.java
+++ b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/legacy/model3/impl/Model3FactoryImpl.java
@@ -169,21 +169,21 @@ public class Model3FactoryImpl extends EFactoryImpl implements Model3Factory
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
- * @generated
+ * @generated NOT
*/
public Point createPointFromString(EDataType eDataType, String initialValue)
{
- return (Point)super.createFromString(eDataType, initialValue);
+ return Point.parse(initialValue);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
- * @generated
+ * @generated NOT
*/
public String convertPointToString(EDataType eDataType, Object instanceValue)
{
- return super.convertToString(eDataType, instanceValue);
+ return ((Point)instanceValue).toString();
}
/**

Back to the top