Interface ISymlinkTranslationContributor
- 
 public interface ISymlinkTranslationContributorA symbolic link translation contributor. It guarantees to translate symbolic links in contexts it supports.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description IMatchingSymlinksgetMatchingSymlinks(ComparisonNode node, org.eclipse.emf.ecore.EObject eObject, org.eclipse.emf.ecore.EReference reference, ComparisonSide sourceSide, String symlink, ComparisonContext comparisonContext, IMergeSession mergeSession)Returns a "matching symlinks" object for the specified symbolic link in the specified context.IMatchingSymlinksgetMatchingSymlinksToTopObject(ComparisonContext comparisonContext, String symlink, ComparisonSide side, IMergeSession mergeSession)Returns matched symlinks to the top object with the given symlink on a given comparison side.
 
- 
- 
- 
Method Detail- 
getMatchingSymlinksIMatchingSymlinks getMatchingSymlinks(ComparisonNode node, org.eclipse.emf.ecore.EObject eObject, org.eclipse.emf.ecore.EReference reference, ComparisonSide sourceSide, String symlink, ComparisonContext comparisonContext, IMergeSession mergeSession) Returns a "matching symlinks" object for the specified symbolic link in the specified context.- Parameters:
- node- the comparison result node hosting the
- eObject- the referencing EObject
- reference- the reference
- sourceSide- the side of the symbolic link
- symlink- the symbolic link for which to get matching symlinks
- comparison- context the comparison context, cannot be- null
- mergeSession- the merge session. If not- null, the resulting matching symlinks must contain an accordingly translated other symlink in case when the other object will be imported during the merge session
- Returns:
- a matching symbolic links object or nullif the context is not supported by the contributor
 
 - 
getMatchingSymlinksToTopObjectIMatchingSymlinks getMatchingSymlinksToTopObject(ComparisonContext comparisonContext, String symlink, ComparisonSide side, IMergeSession mergeSession) Returns matched symlinks to the top object with the given symlink on a given comparison side.- Parameters:
- comparisonContext- the comparison context, cannot be- null
- symlink- the top object symlink to be matched, cannot be- null
- side- the comparison side where the top object lies, cannot be- null
- mergeSession- the merge session, can be- nullif no merge process run
- Returns:
- the triple of matched symlinks or nullif no matched symlinks found
 
 
- 
 
-