Package org.eclipse.team.ui.mapping
Interface ITeamStateChangeEvent
- All Known Implementing Classes:
- TeamStateChangeEvent
public interface ITeamStateChangeEvent
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.
- Since:
- 3.2
- See Also:
- 
Method SummaryModifier and TypeMethodDescriptionReturn the set of resources that were previously undecorated but are now decorated.Return the set of resources whose decorated state has changed.Return the set of resources that were previously decorated but are now undecorated.booleanReturn whether the resource has any state changes.
- 
Method Details- 
getAddedRootsIResource[] getAddedRoots()Return the set of resources that were previously undecorated but are now decorated.- Returns:
- the set of resources that were previously undecorated but are now decorated.
 
- 
getRemovedRootsIResource[] getRemovedRoots()Return the set of resources that were previously decorated but are now undecorated.- Returns:
- the set of resources that were previously decorated but are now undecorated.
 
- 
getChangedResourcesIResource[] getChangedResources()Return the set of resources whose decorated state has changed.- Returns:
- the set of resources whose decorated state has changed.
 
- 
hasChangeReturn whether the resource has any state changes. This returnstrueif the resource is included in the set of changes returned bygetChangedResources()or if it is a descendant of a root that is present in a set returned bygetAddedRoots()orgetRemovedRoots().- Parameters:
- resource- the resource
- Returns:
- whether the resource has any state changes
 
 
-