public interface ESUpdateCallback
ESLocalProject.| Modifier and Type | Field and Description |
|---|---|
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. |
| Modifier and Type | Method and Description |
|---|---|
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.
|
static final ESUpdateCallback NOCALLBACK
this#conflictOccurred(ESConflictSet, IProgressMonitor) to false and checksumCheckFailed
to true.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 ESLocalProjectvoid 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 progresstrue, if the conflict has been resolved, false otherwiseCopyright © 2017. All rights reserved.