public class EMFCompareChangeRecorder extends ChangeRecorder
Adapter.InternaleObjectToProxyURIMap, loadingTargets, originalTargetObjects, resolveProxies, targetObjectschangeDescription, recording, recordingTransientFeatures| Constructor and Description |
|---|
EMFCompareChangeRecorder() |
| Modifier and Type | Method and Description |
|---|---|
void |
beginRecording(ChangeDescription changeDescription,
Collection<?> rootObjects)
This avoids growing the "originalTargetObjects" and "setOriginalTargetObjects"
collections indefinitely during the same comparison each time a merge is executed.
|
protected void |
consolidateChanges()
See bug 562321.
|
protected ChangeDescription |
createChangeDescription() |
protected void |
handleFeature(EStructuralFeature feature,
EReference containment,
Notification notification,
EObject eObject)
The "setOriginalTargetObjects" Set is used to register target objects instead of the
"originalTargetObjects" list to avoid duplicates, and fill this list with the bare minimum afterwards,
for optimization purposes.
|
void |
setTarget(Notifier target)
Overrides the superclass method to ignore the "originalTargetObjets" list since we never resume
recording a paused change description.
|
addAdapter, beginRecording, dispose, getEObjectToProxyURIMap, getTarget, handleResource, handleTarget, isAdapterForType, isOrphan, isResolveProxies, notifyChanged, prepareChangeDescriptionForResume, removeAdapter, setEObjectToProxyURIMap, setResolveProxies, shouldRecord, unsetTargetcreateFeatureChange, createResourceChange, eliminateEmptyChanges, endRecording, finalizeChange, finalizeChange, getChangeDescription, getFeatureChange, getFeatureChanges, getResourceChange, getResourceChanges, isRecording, isRecordingTransientFeatures, setChangeDescription, setRecording, setRecordingTransientFeatures, shouldRecord, summarizeanalyzeLists, analyzeLists, createAddListChange, createListChange, createListChanges, createMoveListChange, createRemoveListChange, equalpublic void setTarget(Notifier target)
setTarget in interface AdaptersetTarget in class ChangeRecorderprotected void handleFeature(EStructuralFeature feature, EReference containment, Notification notification, EObject eObject)
handleFeature in class ChangeRecorderpublic void beginRecording(ChangeDescription changeDescription, Collection<?> rootObjects)
beginRecording in class ChangeRecorderprotected void consolidateChanges()
consolidateChanges in class ChangeRecorderprotected ChangeDescription createChangeDescription()
createChangeDescription in class BasicChangeRecorder
Copyright (c) 2006, 2015 Obeo and others. All rights reserved.