|
Eclipse Platform Release 3.3 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectorg.eclipse.team.core.diff.provider.Diff
Abstract implementation of IDiff that can be subclassed by
clients.
ITwoWayDiff,
IThreeWayDiff| Field Summary | |
|---|---|
static int |
KIND_MASK
Constant (bit mask) that defines the area of the status that is reserved for use by this abstract class for encoding the kind of the diff. |
| Fields inherited from interface org.eclipse.team.core.diff.IDiff |
|---|
ADD, CHANGE, NO_CHANGE, REMOVE |
| Constructor Summary | |
|---|---|
protected |
Diff(IPath path,
int status)
Create a diff node. |
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
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. |
int |
getStatus()
Return the status of the diff node. |
int |
hashCode()
|
String |
toDiffString()
Return a string that describes the difference represented by this node. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int KIND_MASK
getStatus(),
Constant Field Values| Constructor Detail |
protected Diff(IPath path,
int status)
path - the path of the diffstatus - the status of the diff. The kind should be encoded in the
status along with any additional flags required by a subclass.| Method Detail |
public IPath getPath()
IDiffNote: the returned path never has a trailing separator.
getPath in interface IDiffpublic int getKind()
IDiffADDED, REMOVED, CHANGED.
getKind in interface IDiffIDiff.ADD,
IDiff.REMOVE,
IDiff.CHANGEpublic final int getStatus()
KIND_MASK.
public String toDiffString()
IDiff
toDiffString in interface IDiffpublic int hashCode()
public boolean equals(Object obj)
|
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.