Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Compare » [EMF Compare] Ecore diagram for EMF Compare metamodel?
[EMF Compare] Ecore diagram for EMF Compare metamodel? [message #657052] Tue, 01 March 2011 08:22 Go to next message
leonard.krpan is currently offline leonard.krpan
Messages: 20
Registered: March 2011
Junior Member
Hi,

I would like to take a look at the EMF Compare metamodel in the Ecore diagram form, as to better understand all the references.

Where can I find the diagram or the original Ecore model? Is there possibly a way to create an Ecore diagram from the Ecore model in Eclipse?

Thanks!
Re: [EMF Compare] Ecore diagram for EMF Compare metamodel? [message #665088 is a reply to message #657052] Wed, 13 April 2011 04:47 Go to previous message
Laurent Goubet is currently offline Laurent Goubet
Messages: 1609
Registered: July 2009
Senior Member
Hi,

If you have the EMF Compare SDK installed :


  1. Use the File > Import... menu
  2. Select Plug-in Development > Plug-ins and fragments
  3. In the "Import As" section, tick "Projects with source folders"
  4. Hit "Next"
  5. Enter "*emf.compare" as the filter
  6. Select both "org.eclipse.emf.compare.match" and "org.eclipse.emf.compare.diff"


Otherwise, retrieve these two projects from either CVS or Git : http://wiki.eclipse.org/Setting_up_a_development_environment _for_EMF_Compare

Once both org.eclipse.emf.compare.match and org.eclipse.emf.compare.diff are in your workspace, you can find the two metamodels in their respective "model" folder (org.eclipse.emf.compare.match/model/match.ecore and org.eclipse.emf.compare.diff/model/diff.ecore).

We do not have those metamodels in diagram form, but IIRC, Ecore tools allows you to initialize a diagram from a given ecore file.

Laurent Goubet
Obeo
Previous Topic:URIHandler extension
Next Topic:[EMF Compare] Custom ContentProvider and LabelProvider + TransactionalEditingDomain
Goto Forum:
  


Current Time: Thu Apr 17 17:42:36 EDT 2014

Powered by FUDForum. Page generated in 0.01715 seconds