public class XImportSectionNamespaceScopeProvider extends AbstractGlobalScopeDelegatingScopeProvider
| Modifier and Type | Field and Description |
|---|---|
static QualifiedName |
JAVA_LANG |
static QualifiedName |
XBASE_LIB |
| Constructor and Description |
|---|
XImportSectionNamespaceScopeProvider() |
| Modifier and Type | Method and Description |
|---|---|
protected ImportNormalizer |
createImportedNamespaceResolver(String namespace,
boolean ignoreCase)
Create a new
ImportNormalizer for the given namespace. |
protected ImportScope |
createImportScope(IScope parent,
List<ImportNormalizer> namespaceResolvers,
ISelectable importFrom,
org.eclipse.emf.ecore.EClass type,
boolean ignoreCase) |
protected ImportNormalizer |
doCreateImportNormalizer(QualifiedName importedNamespace,
boolean wildcard,
boolean ignoreCase) |
protected ISelectable |
getAllDescriptions(org.eclipse.emf.ecore.resource.Resource resource) |
protected IJvmModelAssociations |
getAssociations() |
protected IScope |
getGlobalScope(org.eclipse.emf.ecore.resource.Resource context,
org.eclipse.emf.ecore.EReference reference) |
protected List<ImportNormalizer> |
getImplicitImports(boolean ignoreCase) |
protected List<ImportNormalizer> |
getImportedNamespaceResolvers(org.eclipse.emf.ecore.EObject context,
boolean ignoreCase) |
protected List<ImportNormalizer> |
getImportedNamespaceResolvers(XImportSection importSection,
boolean ignoreCase) |
protected IImportsConfiguration |
getImportsConfiguration() |
protected Object |
getKey(org.eclipse.emf.common.notify.Notifier context,
org.eclipse.emf.ecore.EReference reference) |
protected IScope |
getLocalElementsScope(IScope parent,
IScope globalScope,
org.eclipse.emf.ecore.EObject context,
org.eclipse.emf.ecore.EReference reference) |
IQualifiedNameConverter |
getQualifiedNameConverter() |
protected QualifiedName |
getQualifiedNameOfLocalElement(org.eclipse.emf.ecore.EObject context) |
IQualifiedNameProvider |
getQualifiedNameProvider() |
protected IScope |
getResourceScope(IScope globalScope,
org.eclipse.emf.ecore.resource.Resource res,
org.eclipse.emf.ecore.EReference reference) |
IScope |
getScope(org.eclipse.emf.ecore.EObject context,
org.eclipse.emf.ecore.EReference reference) |
String |
getWildcard() |
protected ISelectable |
internalGetAllDescriptions(org.eclipse.emf.ecore.resource.Resource resource) |
protected List<ImportNormalizer> |
internalGetImportedNamespaceResolvers(org.eclipse.emf.ecore.EObject context,
boolean ignoreCase) |
protected IScope |
internalGetScope(IScope parent,
IScope globalScope,
org.eclipse.emf.ecore.EObject context,
org.eclipse.emf.ecore.EReference reference) |
getGlobalScope, isIgnoreCase, setWrapper, wrappublic static final QualifiedName JAVA_LANG
public static final QualifiedName XBASE_LIB
public XImportSectionNamespaceScopeProvider()
public IQualifiedNameProvider getQualifiedNameProvider()
public IQualifiedNameConverter getQualifiedNameConverter()
public IScope getScope(org.eclipse.emf.ecore.EObject context, org.eclipse.emf.ecore.EReference reference)
protected IScope getGlobalScope(org.eclipse.emf.ecore.resource.Resource context, org.eclipse.emf.ecore.EReference reference)
getGlobalScope in class AbstractGlobalScopeDelegatingScopeProviderprotected IScope internalGetScope(IScope parent, IScope globalScope, org.eclipse.emf.ecore.EObject context, org.eclipse.emf.ecore.EReference reference)
protected IScope getLocalElementsScope(IScope parent, IScope globalScope, org.eclipse.emf.ecore.EObject context, org.eclipse.emf.ecore.EReference reference)
protected IScope getResourceScope(IScope globalScope, org.eclipse.emf.ecore.resource.Resource res, org.eclipse.emf.ecore.EReference reference)
protected List<ImportNormalizer> getImplicitImports(boolean ignoreCase)
ignoreCase - true if the import normalizer should use case insensitive compare logic.protected ImportScope createImportScope(IScope parent, List<ImportNormalizer> namespaceResolvers, ISelectable importFrom, org.eclipse.emf.ecore.EClass type, boolean ignoreCase)
protected Object getKey(org.eclipse.emf.common.notify.Notifier context, org.eclipse.emf.ecore.EReference reference)
protected List<ImportNormalizer> getImportedNamespaceResolvers(org.eclipse.emf.ecore.EObject context, boolean ignoreCase)
protected List<ImportNormalizer> internalGetImportedNamespaceResolvers(org.eclipse.emf.ecore.EObject context, boolean ignoreCase)
protected IImportsConfiguration getImportsConfiguration()
protected List<ImportNormalizer> getImportedNamespaceResolvers(XImportSection importSection, boolean ignoreCase)
protected ImportNormalizer createImportedNamespaceResolver(String namespace, boolean ignoreCase)
ImportNormalizer for the given namespace.namespace - the namespace.ignoreCase - true if the resolver should be case insensitive.ImportNormalizer or null if the namespace cannot be converted to a valid
qualified name.protected ImportNormalizer doCreateImportNormalizer(QualifiedName importedNamespace, boolean wildcard, boolean ignoreCase)
protected QualifiedName getQualifiedNameOfLocalElement(org.eclipse.emf.ecore.EObject context)
protected ISelectable getAllDescriptions(org.eclipse.emf.ecore.resource.Resource resource)
protected ISelectable internalGetAllDescriptions(org.eclipse.emf.ecore.resource.Resource resource)
public String getWildcard()
protected IJvmModelAssociations getAssociations()
Copyright © 2015. All Rights Reserved.