Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » Record change(Record change in UML model)
Record change [message #1748661] Fri, 25 November 2016 20:27 Go to next message
taghreed altamimi is currently offline taghreed altamimiFriend
Messages: 184
Registered: October 2014
Senior Member
Hi,
I need to change UML model(deployment diagram) for example adding more devices,deleting device,moving artifact from device to another or delete device or adding more artifacts.Is there any tool or option that can record the changes that i have made automatically??
i tried to use EMFCompare for ecore models but i have UML models and i tried the option (compare with) i didn't understand how it works .I created two version of deployment diagram S and S2 and i choose the option compare with each other.

Can you please advise me how can i record all changes that have made to UML model.

Thanks,
Taghreed

Re: Record change [message #1748745 is a reply to message #1748661] Mon, 28 November 2016 09:45 Go to previous messageGo to next message
Antonio Garcia-Dominguez is currently offline Antonio Garcia-DominguezFriend
Messages: 594
Registered: January 2010
Location: Birmingham, UK
Senior Member

This is outside the scope of Epsilon, but here are a few pointers to various resources you could check Smile.

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 #1748789 is a reply to message #1748745] Mon, 28 November 2016 15:42 Go to previous messageGo to next message
taghreed altamimi is currently offline taghreed altamimiFriend
Messages: 184
Registered: October 2014
Senior Member
Thanks very much for your reply,I thought my question is related to Epsilon because i was reading about ECL in Epsilon book and i thought that all are related to each other.
So i can understand that ECL cannot be used to record or find changes between model but it can be used to find overlapping elements between models,am I right???
Re: Record change [message #1748792 is a reply to message #1748789] Mon, 28 November 2016 16:19 Go to previous message
Antonio Garcia-Dominguez is currently offline Antonio Garcia-DominguezFriend
Messages: 594
Registered: January 2010
Location: Birmingham, UK
Senior Member

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!
Previous Topic:Error executing link validation between EMF models
Next Topic:ho
Goto Forum:
  


Current Time: Tue Apr 16 12:36:43 GMT 2024

Powered by FUDForum. Page generated in 0.21955 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top