|Custom merge viewer [message #1264636]
||Wed, 05 March 2014 11:23
| Thomas Laegler
Registered: February 2014
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
What is missing? Anybody knows? Every hint is appreciated!
Powered by FUDForum
. Page generated in 0.23288 seconds