Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaurent Delaigue2016-11-29 14:46:42 +0000
committerLaurent Delaigue2017-01-24 16:05:31 +0000
commit91b39cd8e5d2b7a1c6e24568798a5a39b6a14fe7 (patch)
tree06e61e8897de3a04afc7065f8dc06b9b55debd16 /plugins/org.eclipse.emf.compare.tests/src/org/eclipse/emf/compare
parent923bc2e649f75b629857a517e0531f33741a4e7d (diff)
downloadorg.eclipse.emf.compare-91b39cd8e5d2b7a1c6e24568798a5a39b6a14fe7.tar.gz
org.eclipse.emf.compare-91b39cd8e5d2b7a1c6e24568798a5a39b6a14fe7.tar.xz
org.eclipse.emf.compare-91b39cd8e5d2b7a1c6e24568798a5a39b6a14fe7.zip
[497566] Never alter files before save
EMF Compare now installs an Adapter on the left and right ResourceSet and Resources to react to content changes. When a Resource is added or becomes empty, the Adapter checks whether the resource must be deleted and keeps track of that info. It also reacts when undo/redo are performed. Resources are actually only deleted on save. Additionally a mechanism on the new ResourceChangeAdapter allows third-parties to participate in the decision. That way it's possible to create or delete several resources at a time, and to prevent a deletion of one resource if some associated resources must not be deleted. This helps supporting Papyrus for example. Change-Id: Ic77e2482e4db5ec537126e3e9c0fa96d633247ce Also-by: Axel Richard <axel.richard@obeo.fr> Signed-off-by: Laurent Delaigue <laurent.delaigue@obeo.fr>
Diffstat (limited to 'plugins/org.eclipse.emf.compare.tests/src/org/eclipse/emf/compare')
0 files changed, 0 insertions, 0 deletions

Back to the top