XImportSection and thereby the XImportSectionNamespaceScopeProvider
instead to get tooling for organize imports.@Deprecated public class XbaseImportedNamespaceScopeProvider extends AbstractGlobalScopeDelegatingScopeProvider
| Constructor and Description |
|---|
XbaseImportedNamespaceScopeProvider()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected ImportNormalizer |
createImportedNamespaceResolver(java.lang.String namespace,
boolean ignoreCase)
Deprecated.
Create a new
ImportNormalizer for the given namespace. |
protected ImportScope |
createImportScope(IScope parent,
java.util.List<ImportNormalizer> namespaceResolvers,
ISelectable importFrom,
org.eclipse.emf.ecore.EClass type,
boolean ignoreCase)
Deprecated.
|
protected ImportNormalizer |
doCreateImportNormalizer(QualifiedName importedNamespace,
boolean wildcard,
boolean ignoreCase)
Deprecated.
|
protected ISelectable |
getAllDescriptions(org.eclipse.emf.ecore.resource.Resource resource)
Deprecated.
|
protected IScope |
getGlobalScope(org.eclipse.emf.ecore.resource.Resource context,
org.eclipse.emf.ecore.EReference reference)
Deprecated.
|
protected java.util.List<ImportNormalizer> |
getImplicitImports(boolean ignoreCase)
Deprecated.
|
protected java.lang.String |
getImportedNamespace(org.eclipse.emf.ecore.EObject object)
Deprecated.
|
protected java.util.List<ImportNormalizer> |
getImportedNamespaceResolvers(org.eclipse.emf.ecore.EObject context,
boolean ignoreCase)
Deprecated.
|
protected java.lang.Object |
getKey(org.eclipse.emf.common.notify.Notifier context,
org.eclipse.emf.ecore.EReference reference)
Deprecated.
|
protected IScope |
getLocalElementsScope(IScope parent,
IScope globalScope,
org.eclipse.emf.ecore.EObject context,
org.eclipse.emf.ecore.EReference reference)
Deprecated.
|
protected QualifiedName |
getQualifiedNameOfLocalElement(org.eclipse.emf.ecore.EObject context)
Deprecated.
|
IQualifiedNameProvider |
getQualifiedNameProvider()
Deprecated.
|
protected IScope |
getResourceScope(IScope globalScope,
org.eclipse.emf.ecore.resource.Resource res,
org.eclipse.emf.ecore.EReference reference)
Deprecated.
|
IScope |
getScope(org.eclipse.emf.ecore.EObject context,
org.eclipse.emf.ecore.EReference reference)
Deprecated.
Returns a scope for the given context.
|
java.lang.String |
getWildCard()
Deprecated.
|
protected ISelectable |
internalGetAllDescriptions(org.eclipse.emf.ecore.resource.Resource resource)
Deprecated.
|
protected java.util.List<ImportNormalizer> |
internalGetImportedNamespaceResolvers(org.eclipse.emf.ecore.EObject context,
boolean ignoreCase)
Deprecated.
|
protected IScope |
internalGetScope(IScope parent,
IScope globalScope,
org.eclipse.emf.ecore.EObject context,
org.eclipse.emf.ecore.EReference reference)
Deprecated.
|
getGlobalScope, isIgnoreCase, setWrapper, wrappublic XbaseImportedNamespaceScopeProvider()
public IQualifiedNameProvider getQualifiedNameProvider()
public IScope getScope(org.eclipse.emf.ecore.EObject context, org.eclipse.emf.ecore.EReference reference)
IScopeProvidercontext - the element from which an element shall be referenced. It doesn't need to be the element
containing the reference, it is just used to find the most inner scope for given EReference.reference - the reference for which to get the scope.IScope representing the inner most IScope for the
passed context and reference. Note for implementors: The result may not be null.
Return IScope.NULLSCOPE instead.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 java.util.List<ImportNormalizer> getImplicitImports(boolean ignoreCase)
protected ImportScope createImportScope(IScope parent, java.util.List<ImportNormalizer> namespaceResolvers, ISelectable importFrom, org.eclipse.emf.ecore.EClass type, boolean ignoreCase)
protected java.lang.Object getKey(org.eclipse.emf.common.notify.Notifier context,
org.eclipse.emf.ecore.EReference reference)
protected java.util.List<ImportNormalizer> getImportedNamespaceResolvers(org.eclipse.emf.ecore.EObject context, boolean ignoreCase)
protected java.util.List<ImportNormalizer> internalGetImportedNamespaceResolvers(org.eclipse.emf.ecore.EObject context, boolean ignoreCase)
protected java.lang.String getImportedNamespace(org.eclipse.emf.ecore.EObject object)
protected ImportNormalizer createImportedNamespaceResolver(java.lang.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 java.lang.String getWildCard()