Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 20:41 Go to next message
maria  finkelstein is currently offline maria finkelsteinFriend
Messages: 19
Registered: December 2011
Location: New York, NY
Junior Member
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 120 times)
Re: Emf model compare view source code [message #1464237 is a reply to message #1463685] Fri, 07 November 2014 10:31 Go to previous messageGo to next message
Karsten Thoms is currently offline Karsten ThomsFriend
Messages: 762
Registered: July 2009
Location: Dortmund, Germany
Senior Member

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


Need professional support for Xtext, EMF, Eclipse IDE?
Go to: http://devhub.karakun.com
Twitter : @kthoms
Blog : www.karsten-thoms.de
Re: Emf model compare view source code [message #1464436 is a reply to message #1464237] Fri, 07 November 2014 14:59 Go to previous messageGo to next message
maria  finkelstein is currently offline maria finkelsteinFriend
Messages: 19
Registered: December 2011
Location: New York, NY
Junior Member
thank you Karsten!!!
Re: Emf model compare view source code [message #1473011 is a reply to message #1463685] Fri, 14 November 2014 09:08 Go to previous message
Philip Langer is currently offline Philip LangerFriend
Messages: 31
Registered: July 2009
Member
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: Fri Apr 26 03:24:02 GMT 2024

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

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

Back to the top