Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Compare » Changes in UML Model
Changes in UML Model [message #1057966] Fri, 10 May 2013 08:09 Go to next message
Simon Schwichtenberg is currently offline Simon SchwichtenbergFriend
Messages: 127
Registered: September 2011
Senior Member
Hi,

I've created an Ecore model that contains a class "Room" and "MyRoom". When I compare them, it is correctly recognized, that the names have changed.

The same does not work for UML models. If I compare them, it is recognized, that "Room" has been removed, and "MyRoom" has been added (also when I remove the ids from the UML files).

What is the reason for that behavior? Is this a bug? Can I do something about it?
Re: Changes in UML Model [message #1058227 is a reply to message #1057966] Mon, 13 May 2013 09:33 Go to previous message
Simon Schwichtenberg is currently offline Simon SchwichtenbergFriend
Messages: 127
Registered: September 2011
Senior Member
I found out that you cannot delete the xmids from the file: they are restored internally during loading.

You can exclude the comparison of the IDs from the preferences page (window > preferences > EMF compare):
* ignore functional ID for model comparison (a functional ID is an EAttribute in the meta model, where the id flag is set to true)
* ignore XMI ID for model comparison (universal unique id from xmi resources)
Previous Topic:[EMFCompare] Diff: Deleted attribute from a class
Next Topic:Workspace Setup EMF Compare
Goto Forum:
  


Current Time: Thu Apr 25 11:31:12 GMT 2024

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

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

Back to the top