Package org.eclipse.emf.compare.merge
Class ResourceLocationChangeMerger
- java.lang.Object
-
- org.eclipse.emf.compare.merge.AbstractMerger
-
- org.eclipse.emf.compare.merge.ResourceLocationChangeMerger
-
- All Implemented Interfaces:
IMergeCriterionAware
,IMergeOptionAware
,IMerger
,IMerger2
@Deprecated public class ResourceLocationChangeMerger extends AbstractMerger
Deprecated.ResourceLocationChange
s have been replaced byResourceAttachmentChange
s of kind Move.This specific implementation ofAbstractMerger
will be used to merge resource location changes.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.eclipse.emf.compare.merge.IMerger
IMerger.Registry, IMerger.Registry2, IMerger.RegistryImpl
-
-
Field Summary
-
Fields inherited from class org.eclipse.emf.compare.merge.AbstractMerger
mergeOptions, SUB_DIFF_AWARE_OPTION
-
-
Constructor Summary
Constructors Constructor Description ResourceLocationChangeMerger()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected void
accept(Diff diff, boolean rightToLeft)
Deprecated.Accept the given difference.boolean
isMergerFor(Diff target)
Deprecated.Check if the merger is a good candidate to merge the given difference.protected void
reject(Diff diff, boolean rightToLeft)
Deprecated.Reject the given difference.-
Methods inherited from class org.eclipse.emf.compare.merge.AbstractMerger
addAt, apply, copyDiff, copyLeftToRight, copyRightToLeft, createCopy, getDirectMergeDependencies, getDirectResultingMerges, getDirectResultingRejections, getImpliedMerges, getLogicallyResultingMerges, getMergeOptions, getMergerDelegate, getMergerDelegate, getRanking, getRegistry, isAccepting, isAdd, isInTerminalState, isSet, isUnset, mergeDiff, setMergeOptions, setRanking, setRegistry
-
-
-
-
Method Detail
-
isMergerFor
public boolean isMergerFor(Diff target)
Deprecated.Check if the merger is a good candidate to merge the given difference.- Parameters:
target
- The given target difference.- Returns:
- True if it is the good candidate, false otherwise.
- See Also:
IMerger.isMergerFor(org.eclipse.emf.compare.Diff)
-
accept
protected void accept(Diff diff, boolean rightToLeft)
Deprecated.Description copied from class:AbstractMerger
Accept the given difference. This may be overridden by clients.- Overrides:
accept
in classAbstractMerger
- Parameters:
diff
- the difference to mergerightToLeft
- the direction of the merge
-
reject
protected void reject(Diff diff, boolean rightToLeft)
Deprecated.Description copied from class:AbstractMerger
Reject the given difference. This may be overridden by clients.- Overrides:
reject
in classAbstractMerger
- Parameters:
diff
- the difference to mergerightToLeft
- the direction of the merge
-
-