Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 11:58
Jan Reimann is currently offline Jan ReimannFriend
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.
Previous Topic:Writing a DiffModel as .uml
Next Topic:[EMF Compare]Writing a DiffModel as .uml
Goto Forum:
  


Current Time: Tue Aug 16 16:32:45 GMT 2022

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

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

Back to the top