Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse Platform
Release 3.5

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:
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

getAddedRoots


IResource[] 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.

getRemovedRoots


IResource[] 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.

getChangedResources


IResource[] getChangedResources()
Return the set of resources whose decorated state has changed.

Returns:
the set of resources whose decorated state has changed.

hasChange

boolean hasChange(
IResource resource)
Return whether the resource has any state changes. This returns 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().

Parameters:
resource - the resource
Returns:
whether the resource has any state changes

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire