Interface IMergeViewerItem.Container

All Superinterfaces:
Adapter, IMergeViewerItem
All Known Implementing Classes:
MergeViewerItem.Container, ResourceAttachmentChangeMergeViewerItem
Enclosing interface:
IMergeViewerItem

@Deprecated public static interface IMergeViewerItem.Container extends IMergeViewerItem
Deprecated.
IMergeViewerItem.Container is no longer needed since its functionality is now provided by IMergeViewerItemContentProvider. Use an IMergeViewerItem instead.
An IMergeViewerItem.Container knows its children.
Since:
4.0
  • Method Details

    • 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