Class ObjectRightsMatcher
java.lang.Object
com._1c.g5.v8.dt.compare.matching.ExternalReferenceFeatureMatcher
com._1c.g5.v8.dt.internal.rights.compare.ObjectRightsMatcher
- All Implemented Interfaces:
IEmfObjectMatcher,IObjectMatcher<org.eclipse.emf.ecore.EObject,MatchedEmfObjects>
The matcher for
RightsPackage.Literals.OBJECT_RIGHTS.-
Constructor Summary
ConstructorsConstructorDescriptionObjectRightsMatcher(ComparisonContext comparisonContext, TopComparisonNode rightsNode, org.eclipse.xtext.scoping.IScopeProvider scopeProvider) Creates a new matcher. -
Method Summary
Modifier and TypeMethodDescriptionprotected StringgetSymlink(IComparisonDataSource dataSource, org.eclipse.emf.ecore.EObject context, org.eclipse.emf.ecore.EReference reference, org.eclipse.xtext.scoping.IScopeProvider scopeProvider) Returns a symbolic link for the external reference from a context object.Methods inherited from class com._1c.g5.v8.dt.compare.matching.ExternalReferenceFeatureMatcher
match
-
Constructor Details
-
ObjectRightsMatcher
public ObjectRightsMatcher(ComparisonContext comparisonContext, TopComparisonNode rightsNode, org.eclipse.xtext.scoping.IScopeProvider scopeProvider) Creates a new matcher.- Parameters:
comparisonContext- the comparison context, cannot benullrightsNode- the rights comparison node, cannot benullscopeProvider- the scope provider, cannot benull
-
-
Method Details
-
getSymlink
protected String getSymlink(IComparisonDataSource dataSource, org.eclipse.emf.ecore.EObject context, org.eclipse.emf.ecore.EReference reference, org.eclipse.xtext.scoping.IScopeProvider scopeProvider) Description copied from class:ExternalReferenceFeatureMatcherReturns a symbolic link for the external reference from a context object.- Overrides:
getSymlinkin classExternalReferenceFeatureMatcher- Parameters:
dataSource- the comparison data source, cannot benullcontext- the referencing object, cannot benullreference- the external reference to match object for, cannot benullscopeProvider- the scope provider, cannot benull- Returns:
- the symbolic link, never
null
-