public interface ISyncInfoSetChangeListener
Implementors of this interface it can
be added to a sync info set using the
method and removed using the
The originating sync set holds modification locks on the sync info set to ensure that no more changes occur until after the current change event is processed. The implementors of this interface must not modify the set within the scope of the listener's methods. If modifications are attempted a runtime exception will occur.
|Modifier and Type||Method and Description|
Sent when a
This method is called when errors have occurred calculating the
Sent when the contents of a
void syncInfoSetReset(SyncInfoSet set, IProgressMonitor monitor)
SyncInfoSethave been reset or the listener has been connected to the set for the first time using
SyncInfoSet#connect(ISyncInfoSetChangeListener, IProgressMonitor). Listeners should discard any state they have accumulated from the originating sync info set and re-obtain their state from the set. The originating sync set will be locked for modification when this method is called.
Clients should not modify the set within this method and other threads that try to modify the set will be blocked until the reset is processed.
set- the originating
void syncInfoChanged(ISyncInfoSetChangeEvent event, IProgressMonitor monitor)
SyncInfoSetchanges. For example, when a resource's synchronization state changes. The originating sync set will be locked for modification when this method is called. Clients should not modify the set within this method and other threads that try to modify the set will be blocked until the change is processed.
If the originating set is an instance of
the event will be an instance of
Clients can determine this using an
event- an event containing information about the change.
void syncInfoSetErrors(SyncInfoSet set, ITeamStatus errors, IProgressMonitor monitor)
SyncInfofor a resource. The resource associated with the error is available from the
ITeamStatus. This event only provides the latest errors that occurred. An array of all errors can be retrieved directly from the set.
set- the originating
errors- the errors that occurred during the latest set modifications
monitor- a progress monitor
Copyright (c) 2000, 2017 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.