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 String
getSymlink
(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 benull
rightsNode
- the rights comparison node, cannot benull
scopeProvider
- 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:ExternalReferenceFeatureMatcher
Returns a symbolic link for the external reference from a context object.- Overrides:
getSymlink
in classExternalReferenceFeatureMatcher
- Parameters:
dataSource
- the comparison data source, cannot benull
context
- the referencing object, cannot benull
reference
- the external reference to match object for, cannot benull
scopeProvider
- the scope provider, cannot benull
- Returns:
- the symbolic link, never
null
-