|
|
Re: Hiding nodes in Content Merge Viewer [message #1748886 is a reply to message #1748861] |
Tue, 29 November 2016 17:49 |
|
Hi Conor,
recently we refactored the TreeContentMerge viewer to make it more extensible and allow to take custom content providers. Take a look at the PapyrusTreeContentMergeViewer (it has been introduced in change 67683). It extends the default TreeContentMergeViewer and uses a custom content provider (the one from Papyrus) to determine the contents of the tree content merge viewer. You could do the same to hide elements from it.
It for sure is still a bit complicated to customize the tree content merge viewer, but this viewer is also quite a complex piece (given it has to synchronize the trees based on the match, create ghost nodes, draw lines among matching nodes, etc.). Anyway, it is possible and has been done successfully already, for instance, with the PapyursTreeContentMergeViewer.
Hope that helps!
Best wishes,
Philip
--
Philip Langer
Get professional Eclipse developer support:
http://eclipsesource.com/en/services/developer-support/
--
Philip Langer
Get professional Eclipse developer support:
http://eclipsesource.com/en/services/developer-support/
[Updated on: Tue, 29 November 2016 17:50] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.04509 seconds