Uses of Interface
org.eclipse.emf.compare.Match
Packages that use Match
Package
Description
-
Uses of Match in org.eclipse.emf.compare
Methods in org.eclipse.emf.compare that return MatchModifier and TypeMethodDescriptionCompareFactory.createMatch()
Returns a new object of class 'Match'.Finds and return the Match for the given EObject.Diff.getMatch()
Returns the value of the 'Match' container reference.Methods in org.eclipse.emf.compare that return types with arguments of type MatchModifier and TypeMethodDescriptionMatch.getAllSubmatches()
Finds and returns all matches contained in this Match and its children, recursively.Comparison.getMatches()
Returns the value of the 'Matches' containment reference list.Match.getSubmatches()
Returns the value of the 'Submatches' containment reference list.Methods in org.eclipse.emf.compare with parameters of type Match -
Uses of Match in org.eclipse.emf.compare.diff
Methods in org.eclipse.emf.compare.diff that return types with arguments of type MatchModifier and TypeMethodDescriptionprotected static com.google.common.base.Optional<Match>
DefaultDiffEngine.getMatchIfPresent
(Comparison comparison, List<Object> list, int index) This will be used in order to read the LCS synchronously with the iteration on its target lists' values.Methods in org.eclipse.emf.compare.diff with parameters of type MatchModifier and TypeMethodDescriptionvoid
DiffBuilder.attributeChange
(Match match, EAttribute attribute, Object value, DifferenceKind kind, DifferenceSource source) This will be called whenever the diff engine detected a difference for a given attribute value.void
IDiffProcessor.attributeChange
(Match match, EAttribute attribute, Object value, DifferenceKind kind, DifferenceSource source) This will be called whenever the diff engine detected a difference for a given attribute value.protected void
DefaultDiffEngine.checkForDifferences
(Match match, Monitor monitor) Checks the givenMatch
's sides for potential differences.protected void
DefaultDiffEngine.checkResourceAttachment
(Match match, Monitor monitor) Checks whether the givenMatch
's sides have changed resources.protected void
DefaultDiffEngine.computeContainmentDifferences
(Match match, EReference reference, boolean checkOrdering) Delegates the computation of Differences for a given containment reference according to the type of comparison (two- or three-way), and whether we need to take ordering changes into account.protected void
DefaultDiffEngine.computeContainmentDifferencesThreeWay
(Match match, EReference reference, boolean checkOrdering) Computes the difference between the sides of the givenmatch
for the given containmentreference
.protected void
DefaultDiffEngine.computeContainmentDifferencesTwoWay
(Match match, EReference reference, boolean checkOrdering) Computes the difference between the sides of the givenmatch
for the given containmentreference
.protected void
DefaultDiffEngine.computeDifferences
(Match match, EAttribute attribute, boolean checkOrdering) Computes the difference between the sides of the givenmatch
for the givenattribute
.protected void
DefaultDiffEngine.computeDifferences
(Match match, EReference reference, boolean checkOrdering) Computes the difference between the sides of the givenmatch
for the givenreference
.protected void
DefaultDiffEngine.computeMultiValuedFeatureDifferences
(Match match, EStructuralFeature feature, boolean checkOrdering) Delegates the computation of Differences for a given muti-valued feature according to the type of comparison (two- or three-way), and whether we need to take ordering changes into account.protected void
DefaultDiffEngine.computeMultiValuedFeatureDifferencesThreeWay
(Match match, EStructuralFeature feature, boolean checkOrdering) Computes the difference between the sides of the givenmatch
for the given multi-valuedfeature
.protected void
DefaultDiffEngine.computeMultiValuedFeatureDifferencesTwoWay
(Match match, EStructuralFeature feature, boolean checkOrdering) Computes the difference between the sides of the givenmatch
for the given multi-valuedfeature
.protected void
DefaultDiffEngine.computeSingleValuedAttributeDifferences
(Match match, EAttribute attribute) Computes the difference between the sides of the givenmatch
for the given single-valuedattribute
.protected void
DefaultDiffEngine.computeSingleValuedReferenceDifferencesThreeWay
(Match match, EReference reference) Computes the difference between the sides of the givenmatch
for the given single-valuedreference
.protected void
DefaultDiffEngine.computeSingleValuedReferenceDifferencesTwoWay
(Match match, EReference reference) Computes the difference between the sides of the givenmatch
for the given single-valuedreference
.protected void
DefaultDiffEngine.createContainmentDifferences
(Match match, EReference reference, boolean checkOrdering, List<Object> values, List<Object> lcsWithOrigin, DifferenceSource side) Called fromDefaultDiffEngine.computeContainmentDifferencesThreeWay(Match, EReference, boolean)
once our LCS have been computed and we know what really changed.protected void
DefaultDiffEngine.createContainmentDifferencesNoOrdering
(Match match, EReference reference, List<Object> sideValues, DifferenceSource side) This will iterate over the given list of values from a containment reference and create the differences that can be detected from it.protected void
DefaultDiffEngine.createMultiValuedFeatureDifferencesNoOrdering
(Match match, EStructuralFeature feature, List<Object> sideValues, List<Object> originValues, DifferenceSource side) This will iterate over the given list of values from a multi-valued feature and create the differences that can be detected from it.protected void
DefaultDiffEngine.featureChange
(Match match, EStructuralFeature feature, Object value, DifferenceKind kind, DifferenceSource source) Delegates to the diff processor to create the specified feature change.void
DiffBuilder.featureMapChange
(Match match, EAttribute attribute, Object value, DifferenceKind kind, DifferenceSource source) This will be called whenever the diff engine detected a difference for a given attribute value.void
IDiffProcessor.featureMapChange
(Match match, EAttribute attribute, Object value, DifferenceKind kind, DifferenceSource source) This will be called whenever the diff engine detected a difference for a given attribute value.FeatureFilter.getAttributesToCheck
(Match match) The diff engine expects this to return the set of attributes that need to be checked for differences for the givenMatch
element.FeatureFilter.getReferencesToCheck
(Match match) The diff engine expects this to return the set of references that need to be checked for differences for the givenMatch
element.protected boolean
FeatureFilter.isIgnoredReference
(Match match, EReference reference) This will be used byFeatureFilter.getReferencesToCheck(Match)
in order to determine whether a given reference should be ignored.void
DiffBuilder.referenceChange
(Match match, EReference reference, EObject value, DifferenceKind kind, DifferenceSource source) This will be called whenever the Diff engine detected a difference for a given reference value.void
IDiffProcessor.referenceChange
(Match match, EReference reference, EObject value, DifferenceKind kind, DifferenceSource source) This will be called whenever the Diff engine detected a difference for a given reference value.protected boolean
FeatureFilter.referenceIsSet
(EReference reference, Match match) Checks whether the given reference is set on at least one of the three sides of the given match.void
DiffBuilder.resourceAttachmentChange
(Match match, String uri, DifferenceKind kind, DifferenceSource source) This will be called whenever the diff engine detected the addition (or removal) of a root in a given Resource.void
IDiffProcessor.resourceAttachmentChange
(Match match, String uri, DifferenceKind kind, DifferenceSource source) This will be called whenever the diff engine detected the addition (or removal) of a root in a given Resource. -
Uses of Match in org.eclipse.emf.compare.ide.ui.internal.contentmergeviewer.tree.provider
Methods in org.eclipse.emf.compare.ide.ui.internal.contentmergeviewer.tree.provider with parameters of type MatchModifier and TypeMethodDescriptionprotected IMergeViewerItem
TreeMergeViewerItemContentProvider.createMergeViewerItem
(Comparison comparison, Diff diff, Match match, IMergeViewer.MergeViewerSide side, AdapterFactory adapterFactory) Creates theIMergeViewerItem
from the given data. -
Uses of Match in org.eclipse.emf.compare.impl
Classes in org.eclipse.emf.compare.impl that implement MatchFields in org.eclipse.emf.compare.impl with type parameters of type MatchModifier and TypeFieldDescriptionComparisonImpl.matches
The cached value of the 'Matches
' containment reference list.MatchImpl.submatches
The cached value of the 'Submatches
' containment reference list.Methods in org.eclipse.emf.compare.impl that return MatchModifier and TypeMethodDescriptionDiffImpl.basicGetMatch()
CompareFactoryImpl.createMatch()
DiffImpl.getMatch()
Methods in org.eclipse.emf.compare.impl that return types with arguments of type MatchModifier and TypeMethodDescriptionMatchImpl.getAllSubmatches()
ComparisonImpl.getMatches()
MatchImpl.getSubmatches()
Methods in org.eclipse.emf.compare.impl with parameters of type Match -
Uses of Match in org.eclipse.emf.compare.internal
Methods in org.eclipse.emf.compare.internal that return types with arguments of type MatchModifier and TypeMethodDescriptionSubMatchIterator.getChildren
(Object obj) SubMatchIterable.iterator()
Constructors in org.eclipse.emf.compare.internal with parameters of type MatchModifierConstructorDescriptionSubMatchIterable
(Match match) Constructs an iterable given the root of its tree.SubMatchIterator
(Match start) Constructs an iterator given the root of its tree. -
Uses of Match in org.eclipse.emf.compare.internal.conflict
Methods in org.eclipse.emf.compare.internal.conflict that return types with arguments of type MatchModifier and TypeMethodDescriptionAbstractConflictSearch.isContainmentDelete()
This predicate will betrue
for any Match which represents a containment deletion.Methods in org.eclipse.emf.compare.internal.conflict with parameters of type MatchModifier and TypeMethodDescriptionComparisonIndex.getReferenceChangesByValueMatch
(Match valueMatch) The indexedReferenceChange
s whose value is in the given Match.Method parameters in org.eclipse.emf.compare.internal.conflict with type arguments of type MatchModifier and TypeMethodDescriptionvoid
DiffTreeIterator.setPruningFilter
(Predicate<? super Match> pruningFilter) Sets the pruning filter for this iterator.Constructors in org.eclipse.emf.compare.internal.conflict with parameters of type MatchModifierConstructorDescriptionDiffTreeIterator
(Match start) Constructs our iterator given the root of the Match tree to iterate over. -
Uses of Match in org.eclipse.emf.compare.internal.postprocessor.factories
Methods in org.eclipse.emf.compare.internal.postprocessor.factories that return MatchModifier and TypeMethodDescriptionAbstractChangeFactory.getParentMatch
(Diff input) Returns the match in which the difference will be added.IChangeFactory.getParentMatch
(Diff input) Returns the match in which the difference will be added. -
Uses of Match in org.eclipse.emf.compare.internal.spec
Classes in org.eclipse.emf.compare.internal.spec that implement MatchModifier and TypeClassDescriptionclass
This specialization of theMatchImpl
class allows us to define the derived features and operations implementations.Methods in org.eclipse.emf.compare.internal.spec that return MatchModifier and TypeMethodDescriptionAttributeChangeSpec.basicGetMatch()
DiffSpec.basicGetMatch()
FeatureMapChangeSpec.basicGetMatch()
ReferenceChangeSpec.basicGetMatch()
ResourceAttachmentChangeSpec.basicGetMatch()
ResourceLocationChangeSpec.basicGetMatch()
Methods in org.eclipse.emf.compare.internal.spec that return types with arguments of type MatchMethods in org.eclipse.emf.compare.internal.spec with parameters of type MatchModifier and TypeMethodDescriptionvoid
void
void
void
void
void
-
Uses of Match in org.eclipse.emf.compare.internal.utils
Methods in org.eclipse.emf.compare.internal.utils with parameters of type MatchModifier and TypeMethodDescriptionstatic EObject
ComparisonUtil.getExpectedSide
(Match match, DifferenceSource source, boolean mergeRightToLeft) Determines the side of the givenMatch
which represents the model state the other side will be changed to. -
Uses of Match in org.eclipse.emf.compare.match.eobject
Methods in org.eclipse.emf.compare.match.eobject that return types with arguments of type MatchModifier and TypeMethodDescriptionIdentifierEObjectMatcher.matchPerId
(Iterator<? extends EObject> leftEObjects, Iterator<? extends EObject> rightEObjects, Iterator<? extends EObject> originEObjects, List<EObject> leftEObjectsNoID, List<EObject> rightEObjectsNoID, List<EObject> originEObjectsNoID) Matches the EObject per ID. -
Uses of Match in org.eclipse.emf.compare.match.impl
Classes in org.eclipse.emf.compare.match.impl that implement MatchMethods in org.eclipse.emf.compare.match.impl that return MatchModifier and TypeMethodDescriptionNotLoadedFragmentMatch.getFirstMatchChild()
Get the first match child.Methods in org.eclipse.emf.compare.match.impl that return types with arguments of type MatchConstructors in org.eclipse.emf.compare.match.impl with parameters of type MatchConstructor parameters in org.eclipse.emf.compare.match.impl with type arguments of type Match -
Uses of Match in org.eclipse.emf.compare.merge
Methods in org.eclipse.emf.compare.merge with parameters of type MatchModifier and TypeMethodDescriptionprotected URI
ResourceAttachmentChangeMerger.computeTargetURI
(Match match, boolean rightToLeft) Computes the URI of the "target" resource.protected Resource
ResourceAttachmentChangeMerger.findOrCreateTargetResource
(Match match, boolean rightToLeft) This will try and locate the "target" resource of this merge in the current comparison. -
Uses of Match in org.eclipse.emf.compare.provider.spec
Methods in org.eclipse.emf.compare.provider.spec with parameters of type MatchModifier and TypeMethodDescriptionOverlayImageProvider.getComposedImage
(Match match, Object imageToCompose) Returns a composed image with the image of the given match the appropriate overlay. -
Uses of Match in org.eclipse.emf.compare.rcp.ui.internal.contentmergeviewer.accessor.impl
Constructors in org.eclipse.emf.compare.rcp.ui.internal.contentmergeviewer.accessor.impl with parameters of type MatchModifierConstructorDescriptionMatchAccessor
(AdapterFactory adapterFactory, Match match, Diff diff, IMergeViewer.MergeViewerSide side) Creates a new object wrapping the giveneObject
.MatchAccessor
(AdapterFactory adapterFactory, Match match, IMergeViewer.MergeViewerSide side) Creates a new object wrapping the giveneObject
. -
Uses of Match in org.eclipse.emf.compare.rcp.ui.internal.mergeviewer.item.impl
Constructors in org.eclipse.emf.compare.rcp.ui.internal.mergeviewer.item.impl with parameters of type MatchModifierConstructorDescriptionContainer
(Comparison comparison, Diff diff, Match match, IMergeViewer.MergeViewerSide side, AdapterFactory adapterFactory) Deprecated.MergeViewerItem
(Comparison comparison, Diff diff, Match match, IMergeViewer.MergeViewerSide side, AdapterFactory adapterFactory) ResourceAttachmentChangeMergeViewerItem
(Comparison comparison, Diff diff, Match match, IMergeViewer.MergeViewerSide side, AdapterFactory adapterFactory) -
Uses of Match in org.eclipse.emf.compare.rcp.ui.internal.structuremergeviewer.groups.impl
Methods in org.eclipse.emf.compare.rcp.ui.internal.structuremergeviewer.groups.impl that return MatchModifier and TypeMethodDescriptionprotected Match
BasicDifferenceGroupImpl.getTargetMatch
(Diff diff) Provide the Match that should directly contain the given diff.Methods in org.eclipse.emf.compare.rcp.ui.internal.structuremergeviewer.groups.impl with parameters of type Match -
Uses of Match in org.eclipse.emf.compare.rcp.ui.internal.structuremergeviewer.nodes
Methods in org.eclipse.emf.compare.rcp.ui.internal.structuremergeviewer.nodes that return MatchModifier and TypeMethodDescriptionMatchNode.getMatch()
Getter for the match represented by this TreeNode.Constructors in org.eclipse.emf.compare.rcp.ui.internal.structuremergeviewer.nodes with parameters of type Match -
Uses of Match in org.eclipse.emf.compare.rcp.ui.internal.util
Methods in org.eclipse.emf.compare.rcp.ui.internal.util that return types with arguments of type MatchModifier and TypeMethodDescriptionstatic Collection<Match>
ResourceUIUtil.getChildrenMatchWithNotLoadedParent
(Comparison comparison, Match match, IMergeViewer.MergeViewerSide side) Filters, from the root matches of the given comparison, those who will children matches of the given match if all fragments of the whole models involved in comparison had been loaded, for the given side of the comparison.static Collection<Match>
ResourceUIUtil.getNotLoadedFragmentMatches
(Collection<IMergeViewerItem> items) Get from the given list ofIMergeViewerItem
s, the NotLoadedFragmentMatchs.Methods in org.eclipse.emf.compare.rcp.ui.internal.util with parameters of type MatchModifier and TypeMethodDescriptionstatic IMergeViewerItem
ResourceUIUtil.createItemForNotLoadedFragmentMatch
(Match match, IMergeViewer.MergeViewerSide side, Comparison comparison, AdapterFactory adapterFactory) Constructs aNotLoadedFragmentMatch
from the givenMatch
and then return theIMergeViewerItem
corresponding to this NotLoadedFragmentMatch.static EObject
MergeViewerUtil.getBestSideEObject
(Match match, IMergeViewer.MergeViewerSide side) static Collection<Match>
ResourceUIUtil.getChildrenMatchWithNotLoadedParent
(Comparison comparison, Match match, IMergeViewer.MergeViewerSide side) Filters, from the root matches of the given comparison, those who will children matches of the given match if all fragments of the whole models involved in comparison had been loaded, for the given side of the comparison.static ResourceSet
ResourceUIUtil.getDataResourceSet
(Match match) Get the Resource's ResourceSet of the data associated to the given Match.static ResourceSet
ResourceUIUtil.getDataResourceSet
(Match match, IMergeViewer.MergeViewerSide side) Get the Resource's ResourceSet of the data associated to the given Match, and for the given side of the comparison.static URI
ResourceUIUtil.getDataURI
(Match match) Get the Resource's URI of the data associated to the given Matchstatic URI
ResourceUIUtil.getDataURI
(Match match, IMergeViewer.MergeViewerSide side) Get the Resource's URI of the data associated to the given Match, and for the given side of the comparison. .static EObject
MergeViewerUtil.getEObject
(Match match, IMergeViewer.MergeViewerSide side) static List<?>
MergeViewerUtil.getFeatureValues
(Match match, EStructuralFeature feature, IMergeViewer.MergeViewerSide side) static TreeNode
ResourceUIUtil.getTreeNode
(Collection<TreeNode> nodes, Match match) Search from the given list of TreeNodes (and recursively on its children), the one that is associated to the given Match.static boolean
ResourceUIUtil.isFragment
(Match rootMatch, IMergeViewer.MergeViewerSide side) Check if the given match is a root match of its comparison model and is a fragment.Method parameters in org.eclipse.emf.compare.rcp.ui.internal.util with type arguments of type MatchModifier and TypeMethodDescriptionstatic Collection<URI>
ResourceUIUtil.getDataURIs
(Collection<Match> matches, IMergeViewer.MergeViewerSide side) Get the Resource's URIs of the data associated to the given list of Matches. -
Uses of Match in org.eclipse.emf.compare.util
Methods in org.eclipse.emf.compare.util with parameters of type Match -
Uses of Match in org.eclipse.emf.compare.utils
Methods in org.eclipse.emf.compare.utils that return MatchModifier and TypeMethodDescriptionprotected Match
Returns the match of this EObject if any,null
otherwise.Methods in org.eclipse.emf.compare.utils with parameters of type MatchModifier and TypeMethodDescriptionstatic int
MatchUtil.computeIndex
(Match match, EStructuralFeature feature, Object value, DifferenceSource side) Compute the index of an object in the list of elements of a given match+feature on a given side.MatchUtil.findAddOrDeleteContainmentDiffs
(Match match) Get the potential ReferenceChanges that represent add/delete containment differences in the parent Match of the given Match.static EObject
MatchUtil.getMatchedObject
(Match m, DifferenceSource side) Get the object matched by a Match on a given side.static boolean
MatchUtil.hasDeleteDiff
(Match match, EStructuralFeature feature, Object value) Checks whether the givenvalue
has been deleted from the givenfeature
ofmatch
.static boolean
MatchUtil.hasDiff
(Match match, EStructuralFeature feature, Object value) Checks whether the givenmatch
presents a difference of any kind on the givenfeature
'svalue
.static boolean
MatchUtil.matchingIndices
(Match match, EStructuralFeature feature, Object value1, Object value2) This will be used whenever we check for conflictual MOVEs in order to determine whether we have a pseudo conflict or a real conflict.