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 forResourceAttachmentChange
of kindDifferenceKind.DELETE
.
-
-
Field Summary
-
Fields inherited from class org.eclipse.emf.compare.internal.conflict.AbstractConflictSearch
comparison, diff, index, monitor
-
-
Constructor Summary
Constructors Constructor Description Delete(ResourceAttachmentChange diff, ComparisonIndex index, Monitor monitor)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
detectConflicts()
Detect conflicts withAbstractConflictSearch.diff
in its comparison.protected boolean
isDanglingRootDeletion()
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 Detail
-
Delete
public Delete(ResourceAttachmentChange diff, ComparisonIndex index, Monitor monitor)
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 Detail
-
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.
-
-