public interface ISynchronizationScopeParticipant
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.
ResourceMapping
,
ISynchronizationScopeManager
Modifier and Type | Method and Description |
---|---|
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.
|
ResourceMapping[] handleContextChange(ISynchronizationScope scope, 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
ISynchronizationScope.refresh(ResourceMapping[])
.scope
- the scoperesources
- the changed resourcesprojects
- projects that were either added or removedvoid dispose()
IResourceChangeListener
or any other listeners.
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.