|
|
|
Re: Emf model compare view source code [message #1473011 is a reply to message #1463685] |
Fri, 14 November 2014 09:08 |
Philip Langer 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
|
|
|
Powered by
FUDForum. Page generated in 0.03454 seconds