Modifier and Type | Method and Description |
---|---|
Match |
CompareFactory.createMatch()
Returns a new object of class 'Match'
|
Match |
Diff.getMatch()
Returns the value of the 'Match' container reference.
|
Match |
Comparison.getMatch(EObject element)
Finds and return the Match for
the given EObject.
|
Modifier and Type | Method and 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.
|
Modifier and Type | Method and Description |
---|---|
void |
Diff.setMatch(Match value)
Sets the value of the ' Match ' container
reference.
|
Modifier and Type | Method and 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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
void |
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.
|
protected void |
DefaultDiffEngine.checkForDifferences(Match match,
Monitor monitor)
Checks the given
Match 's sides for potential differences. |
protected void |
DefaultDiffEngine.checkResourceAttachment(Match match,
Monitor monitor)
Checks whether the given
Match 's sides have changed resources. |
protected void |
DefaultDiffEngine.computeContainmentDifferencesThreeWay(Match match,
EReference reference,
boolean checkOrdering)
Computes the difference between the sides of the given
match for the given containment
reference . |
protected void |
DefaultDiffEngine.computeContainmentDifferencesTwoWay(Match match,
EReference reference,
boolean checkOrdering)
Computes the difference between the sides of the given
match for the given containment
reference . |
protected void |
DefaultDiffEngine.computeDifferences(Match match,
EAttribute attribute,
boolean checkOrdering)
Computes the difference between the sides of the given
match for the given
attribute . |
protected void |
DefaultDiffEngine.computeDifferences(Match match,
EReference reference,
boolean checkOrdering)
Computes the difference between the sides of the given
match for the given
reference . |
protected void |
DefaultDiffEngine.computeMultiValuedFeatureDifferencesThreeWay(Match match,
EStructuralFeature feature,
boolean checkOrdering)
Computes the difference between the sides of the given
match for the given multi-valued
feature . |
protected void |
DefaultDiffEngine.computeMultiValuedFeatureDifferencesTwoWay(Match match,
EStructuralFeature feature,
boolean checkOrdering)
Computes the difference between the sides of the given
match for the given multi-valued
feature . |
protected void |
DefaultDiffEngine.computeSingleValuedAttributeDifferences(Match match,
EAttribute attribute)
Computes the difference between the sides of the given
match for the given single-valued
attribute . |
protected void |
DefaultDiffEngine.computeSingleValuedReferenceDifferencesThreeWay(Match match,
EReference reference)
Computes the difference between the sides of the given
match for the given single-valued
reference . |
protected void |
DefaultDiffEngine.computeSingleValuedReferenceDifferencesTwoWay(Match match,
EReference reference)
Computes the difference between the sides of the given
match for the given single-valued
reference . |
protected void |
DefaultDiffEngine.createContainmentDifferences(Match match,
EReference reference,
boolean checkOrdering,
List<Object> values,
List<Object> lcsWithOrigin,
DifferenceSource side)
Called from
DefaultDiffEngine.computeContainmentDifferencesThreeWay(Match, EReference, boolean) once our LCS
have been computed and we know what really changed. |
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 |
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.
|
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.
|
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 given
Match element. |
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 given
Match element. |
protected boolean |
FeatureFilter.isIgnoredReference(Match match,
EReference reference)
This will be used by
FeatureFilter.getReferencesToCheck(Match) in order to determine whether a given
reference should be ignored. |
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.
|
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.
|
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 |
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.
|
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.
|
Modifier and Type | Class and Description |
---|---|
class |
MatchImpl
An implementation of the model object 'Match'
|
Modifier and Type | Field and Description |
---|---|
protected EList<Match> |
ComparisonImpl.matches
The cached value of the ' Matches ' containment reference list.
|
protected EList<Match> |
MatchImpl.submatches
The cached value of the '
Submatches ' containment reference list |
Modifier and Type | Method and Description |
---|---|
Match |
CompareFactoryImpl.createMatch() |
Match |
DiffImpl.getMatch() |
Match |
ComparisonImpl.getMatch(EObject element) |
Modifier and Type | Method and Description |
---|---|
Iterable<Match> |
MatchImpl.getAllSubmatches() |
EList<Match> |
ComparisonImpl.getMatches() |
EList<Match> |
MatchImpl.getSubmatches() |
Modifier and Type | Method and Description |
---|---|
NotificationChain |
DiffImpl.basicSetMatch(Match newMatch,
NotificationChain msgs) |
void |
DiffImpl.setMatch(Match newMatch) |
Modifier and Type | Method and Description |
---|---|
protected Iterator<? extends Match> |
SubMatchIterator.getChildren(Object obj) |
Iterator<Match> |
SubMatchIterable.iterator() |
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
Match |
AbstractChangeFactory.getParentMatch(Diff input)
Returns the match in which the difference will be added.
|
Match |
IChangeFactory.getParentMatch(Diff input)
Returns the match in which the difference will be added.
|
Modifier and Type | Class and Description |
---|---|
class |
MatchSpec
This specialization of the
MatchImpl class allows us to define the derived features and operations
implementations. |
Modifier and Type | Method and Description |
---|---|
Match |
ComparisonSpec.getMatch(EObject element)
Finds and return the Match for
the given EObject.
|
Modifier and Type | Method and Description |
---|---|
Iterable<Match> |
MatchSpec.getAllSubmatches()
Finds and returns all matches contained in this Match and its children, recursively
|
Modifier and Type | Method and 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.
|
Modifier and Type | Method and Description |
---|---|
protected 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.
|
Modifier and Type | Method and Description |
---|---|
T |
CompareSwitch.caseMatch(Match object)
Returns the result of interpreting the object as an instance of 'Match'
|
Modifier and Type | Method and Description |
---|---|
protected Match |
EqualityHelper.getMatch(EObject o)
Retrieves the match of the given EObject.
|
Copyright (c) 2006, 2014 Obeo and others. All rights reserved.