Skip to main content


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 11:03 Go to next message
Thomas Laegler is currently offline Thomas LaeglerFriend
Messages: 4
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 10:07 Go to previous messageGo to next message
Axel RICHARD is currently offline Axel RICHARDFriend
Messages: 43
Registered: September 2010
Location: France
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 13:16 Go to previous message
Thomas Laegler is currently offline Thomas LaeglerFriend
Messages: 4
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: Tue Mar 19 09:14:20 GMT 2024

Powered by FUDForum. Page generated in 0.02138 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top