Class ResourceAttachmentChangeConflictSearch.Delete
java.lang.Object
org.eclipse.emf.compare.internal.conflict.AbstractConflictSearch<ResourceAttachmentChange>
org.eclipse.emf.compare.internal.conflict.ResourceAttachmentChangeConflictSearch.Delete
- Enclosing class:
- ResourceAttachmentChangeConflictSearch
public static class ResourceAttachmentChangeConflictSearch.Delete
extends AbstractConflictSearch<ResourceAttachmentChange>
Search conflicts for
ResourceAttachmentChange
of kind DifferenceKind.DELETE
.-
Field Summary
Fields inherited from class org.eclipse.emf.compare.internal.conflict.AbstractConflictSearch
comparison, diff, index, monitor
-
Constructor Summary
ConstructorDescriptionDelete
(ResourceAttachmentChange diff, ComparisonIndex index, Monitor monitor) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Detect conflicts withAbstractConflictSearch.diff
in its comparison.protected boolean
Indicate whether the current diff represents the deletion of a 'dangling' root of a resource.Methods inherited from class org.eclipse.emf.compare.internal.conflict.AbstractConflictSearch
areMergeableStringAttributeChanges, conflict, getChangedValue, getDiffsInSameMatch, getFeatureFilter, getMatchResource, getRelatedModelElement, getValue, isContainmentDelete, isFeatureMapChange, isFeatureMapChangeOrMergeableStringAttributeChange, isMergeable, isMergeableText, isStringAttributeChange
-
Constructor Details
-
Delete
Constructor.- Parameters:
diff
- The diff to search for conflictsindex
- Comparison index, must not be nullmonitor
- the monitor to report progress to, must not be null
-
-
Method Details
-
detectConflicts
public void detectConflicts()Description copied from class:AbstractConflictSearch
Detect conflicts withAbstractConflictSearch.diff
in its comparison. This will add or update conflicts indiff
's comparison.- Specified by:
detectConflicts
in classAbstractConflictSearch<ResourceAttachmentChange>
-
isDanglingRootDeletion
protected boolean isDanglingRootDeletion()Indicate whether the current diff represents the deletion of a 'dangling' root of a resource. A dangling root is an EObject that had no parent in the model.- Returns:
true
if the current diff is a deletion of a dangling root EObject.
-