public interface IDiff
ITwoWayDiff
,
IThreeWayDiff
Diff
.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()
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.