|
Eclipse Platform Release 3.3 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
A diff describes differences between two or more model objects.
This interface is not intended to be implemented by clients.
Instead, clients can subclass Diff.
ITwoWayDiff,
IThreeWayDiff| Field Summary | |
|---|---|
static int |
ADD
Diff kind constant (bit mask) indicating that the resource has been added to its parent. |
static int |
CHANGE
Diff kind constant (bit mask) indicating that the resource has been changed. |
static int |
NO_CHANGE
Diff kind constant (bit mask) indicating that the resource has not been changed in any way. |
static int |
REMOVE
Diff kind constant (bit mask) indicating that the resource has been removed from its parent. |
| Method Summary | |
|---|---|
int |
getKind()
Returns the kind of this diff. |
IPath |
getPath()
Returns the full, absolute path of the object to which the diff applies with respect to the model root. |
String |
toDiffString()
Return a string that describes the difference represented by this node. |
| Field Detail |
public static final int NO_CHANGE
getKind(),
Constant Field Valuespublic static final int ADD
getKind(),
Constant Field Valuespublic static final int REMOVE
getKind(),
Constant Field Valuespublic static final int CHANGE
getKind(),
Constant Field Values| Method Detail |
public IPath getPath()
Note: the returned path never has a trailing separator.
public int getKind()
ADDED, REMOVED, CHANGED.
ADD,
REMOVE,
CHANGEpublic String toDiffString()
|
Eclipse Platform Release 3.3 |
|||||||||||
| 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, 2007. All rights reserved.