org.eclipse.xtext.scoping.impl
Class SelectableBasedScope
java.lang.Object
org.eclipse.xtext.scoping.impl.AbstractScope
org.eclipse.xtext.scoping.impl.SelectableBasedScope
- All Implemented Interfaces:
- IScope
public class SelectableBasedScope
- extends AbstractScope
- Author:
- Sebastian Zarnekow - Initial contribution and API
Methods inherited from class org.eclipse.xtext.scoping.impl.AbstractScope |
getAllElements, getElements, getElements, getLocalElementsByEObject, getParent, getParentElements, getSingleElement, getSingleElement, getSingleLocalElementByName, isIgnoreCase, isShadowed, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SelectableBasedScope
protected SelectableBasedScope(IScope outer,
ISelectable selectable,
com.google.common.base.Predicate<IEObjectDescription> filter,
org.eclipse.emf.ecore.EClass type,
boolean ignoreCase)
createScope
public static IScope createScope(IScope outer,
ISelectable selectable,
org.eclipse.emf.ecore.EClass type,
boolean ignoreCase)
createScope
public static IScope createScope(IScope outer,
ISelectable selectable,
com.google.common.base.Predicate<IEObjectDescription> filter,
org.eclipse.emf.ecore.EClass type,
boolean ignoreCase)
getLocalElementsByName
protected java.lang.Iterable<IEObjectDescription> getLocalElementsByName(QualifiedName name)
- Overrides:
getLocalElementsByName
in class AbstractScope
getAllLocalElements
protected java.lang.Iterable<IEObjectDescription> getAllLocalElements()
- Specified by:
getAllLocalElements
in class AbstractScope
getSelectable
protected ISelectable getSelectable()
getFilter
protected com.google.common.base.Predicate<IEObjectDescription> getFilter()
filterLocalElements
protected java.lang.Iterable<IEObjectDescription> filterLocalElements(java.lang.Iterable<IEObjectDescription> unfiltered)