public interface IDiffElement extends ITypedElement
IDiffElementis used in the
DiffTreeViewerto display the kind of change detected as the result of a two-way or three-way compare.
The base interface
ITypedElement provides a name, a type, and an image.
IDiffElement adds API for maintaining a parent relationship.
DiffTreeViewer works on a tree of
Leaf elements must implement the
IDiffElement interface, inner nodes the
IDiffElements are typically created as the result of performing
a compare with the
Clients may implement this interface, or use one of the standard implementations,
|Modifier and Type||Method and Description|
Returns the kind of difference as defined in
Returns the parent of this element.
Sets the parent of this element.
nullif the element has no parent
void setParent(IDiffContainer parent)
parent- the new parent of this element, or
nullif this element is to have no parent
Copyright (c) 2000, 2016 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.