Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenn Hussey2012-04-19 13:24:53 +0000
committerKenn Hussey2012-04-19 13:24:53 +0000
commita5df13673c2d122d1760ae9de658530ec1598385 (patch)
treeb1b3f17f4e62a6ad89c0e14563ea2ed038f511f8 /plugins/org.eclipse.uml2.uml
parentdef329ad06e4d3be7109ea92e3987ef1e8505fd8 (diff)
downloadorg.eclipse.uml2.test-a5df13673c2d122d1760ae9de658530ec1598385.tar.gz
org.eclipse.uml2.test-a5df13673c2d122d1760ae9de658530ec1598385.tar.xz
org.eclipse.uml2.test-a5df13673c2d122d1760ae9de658530ec1598385.zip
[364419] Ensuring Ecore2XML package is registered.
Diffstat (limited to 'plugins/org.eclipse.uml2.uml')
-rw-r--r--plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/resource/CMOF202UMLResourceFactoryImpl.java4
-rw-r--r--plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/resource/CMOF2UMLResourceFactoryImpl.java2
-rw-r--r--plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/resource/UML212UMLResourceFactoryImpl.java3
-rw-r--r--plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/resource/UML22UMLResourceFactoryImpl.java4
-rw-r--r--plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/resource/UML302UMLResourceFactoryImpl.java3
-rw-r--r--plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/resource/XMI212UMLResourceFactoryImpl.java3
-rw-r--r--plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/resource/XMI222UMLResourceFactoryImpl.java2
7 files changed, 20 insertions, 1 deletions
diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/resource/CMOF202UMLResourceFactoryImpl.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/resource/CMOF202UMLResourceFactoryImpl.java
index 7ce21b92..3d3e22bb 100644
--- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/resource/CMOF202UMLResourceFactoryImpl.java
+++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/resource/CMOF202UMLResourceFactoryImpl.java
@@ -58,8 +58,12 @@ public class CMOF202UMLResourceFactoryImpl
EPackage.Registry ePackageRegistry = new EPackageRegistryImpl(
EPackage.Registry.INSTANCE);
+
+ ePackageRegistry.put(Ecore2XMLPackage.eNS_URI,
+ Ecore2XMLPackage.eINSTANCE);
ePackageRegistry.put(CMOF2UMLResource.CMOF_2_0_METAMODEL_NS_URI,
UMLPackage.eINSTANCE);
+
ePackageRegistry
.put(
"platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore", UMLPackage.eINSTANCE); //$NON-NLS-1$
diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/resource/CMOF2UMLResourceFactoryImpl.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/resource/CMOF2UMLResourceFactoryImpl.java
index 898756f8..4b9fd0ec 100644
--- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/resource/CMOF2UMLResourceFactoryImpl.java
+++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/resource/CMOF2UMLResourceFactoryImpl.java
@@ -58,6 +58,8 @@ public class CMOF2UMLResourceFactoryImpl
EPackage.Registry ePackageRegistry = new EPackageRegistryImpl(
EPackage.Registry.INSTANCE);
+ ePackageRegistry.put(Ecore2XMLPackage.eNS_URI,
+ Ecore2XMLPackage.eINSTANCE);
ePackageRegistry.put(CMOF2UMLResource.CMOF_METAMODEL_NS_URI,
UMLPackage.eINSTANCE);
ePackageRegistry.put(CMOF2UMLResource.CMOF_2_4_METAMODEL_NS_URI,
diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/resource/UML212UMLResourceFactoryImpl.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/resource/UML212UMLResourceFactoryImpl.java
index b8b3f022..0c5daadb 100644
--- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/resource/UML212UMLResourceFactoryImpl.java
+++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/resource/UML212UMLResourceFactoryImpl.java
@@ -66,6 +66,9 @@ public class UML212UMLResourceFactoryImpl
EPackage.Registry ePackageRegistry = new EPackageRegistryImpl(
EPackage.Registry.INSTANCE);
+
+ ePackageRegistry.put(Ecore2XMLPackage.eNS_URI,
+ Ecore2XMLPackage.eINSTANCE);
ePackageRegistry.put(UML212UMLResource.UML_METAMODEL_NS_URI,
UMLPackage.eINSTANCE);
diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/resource/UML22UMLResourceFactoryImpl.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/resource/UML22UMLResourceFactoryImpl.java
index 2fc38cb9..72a92158 100644
--- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/resource/UML22UMLResourceFactoryImpl.java
+++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/resource/UML22UMLResourceFactoryImpl.java
@@ -57,8 +57,12 @@ public class UML22UMLResourceFactoryImpl
EPackage.Registry ePackageRegistry = new EPackageRegistryImpl(
EPackage.Registry.INSTANCE);
+
+ ePackageRegistry.put(Ecore2XMLPackage.eNS_URI,
+ Ecore2XMLPackage.eINSTANCE);
ePackageRegistry.put(UML22UMLResource.UML2_METAMODEL_NS_URI,
UMLPackage.eINSTANCE);
+
ePackageRegistry
.put(
"platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore", UMLPackage.eINSTANCE); //$NON-NLS-1$
diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/resource/UML302UMLResourceFactoryImpl.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/resource/UML302UMLResourceFactoryImpl.java
index 427af9a9..a15c48f1 100644
--- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/resource/UML302UMLResourceFactoryImpl.java
+++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/resource/UML302UMLResourceFactoryImpl.java
@@ -65,6 +65,9 @@ public class UML302UMLResourceFactoryImpl
EPackage.Registry ePackageRegistry = new EPackageRegistryImpl(
EPackage.Registry.INSTANCE);
+
+ ePackageRegistry.put(Ecore2XMLPackage.eNS_URI,
+ Ecore2XMLPackage.eINSTANCE);
ePackageRegistry.put(UML302UMLResource.UML_METAMODEL_NS_URI,
UMLPackage.eINSTANCE);
diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/resource/XMI212UMLResourceFactoryImpl.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/resource/XMI212UMLResourceFactoryImpl.java
index 5ca538b0..bc0b6a96 100644
--- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/resource/XMI212UMLResourceFactoryImpl.java
+++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/resource/XMI212UMLResourceFactoryImpl.java
@@ -77,9 +77,10 @@ public class XMI212UMLResourceFactoryImpl
EPackage.Registry ePackageRegistry = new EPackageRegistryImpl(
EPackage.Registry.INSTANCE);
+ ePackageRegistry.put(Ecore2XMLPackage.eNS_URI,
+ Ecore2XMLPackage.eINSTANCE);
ePackageRegistry.put(XMI2UMLResource.UML_METAMODEL_2_1_NS_URI,
UMLPackage.eINSTANCE);
-
ePackageRegistry.put(XMI2UMLResource.UML_METAMODEL_2_1_1_NS_URI,
UMLPackage.eINSTANCE);
diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/resource/XMI222UMLResourceFactoryImpl.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/resource/XMI222UMLResourceFactoryImpl.java
index e2171873..ac7d401e 100644
--- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/resource/XMI222UMLResourceFactoryImpl.java
+++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/resource/XMI222UMLResourceFactoryImpl.java
@@ -78,6 +78,8 @@ public class XMI222UMLResourceFactoryImpl
EPackage.Registry ePackageRegistry = new EPackageRegistryImpl(
EPackage.Registry.INSTANCE);
+ ePackageRegistry.put(Ecore2XMLPackage.eNS_URI,
+ Ecore2XMLPackage.eINSTANCE);
ePackageRegistry.put(XMI2UMLResource.UML_METAMODEL_2_2_NS_URI,
UMLPackage.eINSTANCE);

Back to the top