|
Re: Compare Result of compare editor without the UI [message #1457424 is a reply to message #1456364] |
Fri, 31 October 2014 10:02 |
|
Hi Shyam,
The comparison and display are not that tied together, unless you wish for your comparison to be launched through the "compare with" menu... in which case you are stuck with the Eclipse Team UI (which we only extend for our needs).
If you have your own means to launch a comparison along with your own UI to display its results and are only missing the "comparison" part, you can simply make use of EMF Compare programmatically (see the FAQ) and process the resulting Comparison model yourself.
Is that what you're searching for?
Laurent Goubet
Obeo
|
|
|
|
Re: Compare Result of compare editor without the UI [message #1460170 is a reply to message #1458249] |
Mon, 03 November 2014 09:11 |
|
Shyam,
This sub-forum is for EMF Compare, a tool that extends the Eclipse comparison framework to allow for the comparison of EMF models. If what you are trying to compare are text files (i.e. they're not the serializations of EMF models), then EMF Compare will do nothing for you.
Unfortunately, I don't think the compare framework can be re-used programmatically, even if you use your own comparison action and have your own UI to display the result. I'd suggest relying on an external comparison tool (you could import google's diff-match-patch for example) and process the result of that comparison in your tool. You can also try to ask on the eclipse platform sub-forum (prefix your thread with "[Compare]" or "[Team]") to see if there is such a functionality available directly from Eclipse compare.
If your files _are_ EMF models, then the link I previously gave you should help .
Laurent Goubet
Obeo
|
|
|
|
Powered by
FUDForum. Page generated in 0.03831 seconds