public abstract class SimpleTypeLoader extends TypeLoaderBase
_module, _typeNamesNO_TYPES| Modifier | Constructor and Description |
|---|---|
protected |
SimpleTypeLoader(IModule module) |
| Modifier and Type | Method and Description |
|---|---|
abstract Set<String> |
getExtensions() |
String |
getNamespaceForDirectory(IDirectory dir) |
String[] |
getTypesForFile(IFile file)
Returns ALL type names associated with the given file
whether or not the types have been loaded yet.
|
boolean |
handlesDirectory(IDirectory dir) |
boolean |
handlesFile(IFile file) |
RefreshKind |
refreshedFile(IFile file,
String[] types,
RefreshKind kind)
Notifies the type loader that a file has been refreshed.
|
clearTypeNames, deleteIndexFile, getAllTypeNames, getModule, getResource, getTypeNames, getTypeNames, isCaseSensitive, loadTypeNames, refreshed, refreshedImpl, refreshedTypes, refreshedTypesImpl, saveTypeNames, shouldCacheTypeNames, showTypeNamesInIDE, shutdown, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcomputeTypeNames, getAllNamespaces, getHandledPrefixes, getType, handlesNonPrefixLoads, hasNamespace, refreshedNamespaceprotected SimpleTypeLoader(IModule module)
public boolean handlesFile(IFile file)
handlesFile in interface ITypeLoaderhandlesFile in class TypeLoaderBasepublic String[] getTypesForFile(IFile file)
ITypeLoadergetTypesForFile in interface ITypeLoadergetTypesForFile in class TypeLoaderBasefile - The file in questionpublic RefreshKind refreshedFile(IFile file, String[] types, RefreshKind kind)
ITypeLoaderrefreshedFile in interface ITypeLoaderrefreshedFile in class TypeLoaderBasefile - The file that was refreshedkind - @return All known types affected by the file changepublic boolean handlesDirectory(IDirectory dir)
handlesDirectory in interface ITypeLoaderhandlesDirectory in class TypeLoaderBasepublic String getNamespaceForDirectory(IDirectory dir)
getNamespaceForDirectory in interface ITypeLoadergetNamespaceForDirectory in class TypeLoaderBaseCopyright © 2016. All rights reserved.