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 TypeMethodDescriptionvoidDiffBuilder.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.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.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 MatchModifier and TypeMethodDescriptionprotected 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 MatchFields in org.eclipse.emf.compare.impl with type parameters of type MatchModifier and TypeFieldDescriptionComparisonImpl.matchesThe cached value of the 'Matches' containment reference list.MatchImpl.submatchesThe 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 betruefor 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 indexedReferenceChanges whose value is in the given Match.Method parameters in org.eclipse.emf.compare.internal.conflict with type arguments of type MatchModifier and TypeMethodDescriptionvoidDiffTreeIterator.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 TypeClassDescriptionclassThis specialization of theMatchImplclass 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 TypeMethodDescriptionvoidvoidvoidvoidvoidvoid -
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 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 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 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 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 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 -
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 ofIMergeViewerItems, the NotLoadedFragmentMatchs.Methods in org.eclipse.emf.compare.rcp.ui.internal.util with parameters of type MatchModifier and TypeMethodDescriptionstatic 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 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 MatchReturns the match of this EObject if any,nullotherwise.Methods in org.eclipse.emf.compare.utils with parameters of type MatchModifier and TypeMethodDescriptionstatic 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.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.