|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.ocl.examples.pivot.scoping.AbstractAttribution
org.eclipse.ocl.examples.xtext.base.attributes.PathNameCSAttribution
public class PathNameCSAttribution
| Field Summary | |
|---|---|
static PathNameCSAttribution |
INSTANCE
|
| Fields inherited from interface org.eclipse.ocl.examples.pivot.scoping.Attribution |
|---|
REGISTRY |
| Constructor Summary | |
|---|---|
PathNameCSAttribution()
|
|
| Method Summary | |
|---|---|
ScopeView |
computeLookup(org.eclipse.emf.ecore.EObject target,
EnvironmentView environmentView,
ScopeView scopeView)
Add the local lookup contributions to a view of an Environment. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final PathNameCSAttribution INSTANCE
| Constructor Detail |
|---|
public PathNameCSAttribution()
| Method Detail |
|---|
public ScopeView computeLookup(org.eclipse.emf.ecore.EObject target,
EnvironmentView environmentView,
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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||