Interface IFileConnected
- All Known Subinterfaces:
ITypeManifold
- All Known Implementing Classes:
JavaTypeManifold, ResourceFileTypeManifold, UrlTypeManifold
public interface IFileConnected
An abstraction representing a connection between types and files.
-
Method Summary
Modifier and TypeMethodDescriptionString[]getTypesForFile(IFile file) Returns ALL type names associated with the given file whether or not the types have been loaded yet.booleanhandlesFile(IFile file) booleanhandlesFileExtension(String fileExtension) default booleanAre the types produced from this type manifold backed by project files such as resource files?refreshedFile(IFile file, String[] types, RefreshKind kind) Notifies that a file has been refreshed.
-
Method Details
-
isFileBacked
default boolean isFileBacked()Are the types produced from this type manifold backed by project files such as resource files? -
handlesFileExtension
- Returns:
- True if this type manifold handles files having the given
fileExtension
-
handlesFile
- Returns:
- True if the type manifold handles the given
file
-
getTypesForFile
-
refreshedFile
Notifies that a file has been refreshed. The implementor should return all types that it knows need to be refreshed based on the given file.- Parameters:
file- The file that was refreshedkind- @return All known types affected by the file change
-