|
Re: Record change [message #1748745 is a reply to message #1748661] |
Mon, 28 November 2016 09:45 |
|
This is outside the scope of Epsilon, but here are a few pointers to various resources you could check .
EMF Compare is, as it says, a comparison algorithm - it'll take two versions of a model and tell you what was added / removed / changed. Model comparison is not an easy problem to solve, however, and it cannot retrieve the exact sequence of changes that produced the final version. You could try asking what you don't understand over at their forum:
https://www.eclipse.org/forums/index.php/f/164/
Another option is to use EMF adapters to "listen" to a model and collect the change events as they happen on the editor. That requires using more space, but you get back the exact sequence of changes and you don't have to tweak any algorithm. You'll have to write the appropriate code to plug that into your editor, of course:
http://www.vogella.com/tutorials/EclipseEMFNotification/article.html
In fact, I believe EMFStore uses this functionality to provide its versioning support. Perhaps you could just store your models in EMFStore and then look at the "change packages" that it keeps between versions. You may want to look around on their website:
https://www.eclipse.org/emfstore/
|
|
|
|
Re: Record change [message #1748792 is a reply to message #1748789] |
Mon, 28 November 2016 16:19 |
|
As far as I know, EML can be used to match elements from two models (or two versions of the same model) and then ECL can be used to compare those matches. I believe (but I'm not 100% sure) that EML/ECL predate EMF Compare / EMFStore.
EMF/ECL pretty much allow you to have a custom comparison approach for your modelling language. However, I haven't used them much, so I wouldn't be able to help much. Sorry!
|
|
|
Powered by
FUDForum. Page generated in 0.03556 seconds