[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.platform] Re: Compare Example
|
Simon,
In EMF Compare, we chose to extend both
org.eclipse.compare.structuremergeviewers (upper part, as you found out
already) and org.eclipse.compare.contentmergeviewers (lower part)
extension points. I think extending the latter is the only way of having
your own custom viewer displayed for the lower right / left viewers of
the compare viewer.
You could take a look at how we achieved this within
org.eclipse.emf.compare.ui ...
Cheers,
Laurent Goubet
Obeo
cocoa@xxxxxx a écrit :
I'm trying to implement compare support for a custom content type. The
content type is structured, so I've figured out how to add an extension
for the org.eclipse.compare.structureCreators extension point. The
IStructureCreator works, i.e. the upper part of the CompareEditor is correctly
displaying the hierarchy of all the changes.
The problem I have now is that the lower part of the compare editor (the
part having two sides, left and right, showing the differences) is
still text based. I'd like to show a custom viewer for the left / right
side, let's say a tree viewer. Does anybody have an example how to achieve
that?
Simon
begin:vcard
fn:Laurent Goubet
n:Goubet;Laurent
org:<a href="http://www.obeo.fr/">Obeo</a>
email;internet:laurent.goubet@xxxxxxx
url:http://www.obeo.fr
version:2.1
end:vcard