Uses of Interface
org.eclipse.emf.compare.ReferenceChange
Package
Description
-
Uses of ReferenceChange in org.eclipse.emf.compare
Modifier and TypeMethodDescriptionCompareFactory.createReferenceChange()
Returns a new object of class 'Reference Change'. -
Uses of ReferenceChange in org.eclipse.emf.compare.conflict
Modifier and TypeMethodDescriptionprotected void
DefaultConflictDetector.checkContainmentConflict
(Comparison comparison, ReferenceChange diff, Iterable<ReferenceChange> candidates) This will be called once for each ReferenceChange on containment references in the comparison model.protected void
DefaultConflictDetector.checkContainmentConflict
(Comparison comparison, ReferenceChange diff, ReferenceChange candidate) For each couple of diffs on the same value in which one is a containment reference change, we will call this in order to check for possible conflicts.protected void
DefaultConflictDetector.checkResourceAttachmentConflict
(Comparison comparison, ResourceAttachmentChange diff, ReferenceChange candidate) This will be called fromDefaultConflictDetector.checkResourceAttachmentConflict(Comparison, ResourceAttachmentChange, Iterable)
for each ReferenceChange in the comparison model that is on the other side and that impacts the changed root.Modifier and TypeMethodDescriptionprotected void
DefaultConflictDetector.checkContainmentConflict
(Comparison comparison, ReferenceChange diff, Iterable<ReferenceChange> candidates) This will be called once for each ReferenceChange on containment references in the comparison model. -
Uses of ReferenceChange in org.eclipse.emf.compare.equi
Modifier and TypeMethodDescriptionprotected void
DefaultEquiEngine.checkForEquivalences
(Comparison comparison, ReferenceChange referenceChange) Checks the potential equivalence from the givendifference
. -
Uses of ReferenceChange in org.eclipse.emf.compare.impl
Modifier and TypeClassDescriptionclass
An implementation of the model object 'Reference Change'. -
Uses of ReferenceChange in org.eclipse.emf.compare.internal.conflict
Modifier and TypeMethodDescriptionComparisonIndex.getReferenceChangesByValue
(EObject value) The indexedReferenceChange
s whose value is in the given Match.ComparisonIndex.getReferenceChangesByValueMatch
(Match valueMatch) The indexedReferenceChange
s whose value is in the given Match.ComparisonIndex.getReferenceChangesByValueURI
(URI valueURI) The indexedReferenceChange
s whose value has the given URI (only unresolved proxies are indexed that way).Modifier and TypeMethodDescriptionAbstractConflictSearch<? extends Diff>
ConflictSearchFactory.caseReferenceChange
(ReferenceChange diff) ModifierConstructorDescriptionAdd
(ReferenceChange diff, ComparisonIndex index, Monitor monitor) Constructor.Add
(ReferenceChange diff, ComparisonIndex index, Monitor monitor) Constructor.Change
(ReferenceChange diff, ComparisonIndex index, Monitor monitor) Constructor.Change
(ReferenceChange diff, ComparisonIndex index, Monitor monitor) Constructor.Delete
(ReferenceChange diff, ComparisonIndex index, Monitor monitor) Constructor.Delete
(ReferenceChange diff, ComparisonIndex index, Monitor monitor) Constructor.Move
(ReferenceChange diff, ComparisonIndex index, Monitor monitor) Constructor.Move
(ReferenceChange diff, ComparisonIndex index, Monitor monitor) Constructor. -
Uses of ReferenceChange in org.eclipse.emf.compare.internal.postprocessor.factories
Modifier and TypeMethodDescriptionprotected boolean
AbstractChangeFactory.isRelatedToAnExtensionAdd
(ReferenceChange input) Check if the given reference change is related to a graphical add.protected boolean
AbstractChangeFactory.isRelatedToAnExtensionChange
(ReferenceChange input) Check if the given reference change is related to a graphical change.protected boolean
AbstractChangeFactory.isRelatedToAnExtensionDelete
(ReferenceChange input) Check if the given reference change is related to a graphical delete.protected boolean
AbstractChangeFactory.isRelatedToAnExtensionMove
(ReferenceChange input) Check if the given reference change is related to a graphical move. -
Uses of ReferenceChange in org.eclipse.emf.compare.internal.spec
Modifier and TypeClassDescriptionclass
This specialization of theReferenceChangeImpl
class allows us to define the derived features and operations implementations. -
Uses of ReferenceChange in org.eclipse.emf.compare.match
Modifier and TypeMethodDescriptionMatchOfContainmentReferenceChangeAdapter.getReferenceChange()
Get theReferenceChange
to associate with the adaptedMatch
.ModifierConstructorDescriptionMatchOfContainmentReferenceChangeAdapter
(ReferenceChange referenceChange) Constructor. -
Uses of ReferenceChange in org.eclipse.emf.compare.merge
Modifier and TypeMethodDescriptionprotected void
ReferenceChangeMerger.addInTarget
(ReferenceChange diff, boolean rightToLeft) This will be called when we need to create an element in the target side.protected void
ReferenceChangeMerger.checkImpliedDiffsOrdering
(ReferenceChange diff, boolean rightToLeft) In the case of many-to-many eOpposite references, EMF will simply report the difference made on one side of the equivalence to the other, without considering ordering in any way.protected void
ReferenceChangeMerger.doMove
(ReferenceChange diff, Comparison comparison, EObject expectedContainer, EObject expectedValue, boolean rightToLeft) This will do the actual work of moving the element into its reference.protected boolean
AbstractMerger.isAdd
(ReferenceChange diff, boolean rightToLeft) Specifies whether the givendiff
will add a value in the target model for the current merging.protected boolean
AbstractMerger.isSet
(ReferenceChange diff, boolean mergeRightToLeft) Checks whether the given diff will result in the setting of a reference in the given merge direction.protected boolean
AbstractMerger.isUnset
(ReferenceChange diff, boolean mergeRightToLeft) Checks whether the given diff will result in the unsetting of a reference in the given merge direction.protected void
ReferenceChangeMerger.moveElement
(ReferenceChange diff, boolean rightToLeft) This will be called when trying to copy a "MOVE" diff.protected void
ReferenceChangeMerger.removeFromTarget
(ReferenceChange diff, boolean rightToLeft) This will be called when we need to remove an element from the target side.protected void
ReferenceChangeMerger.resetInTarget
(ReferenceChange diff, boolean rightToLeft) This will be called by the merge operations in order to reset a reference to its original value, be that the left or right side. -
Uses of ReferenceChange in org.eclipse.emf.compare.provider.spec
Modifier and TypeMethodDescriptionprotected String
ReferenceChangeItemProviderSpec.getReferenceText
(ReferenceChange refChange) Returns the name of the reference linked to the givenReferenceChange
.protected String
ReferenceChangeItemProviderSpec.getValueText
(ReferenceChange refChange) Converts to text the givenReferenceChange
. -
Uses of ReferenceChange in org.eclipse.emf.compare.util
Modifier and TypeMethodDescriptionCompareSwitch.caseReferenceChange
(ReferenceChange object) Returns the result of interpreting the object as an instance of 'Reference Change'. -
Uses of ReferenceChange in org.eclipse.emf.compare.utils
Modifier and TypeMethodDescriptionstatic EObject
MatchUtil.getOriginValue
(Comparison comparison, ReferenceChange difference) From a given mono-valued reference change, get the origin value.static com.google.common.base.Predicate<Diff>
EMFComparePredicates.hasSameReferenceAs
(ReferenceChange diff) Deprecated.This predicate can be used to check whether a given Diff is aReferenceChange
with the same reference as thediff
argument.static com.google.common.base.Predicate<Diff>
EMFComparePredicates.isDiffOnEOppositeOf
(ReferenceChange diff) Deprecated.This predicate can be used to check whether a given Diff is aReferenceChange
representing the eOpposite of thediff
argument.