|
Eclipse Platform Release 3.0 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.compare.structuremergeviewer.DiffElement
An abstract base implementation of the IDiffElement interface.
Subclasses may add behavior and state, and may override getImage and getType to suit.
| Field Summary |
| Fields inherited from interface org.eclipse.compare.ITypedElement |
| FOLDER_TYPE, TEXT_TYPE, UNKNOWN_TYPE |
| Constructor Summary | |
| DiffElement(IDiffContainer parent,
int kind)
Creates a new DiffElement as a child of the given parent. | |
| Method Summary | |
| Image | getImage()
The DiffElement implementation of this ITypedInput method returns null. |
| int | getKind()
Returns the kind of difference as defined in Differencer. |
| IDiffContainer | getParent()
Returns the parent of this element. |
| String | getType()
The DiffElement implementation of this ITypedElement method returns ITypedElement.UNKNOWN_TYPE. |
| void | setKind(int kind)
Sets the kind of difference for this element. |
| void | setParent(IDiffContainer parent)
Sets the parent of this element. |
| Methods inherited from class java.lang.Object |
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.eclipse.compare.ITypedElement |
| getName |
| Constructor Detail |
public DiffElement(IDiffContainer parent,
int kind)
| Method Detail |
public Image getImage()
public String getType()
public void setKind(int kind)
public int getKind()
public IDiffContainer getParent()
public void setParent(IDiffContainer parent)
|
Eclipse Platform Release 3.0 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2004. All rights reserved.