public interface IDiff
This interface is not intended to be implemented by clients.
Instead, clients can subclass Diff
.
ITwoWayDiff
,
IThreeWayDiff
Modifier and Type | Field and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
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 ValuesIPath getPath()
Note: the returned path never has a trailing separator.
int getKind()
ADDED
, REMOVED
, CHANGED
.String toDiffString()
Guidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.