Class CharacterizedDataDictionaryScopeProvider
- java.lang.Object
-
- org.eclipse.xtext.scoping.impl.AbstractScopeProvider
-
- org.eclipse.xtext.scoping.impl.DelegatingScopeProvider
-
- org.palladiosimulator.dataflow.dictionary.characterized.dsl.scoping.AbstractCharacterizedDataDictionaryScopeProvider
-
- org.palladiosimulator.dataflow.dictionary.characterized.dsl.scoping.CharacterizedDataDictionaryScopeProvider
-
- All Implemented Interfaces:
org.eclipse.xtext.scoping.impl.IDelegatingScopeProvider
,org.eclipse.xtext.scoping.IScopeProvider
public class CharacterizedDataDictionaryScopeProvider extends AbstractCharacterizedDataDictionaryScopeProvider
This class contains custom scoping description. See https://www.eclipse.org/Xtext/documentation/303_runtime_concepts.html#scoping on how and when to use it.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static interface
CharacterizedDataDictionaryScopeProvider.IScopeProcessor
protected static interface
CharacterizedDataDictionaryScopeProvider.IScopeProcessorMethod
-
Field Summary
Fields Modifier and Type Field Description protected Collection<CharacterizedDataDictionaryScopeProvider.IScopeProcessor>
scopeProcessors
-
Constructor Summary
Constructors Constructor Description CharacterizedDataDictionaryScopeProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.eclipse.xtext.scoping.IScope
buildLastSegmentScope(org.eclipse.xtext.scoping.IScope superScope)
protected <T extends EObject>
Optional<T>findParentOfType(EObject object, Class<T> parentType)
org.eclipse.xtext.scoping.IScope
getScope(EObject context, EReference reference)
protected org.eclipse.xtext.scoping.IScope
getScopeForLiteralInEnumCharacteristicReference(EObject context, EReference reference, org.eclipse.xtext.scoping.IScope scope)
protected org.eclipse.xtext.scoping.IScope
getScopeForPinInDataCharacteristicReference(EObject context, EReference reference, org.eclipse.xtext.scoping.IScope scope)
protected org.eclipse.xtext.scoping.IScope
getScopeForValuesInEnumCharacteristic(EObject context, EReference reference, org.eclipse.xtext.scoping.IScope scope)
protected Collection<CharacterizedDataDictionaryScopeProvider.IScopeProcessor>
initScopeProcessors()
protected boolean
isLhs(CharacteristicReference reference)
protected boolean
isRhs(CharacteristicReference reference)
-
Methods inherited from class org.eclipse.xtext.scoping.impl.DelegatingScopeProvider
delegateGetScope, getDelegate, setDelegate
-
-
-
-
Field Detail
-
scopeProcessors
protected final Collection<CharacterizedDataDictionaryScopeProvider.IScopeProcessor> scopeProcessors
-
-
Method Detail
-
initScopeProcessors
protected Collection<CharacterizedDataDictionaryScopeProvider.IScopeProcessor> initScopeProcessors()
-
getScope
public org.eclipse.xtext.scoping.IScope getScope(EObject context, EReference reference)
- Specified by:
getScope
in interfaceorg.eclipse.xtext.scoping.IScopeProvider
- Overrides:
getScope
in classorg.eclipse.xtext.scoping.impl.DelegatingScopeProvider
-
getScopeForPinInDataCharacteristicReference
protected org.eclipse.xtext.scoping.IScope getScopeForPinInDataCharacteristicReference(EObject context, EReference reference, org.eclipse.xtext.scoping.IScope scope)
-
getScopeForLiteralInEnumCharacteristicReference
protected org.eclipse.xtext.scoping.IScope getScopeForLiteralInEnumCharacteristicReference(EObject context, EReference reference, org.eclipse.xtext.scoping.IScope scope)
-
getScopeForValuesInEnumCharacteristic
protected org.eclipse.xtext.scoping.IScope getScopeForValuesInEnumCharacteristic(EObject context, EReference reference, org.eclipse.xtext.scoping.IScope scope)
-
buildLastSegmentScope
protected org.eclipse.xtext.scoping.IScope buildLastSegmentScope(org.eclipse.xtext.scoping.IScope superScope)
-
findParentOfType
protected <T extends EObject> Optional<T> findParentOfType(EObject object, Class<T> parentType)
-
isLhs
protected boolean isLhs(CharacteristicReference reference)
-
isRhs
protected boolean isRhs(CharacteristicReference reference)
-
-