Hello all Comparer,
i'm a newbie to EMF Compare and i want to understand this great stuff. I
have a model with four elements
Element:Root
PrimitiveType{name=Integer}
PrimitiveType{name=Real}
PrimitiveType{name=Boolean}
PrimitiveType{name=String}
Than, i create another similiar model like this
Element:Root
PrimitiveType{name=Integer}
PrimitiveType{name=Double}
PrimitiveType{name=Boolean}
PrimitiveType{name=String}
Only the Real value changed to Double. After merging these two models,
the resulting models is exactly the second model. I've introspected the
DiffModel and a Update difference was detected.
What i want the merge algorithm to do is to copy the new double
primitive type into the existing model, so that five primitive types are
contained in the root instead of four. So, for me a general questions
has raised:
Is it possible to build the diff of these two models and than just copy
the missing elements into the left model? I didn't want to get the
models merged entiredly in the end.
And how did EMF Compare indicated that two instances are "equal"?
Thx
Timothy