Class ContainmentRefChangeConflictSearch.Add
java.lang.Object
org.eclipse.emf.compare.internal.conflict.AbstractConflictSearch<ReferenceChange>
org.eclipse.emf.compare.internal.conflict.ContainmentRefChangeConflictSearch.Add
- Enclosing class:
- ContainmentRefChangeConflictSearch
public static class ContainmentRefChangeConflictSearch.Add
extends AbstractConflictSearch<ReferenceChange>
Search conflicts for containment
ReferenceChange
of kind DifferenceKind.ADD
.-
Field Summary
Fields inherited from class org.eclipse.emf.compare.internal.conflict.AbstractConflictSearch
comparison, diff, index, monitor
-
Constructor Summary
ConstructorDescriptionAdd
(ReferenceChange diff, ComparisonIndex index, Monitor monitor) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Detect conflicts withAbstractConflictSearch.diff
in its comparison.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
-
Add
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<ReferenceChange>
-