|
Eclipse Platform Release 3.2 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
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
EXPERIMENTAL. This class or interface has been added as part of a work in progress. There is a guarantee neither that this API will work nor that it will remain the same. Please do not use this API without consulting with the Platform/Team team.
ResourceMapping,
ISynchronizationScopeManager| Method Summary | |
|---|---|
void |
dispose()
Callback from the scope manager when the scope is no longer needed. |
org.eclipse.core.resources.mapping.ResourceMapping[] |
handleContextChange(ISynchronizationScopeManager manager,
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 |
public org.eclipse.core.resources.mapping.ResourceMapping[] handleContextChange(ISynchronizationScopeManager manager,
IResource[] resources,
IProject[] projects)
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
ISynchronizationScopeManager.refresh(ResourceMapping[]).
manager - the scope managerresources - the changed resourcesprojects - projects that were either added or removed
public void dispose()
IResourceChangeListener or any other listeners.
|
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, 2005. All rights reserved.