Uses of Interface
org.eclipse.emf.compare.Match
-
-
Uses of Match in org.eclipse.emf.compare
Methods in org.eclipse.emf.compare that return Match Modifier and Type Method Description MatchCompareFactory. createMatch()Returns a new object of class 'Match'.MatchComparison. getMatch(EObject element)Finds and return the Match for the given EObject.MatchDiff. getMatch()Returns the value of the 'Match' container reference.Methods in org.eclipse.emf.compare that return types with arguments of type Match Modifier and Type Method Description Iterable<Match>Match. getAllSubmatches()Finds and returns all matches contained in this Match and its children, recursively.EList<Match>Comparison. getMatches()Returns the value of the 'Matches' containment reference list.EList<Match>Match. getSubmatches()Returns the value of the 'Submatches' containment reference list.Methods in org.eclipse.emf.compare with parameters of type Match Modifier and Type Method Description voidDiff. setMatch(Match value)Sets the value of the 'Match' reference. -
Uses of Match in org.eclipse.emf.compare.diff
Methods in org.eclipse.emf.compare.diff that return types with arguments of type Match Modifier and Type Method Description protected 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 Match Modifier and Type Method Description voidDiffBuilder. 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.voidIDiffProcessor. 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 voidDefaultDiffEngine. checkForDifferences(Match match, Monitor monitor)Checks the givenMatch's sides for potential differences.protected voidDefaultDiffEngine. checkResourceAttachment(Match match, Monitor monitor)Checks whether the givenMatch's sides have changed resources.protected voidDefaultDiffEngine. 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 voidDefaultDiffEngine. computeContainmentDifferencesThreeWay(Match match, EReference reference, boolean checkOrdering)Computes the difference between the sides of the givenmatchfor the given containmentreference.protected voidDefaultDiffEngine. computeContainmentDifferencesTwoWay(Match match, EReference reference, boolean checkOrdering)Computes the difference between the sides of the givenmatchfor the given containmentreference.protected voidDefaultDiffEngine. computeDifferences(Match match, EAttribute attribute, boolean checkOrdering)Computes the difference between the sides of the givenmatchfor the givenattribute.protected voidDefaultDiffEngine. computeDifferences(Match match, EReference reference, boolean checkOrdering)Computes the difference between the sides of the givenmatchfor the givenreference.protected voidDefaultDiffEngine. 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 voidDefaultDiffEngine. computeMultiValuedFeatureDifferencesThreeWay(Match match, EStructuralFeature feature, boolean checkOrdering)Computes the difference between the sides of the givenmatchfor the given multi-valuedfeature.protected voidDefaultDiffEngine. computeMultiValuedFeatureDifferencesTwoWay(Match match, EStructuralFeature feature, boolean checkOrdering)Computes the difference between the sides of the givenmatchfor the given multi-valuedfeature.protected voidDefaultDiffEngine. computeSingleValuedAttributeDifferences(Match match, EAttribute attribute)Computes the difference between the sides of the givenmatchfor the given single-valuedattribute.protected voidDefaultDiffEngine. computeSingleValuedReferenceDifferencesThreeWay(Match match, EReference reference)Computes the difference between the sides of the givenmatchfor the given single-valuedreference.protected voidDefaultDiffEngine. computeSingleValuedReferenceDifferencesTwoWay(Match match, EReference reference)Computes the difference between the sides of the givenmatchfor the given single-valuedreference.protected voidDefaultDiffEngine. 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 voidDefaultDiffEngine. 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 voidDefaultDiffEngine. 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 voidDefaultDiffEngine. featureChange(Match match, EStructuralFeature feature, Object value, DifferenceKind kind, DifferenceSource source)Delegates to the diff processor to create the specified feature change.voidDiffBuilder. 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.voidIDiffProcessor. 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.Iterator<EAttribute>FeatureFilter. getAttributesToCheck(Match match)The diff engine expects this to return the set of attributes that need to be checked for differences for the givenMatchelement.Iterator<EReference>FeatureFilter. getReferencesToCheck(Match match)The diff engine expects this to return the set of references that need to be checked for differences for the givenMatchelement.protected booleanFeatureFilter. isIgnoredReference(Match match, EReference reference)This will be used byFeatureFilter.getReferencesToCheck(Match)in order to determine whether a given reference should be ignored.voidDiffBuilder. 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.voidIDiffProcessor. 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 booleanFeatureFilter. referenceIsSet(EReference reference, Match match)Checks whether the given reference is set on at least one of the three sides of the given match.voidDiffBuilder. 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.voidIDiffProcessor. 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 Match Modifier and Type Method Description protected IMergeViewerItemTreeMergeViewerItemContentProvider. createMergeViewerItem(Comparison comparison, Diff diff, Match match, IMergeViewer.MergeViewerSide side, AdapterFactory adapterFactory)Creates theIMergeViewerItemfrom the given data. -
Uses of Match in org.eclipse.emf.compare.impl
Classes in org.eclipse.emf.compare.impl that implement Match Modifier and Type Class Description classMatchImplAn implementation of the model object 'Match'.Fields in org.eclipse.emf.compare.impl with type parameters of type Match Modifier and Type Field Description protected EList<Match>ComparisonImpl. matchesThe cached value of the 'Matches' containment reference list.protected EList<Match>MatchImpl. submatchesThe cached value of the 'Submatches' containment reference list.Methods in org.eclipse.emf.compare.impl that return Match Modifier and Type Method Description MatchDiffImpl. basicGetMatch()MatchCompareFactoryImpl. createMatch()MatchComparisonImpl. getMatch(EObject element)MatchDiffImpl. getMatch()Methods in org.eclipse.emf.compare.impl that return types with arguments of type Match Modifier and Type Method Description Iterable<Match>MatchImpl. getAllSubmatches()EList<Match>ComparisonImpl. getMatches()EList<Match>MatchImpl. getSubmatches()Methods in org.eclipse.emf.compare.impl with parameters of type Match Modifier and Type Method Description voidDiffImpl. setMatch(Match newMatch) -
Uses of Match in org.eclipse.emf.compare.internal
Methods in org.eclipse.emf.compare.internal that return types with arguments of type Match Modifier and Type Method Description protected Iterator<? extends Match>SubMatchIterator. getChildren(Object obj)Iterator<Match>SubMatchIterable. iterator()Constructors in org.eclipse.emf.compare.internal with parameters of type Match Constructor Description SubMatchIterable(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 Match Modifier and Type Method Description protected Predicate<? super Match>AbstractConflictSearch. isContainmentDelete()This predicate will betruefor any Match which represents a containment deletion.Methods in org.eclipse.emf.compare.internal.conflict with parameters of type Match Modifier and Type Method Description Collection<ReferenceChange>ComparisonIndex. getReferenceChangesByValueMatch(Match valueMatch)The indexedReferenceChanges whose value is in the given Match.Method parameters in org.eclipse.emf.compare.internal.conflict with type arguments of type Match Modifier and Type Method Description voidDiffTreeIterator. setPruningFilter(Predicate<? super Match> pruningFilter)Sets the pruning filter for this iterator.Constructors in org.eclipse.emf.compare.internal.conflict with parameters of type Match Constructor Description DiffTreeIterator(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 Match Modifier and Type Method Description MatchAbstractChangeFactory. getParentMatch(Diff input)Returns the match in which the difference will be added.MatchIChangeFactory. 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 Match Modifier and Type Class Description classMatchSpecThis specialization of theMatchImplclass allows us to define the derived features and operations implementations.Methods in org.eclipse.emf.compare.internal.spec that return Match Modifier and Type Method Description MatchAttributeChangeSpec. basicGetMatch()MatchDiffSpec. basicGetMatch()MatchFeatureMapChangeSpec. basicGetMatch()MatchReferenceChangeSpec. basicGetMatch()MatchResourceAttachmentChangeSpec. basicGetMatch()MatchResourceLocationChangeSpec. basicGetMatch()MatchComparisonSpec. getMatch(EObject element)Methods in org.eclipse.emf.compare.internal.spec that return types with arguments of type Match Modifier and Type Method Description Iterable<Match>MatchSpec. getAllSubmatches()Methods in org.eclipse.emf.compare.internal.spec with parameters of type Match Modifier and Type Method Description voidAttributeChangeSpec. setMatch(Match newMatch)voidDiffSpec. setMatch(Match newMatch)voidFeatureMapChangeSpec. setMatch(Match newMatch)voidReferenceChangeSpec. setMatch(Match newMatch)voidResourceAttachmentChangeSpec. setMatch(Match newMatch)voidResourceLocationChangeSpec. setMatch(Match newMatch) -
Uses of Match in org.eclipse.emf.compare.internal.utils
Methods in org.eclipse.emf.compare.internal.utils with parameters of type Match Modifier and Type Method Description static EObjectComparisonUtil. getExpectedSide(Match match, DifferenceSource source, boolean mergeRightToLeft)Determines the side of the givenMatchwhich 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 Match Modifier and Type Method Description protected Set<Match>IdentifierEObjectMatcher. 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 Match Modifier and Type Class Description classNotLoadedFragmentMatchThe not loaded fragment match.Methods in org.eclipse.emf.compare.match.impl that return Match Modifier and Type Method Description MatchNotLoadedFragmentMatch. getFirstMatchChild()Get the first match child.Methods in org.eclipse.emf.compare.match.impl that return types with arguments of type Match Modifier and Type Method Description Collection<Match>NotLoadedFragmentMatch. getChildren()Get children.Constructors in org.eclipse.emf.compare.match.impl with parameters of type Match Constructor Description NotLoadedFragmentMatch(Match child)Constructor.Constructor parameters in org.eclipse.emf.compare.match.impl with type arguments of type Match Constructor Description NotLoadedFragmentMatch(Collection<Match> children)Constructor. -
Uses of Match in org.eclipse.emf.compare.merge
Methods in org.eclipse.emf.compare.merge with parameters of type Match Modifier and Type Method Description protected URIResourceAttachmentChangeMerger. computeTargetURI(Match match, boolean rightToLeft)Computes the URI of the "target" resource.protected ResourceResourceAttachmentChangeMerger. 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 Match Modifier and Type Method Description ObjectOverlayImageProvider. 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 Match Constructor Description MatchAccessor(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 Match Constructor Description Container(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 Match Modifier and Type Method Description protected MatchBasicDifferenceGroupImpl. 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 Modifier and Type Method Description protected MatchNodeBasicDifferenceGroupImpl. buildTree(Match match)Compute a tree for the given match.protected MatchNodeBasicDifferenceGroupImpl. createMatchNode(Match match)Create a match node. -
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 Match Modifier and Type Method Description MatchMatchNode. 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 Constructor Description MatchNode(Match match)Constructor. -
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 Match Modifier and Type Method Description 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 Collection<Match>ResourceUIUtil. getNotLoadedFragmentMatches(Collection<IMergeViewerItem> items)Get from the given list ofIMergeViewerItems, the NotLoadedFragmentMatchs.Methods in org.eclipse.emf.compare.rcp.ui.internal.util with parameters of type Match Modifier and Type Method Description static IMergeViewerItemResourceUIUtil. createItemForNotLoadedFragmentMatch(Match match, IMergeViewer.MergeViewerSide side, Comparison comparison, AdapterFactory adapterFactory)Constructs aNotLoadedFragmentMatchfrom the givenMatchand then return theIMergeViewerItemcorresponding to this NotLoadedFragmentMatch.static EObjectMergeViewerUtil. 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 ResourceSetResourceUIUtil. getDataResourceSet(Match match)Get the Resource's ResourceSet of the data associated to the given Match.static ResourceSetResourceUIUtil. 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 URIResourceUIUtil. getDataURI(Match match)Get the Resource's URI of the data associated to the given Matchstatic URIResourceUIUtil. 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 EObjectMergeViewerUtil. getEObject(Match match, IMergeViewer.MergeViewerSide side)static List<?>MergeViewerUtil. getFeatureValues(Match match, EStructuralFeature feature, IMergeViewer.MergeViewerSide side)static TreeNodeResourceUIUtil. 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 booleanResourceUIUtil. 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 Match Modifier and Type Method Description static 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 Modifier and Type Method Description TCompareSwitch. caseMatch(Match object)Returns the result of interpreting the object as an instance of 'Match'. -
Uses of Match in org.eclipse.emf.compare.utils
Methods in org.eclipse.emf.compare.utils that return Match Modifier and Type Method Description protected MatchEqualityHelper. getMatch(EObject o)Returns the match of this EObject if any,nullotherwise.Methods in org.eclipse.emf.compare.utils with parameters of type Match Modifier and Type Method Description static intMatchUtil. 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.static Iterable<Diff>MatchUtil. findAddOrDeleteContainmentDiffs(Match match)Get the potential ReferenceChanges that represent add/delete containment differences in the parent Match of the given Match.static EObjectMatchUtil. getMatchedObject(Match m, DifferenceSource side)Get the object matched by a Match on a given side.static booleanMatchUtil. hasDeleteDiff(Match match, EStructuralFeature feature, Object value)Checks whether the givenvaluehas been deleted from the givenfeatureofmatch.static booleanMatchUtil. hasDiff(Match match, EStructuralFeature feature, Object value)Checks whether the givenmatchpresents a difference of any kind on the givenfeature'svalue.static booleanMatchUtil. 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.
-