Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCalin GLITIA2015-10-21 09:41:44 +0000
committerChristian W. Damus2015-10-21 15:36:33 +0000
commitcfb5eb942496fc798f9afec71f666c960d272939 (patch)
tree76b8ece53c4da91c9304ed6a841b1a5559bf99b9 /plugins/infra/core
parent82b21a72b8cf9ddc03ae9e4cc57056c0d32e2598 (diff)
downloadorg.eclipse.papyrus-cfb5eb942496fc798f9afec71f666c960d272939.tar.gz
org.eclipse.papyrus-cfb5eb942496fc798f9afec71f666c960d272939.tar.xz
org.eclipse.papyrus-cfb5eb942496fc798f9afec71f666c960d272939.zip
Bug 480209: [Control Mode] Referencing resources are not marked as modified
https://bugs.eclipse.org/bugs/show_bug.cgi?id=480209 - fix ProxyModificationTrackingAdapter so referencing resources of notification object are set as modified, not only the ones of its children Change-Id: I4eebb170dbbafb33be74e24c16baed7c1854ed7e Signed-off-by: Calin GLITIA <calin.glitia@esterel-technologies.com>
Diffstat (limited to 'plugins/infra/core')
-rw-r--r--plugins/infra/core/org.eclipse.papyrus.infra.core/src/org/eclipse/papyrus/infra/core/resource/ProxyModificationTrackingAdapter.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/infra/core/org.eclipse.papyrus.infra.core/src/org/eclipse/papyrus/infra/core/resource/ProxyModificationTrackingAdapter.java b/plugins/infra/core/org.eclipse.papyrus.infra.core/src/org/eclipse/papyrus/infra/core/resource/ProxyModificationTrackingAdapter.java
index 0070c7f91ce..19214a2b52e 100644
--- a/plugins/infra/core/org.eclipse.papyrus.infra.core/src/org/eclipse/papyrus/infra/core/resource/ProxyModificationTrackingAdapter.java
+++ b/plugins/infra/core/org.eclipse.papyrus.infra.core/src/org/eclipse/papyrus/infra/core/resource/ProxyModificationTrackingAdapter.java
@@ -10,6 +10,7 @@
* Mathieu Velten (Atos) mathieu.velten@atos.net - Initial API and implementation
* Christian W. Damus (CEA) - bug 432753
* Christian W. Damus (CEA) - bug 437052
+ * Calin Glitia (Esterel Technologies) calin.glitia@esterel-technologies.com - bug 480209
*
*****************************************************************************/
package org.eclipse.papyrus.infra.core.resource;
@@ -122,6 +123,7 @@ public class ProxyModificationTrackingAdapter extends EContentAdapter {
for (Object o : objects) {
if (o instanceof EObject) {
+ setReferencingResourcesAsModified((EObject) o);
TreeIterator<Object> properContents = EcoreUtil.getAllProperContents((EObject) o, false);
while (properContents.hasNext()) {
Object obj = properContents.next();

Back to the top