public class SyncInfoSetChangeEvent extends Object implements ISyncInfoSetChangeEvent
SyncInfoSet
SyncInfoSet
Constructor and Description |
---|
SyncInfoSetChangeEvent(SyncInfoSet set) |
Modifier and Type | Method and Description |
---|---|
void |
added(SyncInfo info) |
void |
changed(SyncInfo info) |
void |
errorOccurred(ITeamStatus status) |
SyncInfo[] |
getAddedResources()
Returns newly added out-of-sync
SyncInfo elements. |
SyncInfo[] |
getChangedResources()
Returns changed
SyncInfo elements. |
ITeamStatus[] |
getErrors() |
IResource[] |
getRemovedResources()
Returns the removed
IResource elements for which the set no longer
contains on out-of-sync SyncInfo . |
SyncInfoSet |
getSet()
Returns the
SyncInfoSet that generated these events. |
boolean |
isEmpty() |
boolean |
isReset() |
void |
removed(IResource resource) |
void |
reset() |
public SyncInfoSetChangeEvent(SyncInfoSet set)
public void added(SyncInfo info)
public void removed(IResource resource)
public void changed(SyncInfo info)
public SyncInfo[] getAddedResources()
ISyncInfoSetChangeEvent
SyncInfo
elements.getAddedResources
in interface ISyncInfoSetChangeEvent
SyncInfo
elements or an empty list if this event
doesn't contain added resources.public SyncInfo[] getChangedResources()
ISyncInfoSetChangeEvent
SyncInfo
elements. The returned elements
are still out-of-sync.getChangedResources
in interface ISyncInfoSetChangeEvent
SyncInfo
elements or an empty list if this event
doesn't contain changes resources.public IResource[] getRemovedResources()
ISyncInfoSetChangeEvent
IResource
elements for which the set no longer
contains on out-of-sync SyncInfo
. The returned elements
are all in-sync resources.getRemovedResources
in interface ISyncInfoSetChangeEvent
SyncInfo
elements or an empty list if this event
doesn't contain removed resources.public SyncInfoSet getSet()
ISyncInfoSetChangeEvent
SyncInfoSet
that generated these events.getSet
in interface ISyncInfoSetChangeEvent
SyncInfoSet
that generated these events.public void reset()
public boolean isReset()
public boolean isEmpty()
public void errorOccurred(ITeamStatus status)
public ITeamStatus[] getErrors()
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.