Interface IMergeViewerItem.Container

    • Method Detail

      • hasChildren

        boolean hasChildren​(IDifferenceGroupProvider group,
                            com.google.common.base.Predicate<? super EObject> predicate)
        Deprecated.
        Returns whether this container has at least one child. In some cases this methods avoids having to call the potential more costly getChildren method.
        Parameters:
        group - the active group provider.
        predicate - the active predicate.
        Returns:
        true if this container has at least one child
      • getChildren

        IMergeViewerItem[] getChildren​(IDifferenceGroupProvider group,
                                       com.google.common.base.Predicate<? super EObject> predicate)
        Deprecated.
        Returns the children of this container. If this container has no children an empty array is returned (not null).
        Parameters:
        group - the active group provider.
        predicate - the active predicate.
        Returns:
        the children of this container as an array