Package org.eclipse.team.ui.synchronize
Class TeamStateChangeEvent
java.lang.Object
org.eclipse.team.ui.synchronize.TeamStateChangeEvent
- All Implemented Interfaces:
- ITeamStateChangeEvent
An implementation of 
ITeamStateChangeEvent.
 This class is not intended to be subclassed by clients.
- Since:
- 3.2
- 
Constructor SummaryConstructorsConstructorDescriptionTeamStateChangeEvent(ISubscriberChangeEvent[] deltas) Convenience constructor for creating an event from a subscriber change.
- 
Method SummaryModifier and TypeMethodDescriptionvoidThe given resource has changed state.Return 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.voidThe given root resource has been added.voidrootRemoved(IResource resource) The given root resource has been removed.
- 
Constructor Details- 
TeamStateChangeEventpublic TeamStateChangeEvent()
- 
TeamStateChangeEventConvenience constructor for creating an event from a subscriber change.- Parameters:
- deltas- the set of subscriber changes
 
 
- 
- 
Method Details- 
changedThe given resource has changed state.- Parameters:
- resource- the resource whose state has changed
 
- 
rootRemovedThe given root resource has been removed.- Parameters:
- resource- the resource
 
- 
rootAddedThe given root resource has been added.- Parameters:
- resource- the resource
 
- 
getAddedRootsDescription copied from interface:ITeamStateChangeEventReturn the set of resources that were previously undecorated but are now decorated.- Specified by:
- getAddedRootsin interface- ITeamStateChangeEvent
- Returns:
- the set of resources that were previously undecorated but are now decorated.
 
- 
getRemovedRootsDescription copied from interface:ITeamStateChangeEventReturn the set of resources that were previously decorated but are now undecorated.- Specified by:
- getRemovedRootsin interface- ITeamStateChangeEvent
- Returns:
- the set of resources that were previously decorated but are now undecorated.
 
- 
getChangedResourcesDescription copied from interface:ITeamStateChangeEventReturn the set of resources whose decorated state has changed.- Specified by:
- getChangedResourcesin interface- ITeamStateChangeEvent
- Returns:
- the set of resources whose decorated state has changed.
 
- 
hasChangeDescription copied from interface:ITeamStateChangeEventReturn whether the resource has any state changes. This returnstrueif the resource is included in the set of changes returned byITeamStateChangeEvent.getChangedResources()or if it is a descendant of a root that is present in a set returned byITeamStateChangeEvent.getAddedRoots()orITeamStateChangeEvent.getRemovedRoots().- Specified by:
- hasChangein interface- ITeamStateChangeEvent
- Parameters:
- resource- the resource
- Returns:
- whether the resource has any state changes
 
 
-