Interface IElementsTreeMatcher

    • Method Detail

      • getMatchedElement

        MatchedEmfObjects getMatchedElement​(org.eclipse.emf.ecore.EObject forElement)
        Returns matched compared element for the given input element.
        forElement - the element from any of trees (main/other/ancestor) for which to get the compared element
        compared element found or null if the given input element is not matched
      • getMatchedChildren

        List<MatchedEmfObjects> getMatchedChildren​(org.eclipse.emf.ecore.EObject main,
                                                   org.eclipse.emf.ecore.EObject other,
                                                   org.eclipse.emf.ecore.EObject ancestor)
        Returns children (without sub-children) of the given elements in a result matched tree.
        main - comparing element in main tree
        other - comparing element in other tree
        ancestor - comparing element in ancestor ancestor
        list of children in a matched tree, can be empty, never null