|
Eclipse Platform Release 3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.team.core.synchronize.SyncInfoSetChangeEvent
public class SyncInfoSetChangeEvent
This event keeps track of the changes in a SyncInfoSet
SyncInfoSet| Constructor Summary | |
|---|---|
SyncInfoSetChangeEvent(SyncInfoSet set)
|
|
| Method Summary | |
|---|---|
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()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SyncInfoSetChangeEvent(SyncInfoSet set)
| Method Detail |
|---|
public void added(SyncInfo info)
public void removed(IResource resource)
public void changed(SyncInfo info)
public SyncInfo[] getAddedResources()
ISyncInfoSetChangeEventSyncInfo elements.
getAddedResources in interface ISyncInfoSetChangeEventSyncInfo elements or an empty list if this event
doesn't contain added resources.public SyncInfo[] getChangedResources()
ISyncInfoSetChangeEventSyncInfo elements. The returned elements
are still out-of-sync.
getChangedResources in interface ISyncInfoSetChangeEventSyncInfo elements or an empty list if this event
doesn't contain changes resources.public IResource[] getRemovedResources()
ISyncInfoSetChangeEventIResource elements for which the set no longer
contains on out-of-sync SyncInfo. The returned elements
are all in-sync resources.
getRemovedResources in interface ISyncInfoSetChangeEventSyncInfo elements or an empty list if this event
doesn't contain removed resources.public SyncInfoSet getSet()
ISyncInfoSetChangeEventSyncInfoSet that generated these events.
getSet in interface ISyncInfoSetChangeEventSyncInfoSet that generated these events.public void reset()
public boolean isReset()
public boolean isEmpty()
public void errorOccurred(ITeamStatus status)
public ITeamStatus[] getErrors()
|
Eclipse Platform Release 3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2010. All rights reserved.