Skip to main content



      Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [EMF Compare]Writing a DiffModel as .uml
[EMF Compare]Writing a DiffModel as .uml [message #608809] Thu, 19 July 2007 07:58
Eclipse UserFriend
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.
Previous Topic:Writing a DiffModel as .uml
Next Topic:[EMF Compare]Writing a DiffModel as .uml
Goto Forum:
  


Current Time: Sun May 11 05:14:14 EDT 2025

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

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

Back to the top