- All Known Subinterfaces:
IDiffContainer are the inner nodes displayed
IDiffContainer are typically created as the result of performing
a compare with the
Clients may implement this interface, or use one of the standard implementations,
Method SummaryModifier and TypeMethodDescription
voidAdds the given child to this container.Returns the children of this container.
booleanReturns whether this container has at least one child.
voidRemoves the given child from this container.
Methods inherited from interface org.eclipse.compare.structuremergeviewer.IDiffElement
getKind, getParent, setParent
hasChildrenboolean hasChildren()Returns whether this container has at least one child. In some cases this methods avoids having to call the potential more costly
trueif this container has at least one child
getChildrenIDiffElement getChildren()Returns the children of this container. If this container has no children an empty array is returned (not
- the children of this container as an array
(IDiffElement child)Adds the given child to this container. If the child is already contained in this container, this method has no effect.
child- the child to be added to this container
(IDiffElement child)Removes the given child from this container. If the container becomes empty it is removed from its container. If the child is not contained in this container, this method has no effect.
child- the child to be removed from this container