Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Compare » How to hide or combine Diffs in UI?
How to hide or combine Diffs in UI? [message #1239518] Tue, 04 February 2014 06:03 Go to next message
Thomas Laegler is currently offline Thomas Laegler
Messages: 3
Registered: February 2014
Junior Member
Hi Everybody,

I'm using EMF-Compare 2.1.2 and the IPostprocessor extension point.
How can i hide or combine two Diffs in the UI. Both Diffs requires(requiredBy) each other.
Do I have to create my own custom Diff?
In EMF-Compare 1.x there was something like isHiddenBy()/hideElements() in class DiffElement.
Any suggestions are welcome

Greets & Thanks
Thomas
Re: How to hide or combine Diffs in UI? [message #1239910 is a reply to message #1239518] Wed, 05 February 2014 05:07 Go to previous messageGo to next message
Axel RICHARD is currently offline Axel RICHARD
Messages: 15
Registered: September 2010
Location: France
Junior Member
Hi Thomas,

With EMF compare 2.x :
- If you just want to hide some differences, you can create your own filter (http://www.eclipse.org/emf/compare/doc/21/developer/developer-guide.html#Add_your_own_filter)
- If you want to combine differences, you have to refine differences (http://www.eclipse.org/emf/compare/doc/21/developer/developer-guide.html#Refinement)

Hope it can help you.

Axel.


Axel Richard
Obeo
Re: How to hide or combine Diffs in UI? [message #1240441 is a reply to message #1239518] Thu, 06 February 2014 08:16 Go to previous message
Thomas Laegler is currently offline Thomas Laegler
Messages: 3
Registered: February 2014
Junior Member
Thank you for the fast reply,
the hint with a custom filter works fine for me.
Previous Topic:How to compare two "feature model" with EMF Compare
Next Topic:How to make sense of the Comparision output
Goto Forum:
  


Current Time: Fri Aug 29 08:12:55 EDT 2014

Powered by FUDForum. Page generated in 0.02110 seconds