Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsCustom merge viewer
https://www.eclipse.org/forums/index.php/mv/msg/666771/1264636/#msg_1264636
Im using EMF-Compare and made some customizations. Now i want to show a SWT.Browser, when the Diff is a certain Xhtml-Element. Which classes do I have to extend?
What I have until now:
a custom HtmlMergeViewerCreator implements IViewerCreator
a custom HtmlMergeViewer extends ContentMergeViewer
and a extension to extension-point org.eclipse.compare.contentMergeViewers in plugin.xml, which points to my HtmlMergeViewerCreator
When I compare two files, my custom merge viewer opens on the first Diff.
But when i navigate to a HTML Diff the default EMF Model Compare opens instead of my custom merge viewer. And I can't select my HTML Viewer