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.core.mapping
Interface ISynchronizationScopeParticipant


public interface ISynchronizationScopeParticipant

A scope participant is responsible for ensuring that the resources contained within an ISynchronizationScope that overlap with the participant's model provider stay up-to-date with the model elements (represented as ResourceMapping instances) contained in the scope.

Clients may implement this interface.

Since:
3.2
See Also:
ResourceMapping, ISynchronizationScopeManager

Method Summary
 void dispose ()
          Callback from the scope manager when the scope is no longer needed.
  ResourceMapping[] handleContextChange ( ISynchronizationScope scope, IResource[] resources, IProject[] projects)
          Callback that the manager makes to participants when the state of resources that are contained in the resource mapping context of the manager change.
 

Method Detail

handleContextChange


ResourceMapping[] handleContextChange(
ISynchronizationScope scope,
                                      
IResource[] resources,
                                      
IProject[] projects)
Callback that the manager makes to participants when the state of resources that are contained in the resource mapping context of the manager change. This method will only be invoked when the context of the manager is a RemoteResourceMappingContext and the state of one or more resources changes w.r.t. the context. It is the responsibility of the participant to react to local changes that affect the resources in the scope by calling ISynchronizationScope.refresh(ResourceMapping[]).

Parameters:
scope - the scope
resources - the changed resources
projects - projects that were either added or removed
Returns:
the resource mappings that need to be refreshed.

dispose

void dispose()
Callback from the scope manager when the scope is no longer needed. This si done to give participants a chance to remove a registered IResourceChangeListener or any other listeners.


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