Uses of Enum Class
org.eclipse.emf.compare.DifferenceSource
Packages that use DifferenceSource
Package
Description
-
Uses of DifferenceSource in org.eclipse.emf.compare
Fields in org.eclipse.emf.compare with type parameters of type DifferenceSourceModifier and TypeFieldDescriptionstatic final List<DifferenceSource>DifferenceSource.VALUESA public read-only list of all the 'Difference Source' enumerators.Methods in org.eclipse.emf.compare that return DifferenceSourceModifier and TypeMethodDescriptionstatic DifferenceSourceDifferenceSource.get(int value) Returns the 'Difference Source' literal with the specified integer value.static DifferenceSourceReturns the 'Difference Source' literal with the specified literal value.static DifferenceSourceReturns the 'Difference Source' literal with the specified name.Diff.getSource()Returns the value of the 'Source' attribute.static DifferenceSourceReturns the enum constant of this class with the specified name.static DifferenceSource[]DifferenceSource.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.eclipse.emf.compare with parameters of type DifferenceSourceModifier and TypeMethodDescriptionvoidDiff.setSource(DifferenceSource value) Sets the value of the 'Source' attribute. -
Uses of DifferenceSource in org.eclipse.emf.compare.diff
Methods in org.eclipse.emf.compare.diff with parameters of type DifferenceSourceModifier 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.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.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.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.voidDiffBuilder.resourceLocationChange(MatchResource matchResource, String baseLocation, String changedLocation, DifferenceKind kind, DifferenceSource source) Deprecated.voidIDiffProcessor.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. -
Uses of DifferenceSource in org.eclipse.emf.compare.impl
Fields in org.eclipse.emf.compare.impl declared as DifferenceSourceModifier and TypeFieldDescriptionprotected DifferenceSourceDiffImpl.sourceThe cached value of the 'Source' attribute.protected static final DifferenceSourceDiffImpl.SOURCE_EDEFAULTThe default value of the 'Source' attribute.Methods in org.eclipse.emf.compare.impl that return DifferenceSourceModifier and TypeMethodDescriptionCompareFactoryImpl.createDifferenceSourceFromString(EDataType eDataType, String initialValue) DiffImpl.getSource()Methods in org.eclipse.emf.compare.impl with parameters of type DifferenceSource -
Uses of DifferenceSource in org.eclipse.emf.compare.internal.merge
Methods in org.eclipse.emf.compare.internal.merge that return DifferenceSourceModifier and TypeMethodDescriptionMergeMode.getMergeTarget(boolean isLeftEditable, boolean isRightEditable) Returns the target of the merge with the given condition about the left and right sides. -
Uses of DifferenceSource in org.eclipse.emf.compare.internal.utils
Methods in org.eclipse.emf.compare.internal.utils with parameters of type DifferenceSourceModifier 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 DifferenceSource in org.eclipse.emf.compare.rcp.ui.mergeviewer
Methods in org.eclipse.emf.compare.rcp.ui.mergeviewer that return DifferenceSourceModifier and TypeMethodDescriptionIMergeViewer.MergeViewerSide.convertToDifferenceSource()Converts this side to DifferenceSource.Methods in org.eclipse.emf.compare.rcp.ui.mergeviewer with parameters of type DifferenceSourceModifier and TypeMethodDescriptionstatic IMergeViewer.MergeViewerSideIMergeViewer.MergeViewerSide.getValueFrom(DifferenceSource source) Get the side value from the givenDifferenceSource. -
Uses of DifferenceSource in org.eclipse.emf.compare.utils
Methods in org.eclipse.emf.compare.utils with parameters of type DifferenceSourceModifier 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.static com.google.common.base.Predicate<? super Diff>EMFComparePredicates.fromSide(DifferenceSource source) Deprecated.This can be used to check that a given Diff originates from the givensourceside.static EObjectMatchUtil.getMatchedObject(Match m, DifferenceSource side) Get the object matched by a Match on a given side.
ResourceLocationChanges have been replaced byResourceAttachmentChanges of kind Move.