|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Field Summary | |
---|---|
static int |
ADDED
Kind constant (value 1) for added resources. |
static int |
CHANGED
Kind constant (value 2) for changed resources. |
static int |
NO_CHANGE
Kind constant (value 0) for no change. |
static int |
REMOVED
Kind constant (value 3) for removed resources. |
Method Summary | |
---|---|
IModuleResourceDelta[] |
getAffectedChildren()
Returns module resource deltas for all children of this resource which were added, removed, or changed. |
int |
getKind()
Returns the kind of this resource delta. |
IPath |
getModuleRelativePath()
Returns the module-relative path of this resource delta. |
IModuleResource |
getModuleResource()
Returns the module resource represented by this delta. |
Field Detail |
public static final int NO_CHANGE
getKind()
,
Constant Field Valuespublic static final int ADDED
getKind()
,
Constant Field Valuespublic static final int CHANGED
getKind()
,
Constant Field Valuespublic static final int REMOVED
getKind()
,
Constant Field ValuesMethod Detail |
public IModuleResource getModuleResource()
public int getKind()
ADDED
,
REMOVED
, CHANGED
.
ADDED
,
REMOVED
,
CHANGED
public IModuleResourceDelta[] getAffectedChildren()
This is a convenience method, fully equivalent to:
getAffectedChildren(ADDED | REMOVED | CHANGED, IResource.NONE);
ADDED
,
REMOVED
,
CHANGED
public IPath getModuleRelativePath()
A resource's module-relative path indicates the route from the module to the resource. Within a module, there is exactly one such path for any given resource. The returned path never has a trailing separator.
IModuleResource.getModuleRelativePath()
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |