Class XbaseBatchScopeProvider

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected org.eclipse.xtext.scoping.IScope delegateGetScope​(org.eclipse.emf.ecore.EObject context, org.eclipse.emf.ecore.EReference reference)  
      org.eclipse.xtext.scoping.IScopeProvider getDelegate()  
      protected FeatureScopes getFeatureScopes()  
      org.eclipse.xtext.scoping.IScope getScope​(org.eclipse.emf.ecore.EObject context, org.eclipse.emf.ecore.EReference reference)  
      boolean isBatchScopeable​(org.eclipse.emf.ecore.EReference reference)
      Returns true if a proxy at the given reference should be resolved by means of a batch run.
      boolean isConstructorCallScope​(org.eclipse.emf.ecore.EReference reference)  
      boolean isFeatureCallScope​(org.eclipse.emf.ecore.EReference reference)  
      protected boolean isTypeScope​(org.eclipse.emf.ecore.EReference reference)  
      IFeatureScopeSession newSession​(org.eclipse.emf.ecore.resource.Resource context)
      Returns a preconfigured feature scope session that is aware of implicitly imported types such as CollectionLiterals.
      void setDelegate​(org.eclipse.xtext.scoping.IScopeProvider delegate)  
      void setWrapper​(org.eclipse.xtext.scoping.impl.IScopeWrapper wrapper)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • XbaseBatchScopeProvider

        public XbaseBatchScopeProvider()
    • Method Detail

      • delegateGetScope

        protected org.eclipse.xtext.scoping.IScope delegateGetScope​(org.eclipse.emf.ecore.EObject context,
                                                                    org.eclipse.emf.ecore.EReference reference)
      • setDelegate

        public void setDelegate​(org.eclipse.xtext.scoping.IScopeProvider delegate)
      • getDelegate

        public org.eclipse.xtext.scoping.IScopeProvider getDelegate()
        Specified by:
        getDelegate in interface org.eclipse.xtext.scoping.impl.IDelegatingScopeProvider
      • setWrapper

        public void setWrapper​(org.eclipse.xtext.scoping.impl.IScopeWrapper wrapper)
        Specified by:
        setWrapper in interface org.eclipse.xtext.scoping.impl.IDelegatingScopeProvider
      • 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
      • newSession

        public IFeatureScopeSession newSession​(org.eclipse.emf.ecore.resource.Resource context)
        Description copied from interface: IBatchScopeProvider
        Returns a preconfigured feature scope session that is aware of implicitly imported types such as CollectionLiterals.
        Specified by:
        newSession in interface IBatchScopeProvider
        Parameters:
        context - the resource that contains the to-be-linked instances.
        Returns:
        a new feature scope session. Never null.
      • isTypeScope

        protected boolean isTypeScope​(org.eclipse.emf.ecore.EReference reference)
      • isBatchScopeable

        public boolean isBatchScopeable​(org.eclipse.emf.ecore.EReference reference)
        Description copied from interface: IBatchScopeProvider
        Returns true if a proxy at the given reference should be resolved by means of a batch run.
        Specified by:
        isBatchScopeable in interface IBatchScopeProvider