diff options
author | cdamus | 2013-03-01 00:29:18 +0000 |
---|---|---|
committer | cdamus | 2013-03-01 00:29:18 +0000 |
commit | 3983bd6b7fd7b5928c19c397b2a87f43a3a7a9fa (patch) | |
tree | 5488c677aebf4ef69aa39eac321dc26af1092c89 | |
parent | 840f19c04f328f41e79ecfe4c0020d45e5f405c7 (diff) | |
download | org.eclipse.papyrus-3983bd6b7fd7b5928c19c397b2a87f43a3a7a9fa.tar.gz org.eclipse.papyrus-3983bd6b7fd7b5928c19c397b2a87f43a3a7a9fa.tar.xz org.eclipse.papyrus-3983bd6b7fd7b5928c19c397b2a87f43a3a7a9fa.zip |
Profile migration expects to be able to set IDs.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=401830
-rw-r--r-- | plugins/cdo/org.eclipse.papyrus.cdo.core/src/org/eclipse/papyrus/cdo/core/resource/PapyrusDawnResourceImpl.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/plugins/cdo/org.eclipse.papyrus.cdo.core/src/org/eclipse/papyrus/cdo/core/resource/PapyrusDawnResourceImpl.java b/plugins/cdo/org.eclipse.papyrus.cdo.core/src/org/eclipse/papyrus/cdo/core/resource/PapyrusDawnResourceImpl.java index f0f4bb11c58..92bb19525dc 100644 --- a/plugins/cdo/org.eclipse.papyrus.cdo.core/src/org/eclipse/papyrus/cdo/core/resource/PapyrusDawnResourceImpl.java +++ b/plugins/cdo/org.eclipse.papyrus.cdo.core/src/org/eclipse/papyrus/cdo/core/resource/PapyrusDawnResourceImpl.java @@ -13,6 +13,7 @@ package org.eclipse.papyrus.cdo.core.resource; import org.eclipse.emf.cdo.dawn.resources.impl.DawnWrapperResourceImpl; import org.eclipse.emf.common.util.URI; +import org.eclipse.emf.ecore.EObject; /** @@ -47,4 +48,10 @@ public class PapyrusDawnResourceImpl public String toString() { return String.format("%s{uri: %s}", super.toString(), getURI()); } + + @Override + public void setID(EObject eObject, String id) { + // profile migration expects to be able to do this, but it has + // no meaning. Just don't throw as the super implementation does + } } |