|
Re: Ignoring attributes depending on their value [message #1755614 is a reply to message #1755447] |
Mon, 06 March 2017 10:46  |
|
Hi Matteo,
do you want to remove those diffs entirely or just hide them from the UI?
If you really want to remove them entirely (and take into account that no conflicts will be detected for them, they will not be merged, etc.), you have two options to implement such a requirement: either you use an own customized diff engine, eg by replacing the diff builder, which just doesn't add a diff if you don't want one or you use a post-processor that removes the diffs that you don't want after the diffing phase.
Personally, I'd rather go for the second option. There is a slight performance penalty for the second option, since you have to re-iterate through the diff model, but it is less intrusive, easier to active de-activate using a preference, etc.
If you are only interested in removing them from the UI, you can add a diff filter (extension point org.eclipse.emf.compare.rcp.ui.filters).
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/
|
|
|
Powered by
FUDForum. Page generated in 0.02099 seconds