[EMF Compare]Writing a DiffModel as .uml [message #608809] |
Thu, 19 July 2007 11:58 |
Jan Reimann Messages: 90 Registered: July 2009 |
Member |
|
|
Hello NG,
today I found the Compare-Framework and I think that's the thing what I
am always was looking for ;)
Well, I had some tries. I have two Models represented by .uml-files. So
loaded them:
EObject genObject = ModelUtils.load(generatedModelURI);
EObject refObject = ModelUtils.load(referenceModelURI);
Now I want to look if they are equal(means: if they represent the same
model):
MatchModel match = new MatchService().doMatch(genObject, refObject, new
NullProgressMonitor());
DiffModel diff = new DiffMaker().doDiff(match);
To simply use the UML Model Editor to compare the difference between
both it would be fine if there is a possibility to write the diff into
an .uml-file or make a org.eclipse.uml2.uml.Model out of it. Is it possible?
greets
J.R.
|
|
|
Powered by
FUDForum. Page generated in 0.02982 seconds