|
Re: Custom content merge viewer [message #1850680 is a reply to message #1850532] |
Mon, 14 March 2022 08:10 |
|
Hello Philip,
- I don't think you will have to use AccessorAdapter as this is more of an internal of EMF Compare, but you will likely have to check the ICompareAccessor and subclasses of IStructuralFeatureAccessor as these are how we link the Structure Merge Viewers (SMV, top panel of the compare editor) and the Content Merge Viewer (CMV, bottom panel that shows the trees/properties/...). However, please let us know if some classes are marked as internal but required for sub-classes like the one you are trying to implement as this might be an oversight on our end and we can open APIs as needed.
- The CMV have to implement org.eclipse.compare.contentmergeviewer.ContentMergeViewer at the very least, this is how Eclipse Compare defines CMVs and accepts them through its extension point (org.eclipse.compare.contentMergeViewers). You can take a look at the corresponding plugin.xml to see how we contribute to this extension for our viewers.
Laurent Goubet
Obeo
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05460 seconds