|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ESUpdateCallback
Callback interface for updating a ESLocalProject.
| Field Summary | |
|---|---|
static ESUpdateCallback |
NOCALLBACK
A default implementation of an update callback that does nothing and defaults this#conflictOccurred(ESConflictSet, IProgressMonitor) to false and checksumCheckFailed
to true. |
| Method Summary | |
|---|---|
boolean |
conflictOccurred(ESConflictSet changeConflict,
org.eclipse.core.runtime.IProgressMonitor monitor)
Called when local and remote changes overlap. |
boolean |
inspectChanges(ESLocalProject project,
List<ESChangePackage> changes,
ESModelElementIdToEObjectMapping idToEObjectMapping)
Called right before the changes get applied upon the project space. |
void |
noChangesOnServer()
Called when no remote changes are available. |
| Field Detail |
|---|
static final ESUpdateCallback NOCALLBACK
this#conflictOccurred(ESConflictSet, IProgressMonitor) to false and checksumCheckFailed
to true.
| Method Detail |
|---|
boolean inspectChanges(ESLocalProject project,
List<ESChangePackage> changes,
ESModelElementIdToEObjectMapping idToEObjectMapping)
project - the ESLocalProject being updatedchanges - a list of ESChangePackages that will get applied upon the projectidToEObjectMapping - a mapping from IDs to EObjects and vice versa. Contains
all IDs of model elements involved in the ESChangePackages
as well as those contained by the project in the ESLocalProject
void noChangesOnServer()
boolean conflictOccurred(ESConflictSet changeConflict,
org.eclipse.core.runtime.IProgressMonitor monitor)
changeConflict - the ESConflictSetImpl containing
the changes that led to the conflictmonitor - an IProgressMonitor to report on progress
true, if the conflict has been resolved, false otherwise
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||