public class ImportedNamesAdapter.WrappingScope extends Object implements IScope
| Constructor and Description |
|---|
ImportedNamesAdapter.WrappingScope(IScope scope) |
| Modifier and Type | Method and Description |
|---|---|
Iterable<IEObjectDescription> |
getAllElements()
Obtain all elements from the scope.
|
Iterable<IEObjectDescription> |
getElements(org.eclipse.emf.ecore.EObject object)
Find all descriptions that match the given instance.
|
Iterable<IEObjectDescription> |
getElements(QualifiedName name)
Find all descriptions that match the given name.
|
IEObjectDescription |
getSingleElement(org.eclipse.emf.ecore.EObject object)
Find the first description that matches the given instance.
|
IEObjectDescription |
getSingleElement(QualifiedName name)
Find the first description that matches the given name.
|
protected void |
handleNoNameQuery() |
String |
toString() |
public ImportedNamesAdapter.WrappingScope(IScope scope)
public IEObjectDescription getSingleElement(QualifiedName name)
IScopegetSingleElement in interface IScopename - the name of the to-be-found element. May not be null.name. May be null.public Iterable<IEObjectDescription> getElements(QualifiedName name)
IScopegetElements in interface IScopename - the name of the to-be-found elements. May not be null.name. Never null.public Iterable<IEObjectDescription> getElements(org.eclipse.emf.ecore.EObject object)
IScopegetElements in interface IScopeobject - the instance whose descriptions should be obtained. May not be null.instance. Never null.public IEObjectDescription getSingleElement(org.eclipse.emf.ecore.EObject object)
IScopegetSingleElement in interface IScopeobject - the instance whose description should be obtained. May not be null.instance. May be null.public Iterable<IEObjectDescription> getAllElements()
IScopeUnsupportedOperationException
if the scope cannot be enumerated.getAllElements in interface IScopenull.protected void handleNoNameQuery()
Copyright © 2015. All Rights Reserved.