Skip to main content



      Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » Emf model compare view source code
Emf model compare view source code [message #1463685] Thu, 06 November 2014 15:41 Go to next message
Eclipse UserFriend
hello all!
i am looking for emf compare view source code.
when you compare two ecore files using right click compare with each other action, you are getting some compare editor and in the bottom there is two trees with connections ..i am actually looking for how this trees was implemented.
attaching screen shot
  • Attachment: compare.png
    (Size: 59.10KB, Downloaded 143 times)
Re: Emf model compare view source code [message #1464237 is a reply to message #1463685] Fri, 07 November 2014 05:31 Go to previous messageGo to next message
Eclipse UserFriend
Hi Maria,

the EMF Compare source repository can be found here:
http://git.eclipse.org/c/emfcompare/org.eclipse.emf.compare.git/

The Git clone URL is
http://git.eclipse.org/gitroot/emfcompare/org.eclipse.emf.compare.git

Regards,
~Karsten
Re: Emf model compare view source code [message #1464436 is a reply to message #1464237] Fri, 07 November 2014 09:59 Go to previous messageGo to next message
Eclipse UserFriend
thank you Karsten!!!
Re: Emf model compare view source code [message #1473011 is a reply to message #1463685] Fri, 14 November 2014 04:08 Go to previous message
Eclipse UserFriend
Hi Maria,

On Thu, 06 Nov 2014 21:41:09 +0100, maria finkelstein
<forums-noreply@xxxxxxxx> wrote:
> hello all!
> i am looking for emf compare view source code.

For getting the source code of EMF Compare, including the UI code, please
refer to
https://wiki.eclipse.org/EMF_Compare/Contributor_Guide#Checking_out_the_code

> when you compare two ecore files using right click compare with each
> other action, you are getting some compare editor and in the bottom
> there is two trees with connections ..i am actually looking for how this
> trees was implemented.
> attaching screen shot

I think, the class that you are interested in is
org.eclipse.emf.compare.ide.ui.internal.contentmergeviewer.tree.TreeContentMergeViewer.

Several years ago, I also implemented a small viewer with two trees and
lines between them based on the code of EMF Compare back then and
extracted a more general viewer. Not sure though if this still works with
the current version of SWT, but maybe it helps too:
http://sourceforge.net/p/emfmo/code/ci/master/tree/org.modelversioning.ui.commons/src/org/modelversioning/ui/commons/parts/LineDrawingCenterPart.java

Best wishes,

Philip

--
http://eclipsesource.com/vienna
Previous Topic:How to disable default validation marking in EMFForms-generated controls?
Next Topic:How to Reload the Data with ecp Renderers in the Properties View
Goto Forum:
  


Current Time: Sun Jul 13 10:40:18 EDT 2025

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

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

Back to the top