Class ConflictSearchFactory
java.lang.Object
org.eclipse.emf.compare.util.CompareSwitch<AbstractConflictSearch<? extends Diff>>
org.eclipse.emf.compare.internal.conflict.ConflictSearchFactory
Factory for ConflictSearch classes.
-
Field Summary
Fields inherited from class org.eclipse.emf.compare.util.CompareSwitch
copyright, modelPackage -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the result of interpreting the object as an instance of 'Attribute Change'.AbstractConflictSearch<? extends Diff>Returns the result of interpreting the object as an instance of 'Feature Map Change'.AbstractConflictSearch<? extends Diff>Returns the result of interpreting the object as an instance of 'Reference Change'.AbstractConflictSearch<? extends 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:
-
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:
-
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:
-
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:
-