|
Eclipse Platform Release 3.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IDiff
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. |
java.lang.String |
toDiffString()
Return a string that describes the difference represented by this node. |
Field Detail |
---|
static final int NO_CHANGE
getKind()
,
Constant Field Valuesstatic final int ADD
getKind()
,
Constant Field Valuesstatic final int REMOVE
getKind()
,
Constant Field Valuesstatic final int CHANGE
getKind()
,
Constant Field ValuesMethod Detail |
---|
IPath getPath()
Note: the returned path never has a trailing separator.
int getKind()
ADDED
, REMOVED
, CHANGED
.
ADD
,
REMOVE
,
CHANGE
java.lang.String toDiffString()
|
Eclipse Platform Release 3.2 |
|||||||||
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, 2006. All rights reserved.