| Modifier and Type | Field and Description | 
|---|---|
| static List<DifferenceSource> | DifferenceSource. VALUESA public read-only list of all the 'Difference Source' enumerators | 
| Modifier and Type | Method and Description | 
|---|---|
| static DifferenceSource | DifferenceSource. get(int value)Returns the 'Difference Source' literal with the specified integer value | 
| static DifferenceSource | DifferenceSource. get(String literal)Returns the 'Difference Source' literal with the specified literal value | 
| static DifferenceSource | DifferenceSource. getByName(String name)Returns the 'Difference Source' literal with the specified name | 
| DifferenceSource | Diff. getSource()Returns the value of the 'Source' attribute. | 
| static DifferenceSource | DifferenceSource. valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static DifferenceSource[] | DifferenceSource. values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | Diff. setSource(DifferenceSource value)Sets the value of the ' Source' attribute. | 
| 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. 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. | 
| 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. | 
| 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. | 
| void | IDiffProcessor. resourceLocationChange(MatchResource matchResource,
                      String baseLocation,
                      String changedLocation,
                      DifferenceKind kind,
                      DifferenceSource source)This will be called whenever the diff engine detects the change of a Resource location. | 
| void | DiffBuilder. resourceLocationChange(MatchResource matchResource,
                      String baseLocation,
                      String changedLocation,
                      DifferenceKind kind,
                      DifferenceSource source)Deprecated. 
 ResourceLocationChanges have been replaced byResourceAttachmentChanges of kind Move. | 
| Modifier and Type | Field and Description | 
|---|---|
| protected DifferenceSource | DiffImpl. sourceThe cached value of the ' Source' attribute | 
| protected static DifferenceSource | DiffImpl. SOURCE_EDEFAULTThe default value of the ' Source' attribute | 
| Modifier and Type | Method and Description | 
|---|---|
| DifferenceSource | CompareFactoryImpl. createDifferenceSourceFromString(EDataType eDataType,
                                String initialValue) | 
| DifferenceSource | DiffImpl. getSource() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | DiffImpl. setSource(DifferenceSource newSource) | 
| Modifier and Type | Method and Description | 
|---|---|
| DifferenceSource | IMergeData. getMergeTarget()Returns the target side of the merge. | 
| DifferenceSource | MergeDataImpl. getMergeTarget()Returns the target side of the merge. | 
| DifferenceSource | MergeMode. getMergeTarget(boolean isLeftEditable,
              boolean isRightEditable)Returns the target of the merge with the given condition about the left and right sides. | 
| Modifier and Type | Method and Description | 
|---|---|
| static EObject | ComparisonUtil. getExpectedSide(Match match,
               DifferenceSource source,
               boolean mergeRightToLeft)Determines the side of the given  Matchwhich represents the model state the other side will be
 changed to. | 
| Modifier and Type | Method and Description | 
|---|---|
| static BasicDifferenceGroupImpl.ChildrenSide | BasicDifferenceGroupImpl.ChildrenSide. getValueFrom(DifferenceSource source) | 
| Modifier and Type | Method and Description | 
|---|---|
| DifferenceSource | IMergeViewer.MergeViewerSide. convertToDifferenceSource()Converts this side to DifferenceSource. | 
| Modifier and Type | Method and Description | 
|---|---|
| static IMergeViewer.MergeViewerSide | IMergeViewer.MergeViewerSide. getValueFrom(DifferenceSource source)Get the side value from the given  DifferenceSource. | 
| Modifier and Type | Method and Description | 
|---|---|
| static com.google.common.base.Predicate<? super Diff> | EMFComparePredicates. fromSide(DifferenceSource source)This can be used to check that a given Diff originates from the given  sourceside. | 
Copyright (c) 2006, 2015 Obeo and others. All rights reserved.