public class ImportCSAttribution extends AbstractAttribution implements CS2AS.UnresolvedProxyMessageProvider
Modifier and Type | Field and Description |
---|---|
static ImportCSAttribution |
INSTANCE |
REGISTRY
Constructor and Description |
---|
ImportCSAttribution() |
Modifier and Type | Method and Description |
---|---|
ScopeView |
computeLookup(EObject target,
EnvironmentView environmentView,
ScopeView scopeView)
Add the local lookup contributions to a view of an Environment.
|
EReference |
getEReference() |
String |
getMessage(EObject context,
String linkText) |
public static final ImportCSAttribution INSTANCE
public ScopeView computeLookup(EObject target, EnvironmentView environmentView, ScopeView scopeView)
Attribution
The EnvironmentView contains the lookup matching criteria such as a specific name and accumulates candidate results.
The input ScopeView identifies the CS node and the containment of the CS 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 Attribution
computeLookup
in class AbstractAttribution
environmentView
- the EnvironmentView to computescopeView
- the access selectivity to be applied by the lookuppublic EReference getEReference()
getEReference
in interface CS2AS.UnresolvedProxyMessageProvider
public String getMessage(EObject context, String linkText)
getMessage
in interface CS2AS.UnresolvedProxyMessageProvider
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.