org.eclipse.xtext.common.types.xtext.ui
Class JdtBasedSimpleTypeScope

java.lang.Object
  extended by org.eclipse.xtext.scoping.impl.AbstractScope
      extended by org.eclipse.xtext.common.types.xtext.AbstractTypeScope
          extended by org.eclipse.xtext.common.types.xtext.ui.JdtBasedSimpleTypeScope
All Implemented Interfaces:
IScope

public class JdtBasedSimpleTypeScope
extends AbstractTypeScope

Author:
Sebastian Zarnekow - Initial contribution and API, Jan Koehnlein - introduced QualifiedName

Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.xtext.scoping.impl.AbstractScope
AbstractScope.ParentIterable
 
Field Summary
 
Fields inherited from interface org.eclipse.xtext.scoping.IScope
NULLSCOPE
 
Constructor Summary
JdtBasedSimpleTypeScope(IJdtTypeProvider typeProvider, IQualifiedNameConverter qualifiedNameConverter, com.google.common.base.Predicate<IEObjectDescription> filter)
           
 
Method Summary
 void collectContents(org.eclipse.jdt.core.search.IJavaSearchScope searchScope, org.eclipse.jdt.core.search.TypeNameRequestor nameMatchRequestor)
           
protected  org.eclipse.emf.ecore.InternalEObject createProxy(java.lang.String fullyQualifiedName)
           
 IEObjectDescription createScopedElement(java.lang.String fullyQualifiedName)
           
 IJdtTypeProvider getTypeProvider()
           
protected  java.lang.Iterable<IEObjectDescription> internalGetAllElements()
           
 
Methods inherited from class org.eclipse.xtext.common.types.xtext.AbstractTypeScope
filterResult, getAllElements, getAllLocalElements, getElements, getElements, getQualifiedNameConverter, getSingleElement, toString
 
Methods inherited from class org.eclipse.xtext.scoping.impl.AbstractScope
getLocalElementsByEObject, getLocalElementsByName, getParent, getParentElements, getSingleElement, getSingleLocalElementByName, isIgnoreCase, isShadowed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JdtBasedSimpleTypeScope

public JdtBasedSimpleTypeScope(IJdtTypeProvider typeProvider,
                               IQualifiedNameConverter qualifiedNameConverter,
                               com.google.common.base.Predicate<IEObjectDescription> filter)
Method Detail

internalGetAllElements

protected java.lang.Iterable<IEObjectDescription> internalGetAllElements()
Overrides:
internalGetAllElements in class AbstractTypeScope

createScopedElement

public IEObjectDescription createScopedElement(java.lang.String fullyQualifiedName)

createProxy

protected org.eclipse.emf.ecore.InternalEObject createProxy(java.lang.String fullyQualifiedName)

collectContents

public void collectContents(org.eclipse.jdt.core.search.IJavaSearchScope searchScope,
                            org.eclipse.jdt.core.search.TypeNameRequestor nameMatchRequestor)
                     throws org.eclipse.jdt.core.JavaModelException
Throws:
org.eclipse.jdt.core.JavaModelException

getTypeProvider

public IJdtTypeProvider getTypeProvider()
Overrides:
getTypeProvider in class AbstractTypeScope