|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.ocl.examples.xtext.base.scoping.pivot.AbstractScopeAdapter<P>
org.eclipse.ocl.examples.xtext.base.scoping.pivot.AbstractPivotScopeAdapter<Package>
org.eclipse.ocl.examples.xtext.base.scoping.pivot.RootPackageScopeAdapter
public class RootPackageScopeAdapter
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.eclipse.ocl.examples.xtext.base.scope.ScopeAdapter |
|---|
ScopeAdapter.Switch |
| Nested classes/interfaces inherited from interface org.eclipse.emf.common.notify.Adapter |
|---|
org.eclipse.emf.common.notify.Adapter.Internal |
| Field Summary |
|---|
| Fields inherited from class org.eclipse.ocl.examples.xtext.base.scoping.pivot.AbstractPivotScopeAdapter |
|---|
document |
| Fields inherited from class org.eclipse.ocl.examples.xtext.base.scoping.pivot.AbstractScopeAdapter |
|---|
parent, target |
| Fields inherited from interface org.eclipse.ocl.examples.xtext.base.scope.RootScopeAdapter |
|---|
WORK |
| Constructor Summary | |
|---|---|
RootPackageScopeAdapter(TypeManager typeManager,
Package pivotElement)
|
|
| Method Summary | |
|---|---|
ScopeView |
computeLookup(EnvironmentView environmentView,
ScopeView scopeView)
Add the local lookup contributions to a view of an Environment. |
RootScopeAdapter |
getRootScopeAdapter()
|
| Methods inherited from class org.eclipse.ocl.examples.xtext.base.scoping.pivot.AbstractPivotScopeAdapter |
|---|
getMoniker, toString |
| Methods inherited from class org.eclipse.ocl.examples.xtext.base.scoping.pivot.AbstractScopeAdapter |
|---|
computeLookup, dispose, getDocumentScopeAdapter, getDocumentScopeAdapter, getInnerScopeView, getOuterScopeView, getParent, getScopeAdapter, getScopeCSAdapter, getSourceScope, getTarget, isAdapterFor, isAdapterForType, notifyChanged, setTarget, unsetTarget |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.eclipse.ocl.examples.xtext.base.scope.ScopeAdapter |
|---|
computeLookup, getInnerScopeView, getOuterScopeView, getParent, getSourceScope, getTarget |
| Methods inherited from interface org.eclipse.ocl.examples.pivot.utilities.TypeManagedAdapter |
|---|
dispose, isAdapterFor |
| Methods inherited from interface org.eclipse.emf.common.notify.Adapter.Internal |
|---|
unsetTarget |
| Methods inherited from interface org.eclipse.emf.common.notify.Adapter |
|---|
isAdapterForType, notifyChanged, setTarget |
| Constructor Detail |
|---|
public RootPackageScopeAdapter(TypeManager typeManager,
Package pivotElement)
| Method Detail |
|---|
public ScopeView computeLookup(EnvironmentView environmentView,
ScopeView scopeView)
ScopeAdapterThe 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 ScopeAdaptercomputeLookup in class AbstractScopeAdapter<Package>environmentView - the EnvironmentView to computescopeView - the access selectivity to be applied by the lookup
public RootScopeAdapter getRootScopeAdapter()
getRootScopeAdapter in interface ScopeAdaptergetRootScopeAdapter in class AbstractPivotScopeAdapter<Package>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||