|
Eclipse Platform Release 3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IDiffContainer
IDiffContainer is a IDiffElement with children.
IDiffContainer are the inner nodes displayed
by the DiffTreeViewer.
IDiffContainer are typically created as the result of performing
a compare with the Differencer.
Clients may implement this interface, or use one of the standard implementations,
DiffContainer or DiffNode.
Differencer,
DiffTreeViewer| Field Summary |
|---|
| Fields inherited from interface org.eclipse.compare.ITypedElement |
|---|
FOLDER_TYPE, TEXT_TYPE, UNKNOWN_TYPE |
| Method Summary | |
|---|---|
void |
add(IDiffElement child)
Adds the given child to this container. |
IDiffElement[] |
getChildren()
Returns the children of this container. |
boolean |
hasChildren()
Returns whether this container has at least one child. |
void |
removeToRoot(IDiffElement child)
Removes the given child from this container. |
| Methods inherited from interface org.eclipse.compare.structuremergeviewer.IDiffElement |
|---|
getKind, getParent, setParent |
| Methods inherited from interface org.eclipse.compare.ITypedElement |
|---|
getImage, getName, getType |
| Method Detail |
|---|
boolean hasChildren()
getChildren method.
true if this container has at least one childIDiffElement[] getChildren()
null).
void add(IDiffElement child)
child - the child to be added to this containervoid removeToRoot(IDiffElement child)
child - the child to be removed from this container
|
Eclipse Platform Release 3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2010. All rights reserved.