Class ContextMappingDSLScopeProvider

java.lang.Object
org.eclipse.xtext.scoping.impl.AbstractScopeProvider
org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider
org.contextmapper.dsl.scoping.ContextMappingDSLScopeProvider
All Implemented Interfaces:
org.eclipse.xtext.scoping.impl.IDelegatingScopeProvider, org.eclipse.xtext.scoping.IScopeProvider

public class ContextMappingDSLScopeProvider extends org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider
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.
  • Field Summary

    Fields inherited from class org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider

    logger, NAMED_DELEGATE, NAMED_ERROR_HANDLER
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.eclipse.xtext.scoping.IScope
    getScope(org.eclipse.emf.ecore.EObject context, org.eclipse.emf.ecore.EReference reference)
     

    Methods inherited from class org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider

    delegateGetScope, getDelegate, getErrorHandler, getPredicate, getPredicate, polymorphicFindScopeForClassName, polymorphicFindScopeForReferenceName, setDelegate, setErrorHandler

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.eclipse.xtext.scoping.impl.IDelegatingScopeProvider

    setWrapper
  • Constructor Details

    • ContextMappingDSLScopeProvider

      public ContextMappingDSLScopeProvider()
  • Method Details

    • getScope

      public org.eclipse.xtext.scoping.IScope getScope(org.eclipse.emf.ecore.EObject context, org.eclipse.emf.ecore.EReference reference)
      Specified by:
      getScope in interface org.eclipse.xtext.scoping.IScopeProvider
      Overrides:
      getScope in class org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider