public class IncludeCSAttribution extends AbstractAttribution implements CS2Pivot.UnresolvedProxyMessageProvider
| Modifier and Type | Field and Description |
|---|---|
static IncludeCSAttribution |
INSTANCE |
REGISTRY| Constructor and Description |
|---|
IncludeCSAttribution() |
| Modifier and Type | Method and Description |
|---|---|
ScopeView |
computeLookup(org.eclipse.emf.ecore.EObject target,
EnvironmentView environmentView,
ScopeView scopeView)
Add the local lookup contributions to a view of an Environment.
|
org.eclipse.emf.ecore.EReference |
getEReference() |
java.lang.String |
getMessage(org.eclipse.emf.ecore.EObject context,
java.lang.String linkText) |
@NonNull public static final IncludeCSAttribution INSTANCE
public ScopeView computeLookup(@NonNull org.eclipse.emf.ecore.EObject target, @NonNull EnvironmentView environmentView, @NonNull ScopeView scopeView)
AttributionThe EnvironmentView contains the lookup matching criteria such as a specific name and accumulates candidate results.
The input ScopeView identifies the CST node and the containment of the CST child from which the lookup is made allowing derived implementations to present the alternative environments specified as the Inherited Attributes in the OCL Specification.
The returned ScopeView identifies an outer scope in which the lookup may be continued if the local candidate results are not suitable.
computeLookup in interface AttributioncomputeLookup in class AbstractAttributionenvironmentView - the EnvironmentView to computescopeView - the access selectivity to be applied by the lookup@NonNull public org.eclipse.emf.ecore.EReference getEReference()
getEReference in interface CS2Pivot.UnresolvedProxyMessageProviderpublic java.lang.String getMessage(@NonNull
org.eclipse.emf.ecore.EObject context,
@NonNull
java.lang.String linkText)
getMessage in interface CS2Pivot.UnresolvedProxyMessageProvider