|
Eclipse Platform Release 3.2 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A description of the team state changes that have occurred. This event indicates the resources for which the team state may have changed. However, it may be the case that the state did not actually change. Clients that wish to determine if the state ha changed must cache the previous state and re-obtain the state when they receive this event. Also, the event may not include team state changes that resulted from local changes. Clients should listen for resource changes as well.
This interface is not intended to be implemented by clients. Clients should
instead use TeamStateChangeEvent
.
ITeamStateChangeListener
,
ITeamStateProvider
,
TeamStateChangeEvent
Method Summary | |
---|---|
IResource[] |
getAddedRoots()
Return the set of resources that were previously undecorated but are now decorated. |
IResource[] |
getChangedResources()
Return the set of resources whose decorated state has changed. |
IResource[] |
getRemovedRoots()
Return the set of resources that were previously decorated but are now undecorated. |
boolean |
hasChange(IResource resource)
Return whether the resource has any state changes. |
Method Detail |
public IResource[] getAddedRoots()
public IResource[] getRemovedRoots()
public IResource[] getChangedResources()
public boolean hasChange(IResource resource)
true
if the resource is included in the set
of changes returned by getChangedResources()
or
if it is a descendant of a root that is present in a set
returned by getAddedRoots()
or getRemovedRoots()
.
resource
- the resource
|
Eclipse Platform Release 3.2 |
|||||||||||
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, 2006. All rights reserved.