Package org.eclipse.xtext.linking.impl
Class ImportedNamesAdapter
- java.lang.Object
-
- org.eclipse.emf.common.notify.impl.AdapterImpl
-
- org.eclipse.xtext.linking.impl.ImportedNamesAdapter
-
- All Implemented Interfaces:
org.eclipse.emf.common.notify.Adapter
,org.eclipse.emf.common.notify.Adapter.Internal
,IScopeWrapper
public class ImportedNamesAdapter extends org.eclipse.emf.common.notify.impl.AdapterImpl implements IScopeWrapper
Wraps global scopes and collects and holds all names for which global scopes have been asked.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
ImportedNamesAdapter.WrappingScope
-
Constructor Summary
Constructors Constructor Description ImportedNamesAdapter()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
static ImportedNamesAdapter
find(org.eclipse.emf.ecore.resource.Resource resource)
static ImportedNamesAdapter
findOrInstall(org.eclipse.emf.ecore.resource.Resource resource)
java.util.Set<QualifiedName>
getImportedNames()
IScope
wrap(IScope scope)
-
-
-
Method Detail
-
find
public static ImportedNamesAdapter find(org.eclipse.emf.ecore.resource.Resource resource)
-
findOrInstall
public static ImportedNamesAdapter findOrInstall(org.eclipse.emf.ecore.resource.Resource resource)
- Since:
- 2.7
-
getImportedNames
public java.util.Set<QualifiedName> getImportedNames()
-
wrap
public IScope wrap(IScope scope)
- Specified by:
wrap
in interfaceIScopeWrapper
-
clear
public void clear()
-
-