Community
Participate
Working Groups
The UMLRefinedElementsFilter is responsible to show and hide differences related to UML differences. When activated it should hide differences which refine UML differences. When deactivated it should hide the UML differences themselves. The current implementation works fine for all UML differences created by EMFCompare itself. However when a user creates an own UML custom diff as a subclass of UMLDiff the UMLRefinedElementsFilter only works when activated, not when deactivated. When looking at the used predicates the issue becomes clear: The predicate used when the filter is activated checks for subclasses of UMLDiff. Since the user's diff is also a subclass this works fine. The predicate used when the filter is deactivated checks the NsURI ("http://www.eclipse.org/emf/compare/uml2") instead. It would be nice if the user did not have to use the same URI for his/her custom diffs. Therefore the UMLRefinedElementsFilter predicate should be rewritten to also check for subclass of UMLDiff like the other predicate already does.