Class CmiScopeProvider

  • All Implemented Interfaces:
    org.eclipse.xtext.scoping.impl.IDelegatingScopeProvider, org.eclipse.xtext.scoping.IScopeProvider

    public class CmiScopeProvider
    extends org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider
    implements org.eclipse.xtext.scoping.impl.IDelegatingScopeProvider
    This class contains custom scoping description. see : http://www.eclipse.org/Xtext/documentation/latest/xtext.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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.eclipse.xtext.scoping.IScopeProvider getDelegate()  
      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, getErrorHandler, getPredicate, getPredicate, polymorphicFindScopeForClassName, polymorphicFindScopeForReferenceName, setDelegate, setErrorHandler
      • Methods inherited from interface org.eclipse.xtext.scoping.impl.IDelegatingScopeProvider

        setWrapper
    • Constructor Detail

      • CmiScopeProvider

        public CmiScopeProvider()
    • Method Detail

      • getDelegate

        public org.eclipse.xtext.scoping.IScopeProvider getDelegate()
        Specified by:
        getDelegate in interface org.eclipse.xtext.scoping.impl.IDelegatingScopeProvider
        Overrides:
        getDelegate in class org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider
      • 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