public static class ResourceAttachmentChangeConflictSearch.Delete extends AbstractConflictSearch<ResourceAttachmentChange>
ResourceAttachmentChange
of kind DifferenceKind.DELETE
.comparison, diff, index, monitor
Constructor and Description |
---|
Delete(ResourceAttachmentChange diff,
ComparisonIndex index,
Monitor monitor)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
detectConflicts()
Detect conflicts with
AbstractConflictSearch.diff in its comparison. |
protected boolean |
isDanglingRootDeletion()
Indicate whether the current diff represents the deletion of a 'dangling' root of a resource.
|
areMergeableStringAttributeChanges, conflict, getChangedValue, getDiffsInSameMatch, getMatchResource, getRelatedModelElement, getValue, isContainmentDelete, isFeatureMapChange, isFeatureMapChangeOrMergeableStringAttributeChange, isMergeable, isMergeableText, isStringAttributeChange
public Delete(ResourceAttachmentChange diff, ComparisonIndex index, Monitor monitor)
diff
- The diff to search for conflictsindex
- Comparison index, must not be nullmonitor
- the monitor to report progress to, must not be nullpublic void detectConflicts()
AbstractConflictSearch
AbstractConflictSearch.diff
in its comparison. This will add or update
conflicts in diff
's comparison.detectConflicts
in class AbstractConflictSearch<ResourceAttachmentChange>
protected boolean isDanglingRootDeletion()
true
if the current diff is a deletion of a dangling root EObject.
Copyright (c) 2006, 2015 Obeo and others. All rights reserved.