|
Eclipse Platform Release 3.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A change event that describes a change in a resource that is or was supervised by a subscriber.
Clients are not intented to implement. Instead subclass SubscriberChangeEvent
.
ISubscriberChangeListener
Field Summary | |
static int |
NO_CHANGE
Delta kind constant indicating that the resource has not been changed in any way |
static int |
ROOT_ADDED
Delta kind constant (bit mask) indicating that a team provider has been configured on the resource. |
static int |
ROOT_REMOVED
Delta kind constant (bit mask) indicating that a team provider has been de-configured on the resource. |
static int |
SYNC_CHANGED
Delta kind constant (bit mask) indicating that the synchronization state of a resource has changed. |
Method Summary | |
int |
getFlags()
Return the flags that describe the type of change. |
IResource |
getResource()
Return the resource whose state with respect to the subscriber has changed. |
Subscriber |
getSubscriber()
Return the subscriber to which this change event applies. |
Field Detail |
public static final int NO_CHANGE
IResourceDelta#getKind
,
Constant Field Valuespublic static final int SYNC_CHANGED
getFlags()
,
Constant Field Valuespublic static final int ROOT_ADDED
getFlags()
,
Constant Field Valuespublic static final int ROOT_REMOVED
getFlags()
,
Constant Field ValuesMethod Detail |
public int getFlags()
if (event.getFlags() & ISubscriberChangeEvent.SYNC_CHANGED) { // the sync info for the resource has changed }
public IResource getResource()
public Subscriber getSubscriber()
|
Eclipse Platform Release 3.0 |
||||||||||
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, 2004. All rights reserved.