Class ConflictSearchFactory
java.lang.Object
org.eclipse.emf.compare.util.CompareSwitch<AbstractConflictSearch<? extends Diff>>
org.eclipse.emf.compare.internal.conflict.ConflictSearchFactory
public class ConflictSearchFactory extends CompareSwitch<AbstractConflictSearch<? extends Diff>>
Factory for ConflictSearch classes.
-
Field Summary
-
Constructor Summary
Constructors Constructor Description ConflictSearchFactory(Comparison comparison, Monitor monitor)Constructor. -
Method Summary
Modifier and Type Method Description AbstractConflictSearch<AttributeChange>caseAttributeChange(AttributeChange diff)Returns the result of interpreting the object as an instance of 'Attribute Change'.AbstractConflictSearch<? extends Diff>caseFeatureMapChange(FeatureMapChange diff)Returns the result of interpreting the object as an instance of 'Feature Map Change'.AbstractConflictSearch<? extends Diff>caseReferenceChange(ReferenceChange diff)Returns the result of interpreting the object as an instance of 'Reference Change'.AbstractConflictSearch<? extends Diff>caseResourceAttachmentChange(ResourceAttachmentChange diff)Returns the result of interpreting the object as an instance of 'Resource Attachment Change'.Methods inherited from class org.eclipse.emf.compare.util.CompareSwitch
caseComparison, caseConflict, caseDiff, caseEquivalence, caseMatch, caseMatchResource, caseResourceLocationChange, defaultCase, doSwitch, doSwitch, doSwitch
-
Constructor Details
-
ConflictSearchFactory
Constructor.- Parameters:
comparison- The comparisonmonitor- The progress monitor
-
-
Method Details
-
caseAttributeChange
Description copied from class:CompareSwitchReturns the result of interpreting the object as an instance of 'Attribute Change'. This implementation returns null; returning a non-null result will terminate the switch.- Overrides:
caseAttributeChangein classCompareSwitch<AbstractConflictSearch<? extends Diff>>- Parameters:
diff- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Attribute Change'.
- See Also:
doSwitch(EObject)
-
caseFeatureMapChange
Description copied from class:CompareSwitchReturns the result of interpreting the object as an instance of 'Feature Map Change'. This implementation returns null; returning a non-null result will terminate the switch.- Overrides:
caseFeatureMapChangein classCompareSwitch<AbstractConflictSearch<? extends Diff>>- Parameters:
diff- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Feature Map Change'.
- See Also:
doSwitch(EObject)
-
caseReferenceChange
Description copied from class:CompareSwitchReturns the result of interpreting the object as an instance of 'Reference Change'. This implementation returns null; returning a non-null result will terminate the switch.- Overrides:
caseReferenceChangein classCompareSwitch<AbstractConflictSearch<? extends Diff>>- Parameters:
diff- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Reference Change'.
- See Also:
doSwitch(EObject)
-
caseResourceAttachmentChange
public AbstractConflictSearch<? extends Diff> caseResourceAttachmentChange(ResourceAttachmentChange diff)Description copied from class:CompareSwitchReturns the result of interpreting the object as an instance of 'Resource Attachment Change'. This implementation returns null; returning a non-null result will terminate the switch.- Overrides:
caseResourceAttachmentChangein classCompareSwitch<AbstractConflictSearch<? extends Diff>>- Parameters:
diff- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Resource Attachment Change'.
- See Also:
doSwitch(EObject)
-