Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [emf compare] compare two jface treeviewer model data
[emf compare] compare two jface treeviewer model data [message #990529] Wed, 12 December 2012 22:13 Go to next message
sam mn is currently offline sam mnFriend
Messages: 25
Registered: August 2010
Junior Member
Pardon me but I have a simple question to ask relating to EMF Compare. Tried searching a lot, but couldn't find much information.
Can we use EMF Compare to compare two jface treeviewer model data and show it in another diff viewer ?

http://www.eclipse.org/forums/index.php/t/441260/


In Detail:
Actually we have xml files, which are unmarshalled and displayed into a tree view. We are checking this into repo. So we have versions of this xml file and would like to perform a comparison operation. Once we checkout the xml file, we extract model data (by JAXB unmarshall) and then show it in jface treeviewer.

Now, can we feed this model data of two different xml files to emf compare and show the diff in another jface treeviewer?

Can I use this outside eclipse ? i mean in my RCP project ?

Any links I can look for examples because [org.eclipse.emf.compare.examples.standalone] is not accessible.
Re: [emf compare] compare two jface treeviewer model data [message #990570 is a reply to message #990529] Thu, 13 December 2012 08:46 Go to previous message
Laurent Goubet is currently offline Laurent GoubetFriend
Messages: 1639
Registered: July 2009
Senior Member
This has been answered on http://www.eclipse.org/forums/index.php/t/441425/.
Re: [emf compare] compare two jface treeviewer model data [message #990703 is a reply to message #990529] Thu, 13 December 2012 04:56 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 26283
Registered: July 2009
Senior Member
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
I'm pretty sure EMF Compare needs an EMF model.  It doesn't sound
like you have one.  <br>
<blockquote><a
href="http://help.eclipse.org/ganymede/index.jsp?topic=/org.eclipse.emf.doc/tutorials/xlibmod/xlibmod.html">Tutorial:
Generating an EMF Model using XML Schema</a><br>
</blockquote>
<div class="moz-cite-prefix">On 12/12/2012 11:13 PM, sam mn wrote:<br>
</div>
<blockquote cite="mid:kaavip$3q4$1@xxxxxxxxe.org" type="cite">Pardon
me but I have a simple question to ask relating to EMF Compare.
Tried searching a lot, but couldn't find much information.
<br>
Can we use EMF Compare to compare two jface treeviewer model data
and show it in another diff viewer ?
<br>
<br>
<a class="moz-txt-link-freetext" href="http://www.eclipse.org/forums/index.php/t/441260/">http://www.eclipse.org/forums/index.php/t/441260/</a>
<br>
<br>
<br>
In Detail:
<br>
Actually we have xml files, which are unmarshalled and displayed
into a tree view. We are checking this into repo. So we have
versions of this xml file and would like to perform a comparison
operation. Once we checkout the xml file, we extract model data
(by JAXB unmarshall) and then show it in jface treeviewer. <br>
Now, can we feed this model data of two different xml files to emf
compare and show the diff in another jface treeviewer?
<br>
<br>
Can I use this outside eclipse ? i mean in my RCP project ?
<br>
<br>
Any links I can look for examples because
[org.eclipse.emf.compare.examples.standalone] is not accessible.
<br>
</blockquote>
<br>
</body>
</html>
Previous Topic:[CDO] Server replication mechanism
Next Topic:ECrossReferenceAdapter missing links
Goto Forum:
  


Current Time: Fri Dec 19 13:53:16 GMT 2014

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

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