Interface IFileConnected

    • Method Detail

      • isFileBacked

        default boolean isFileBacked()
        Are the types produced from this type manifold backed by project files such as resource files?
      • handlesFileExtension

        boolean handlesFileExtension​(String fileExtension)
        Returns:
        True if this type manifold handles files having the given fileExtension
      • handlesFile

        boolean handlesFile​(IFile file)
        Returns:
        True if the type manifold handles the given file
      • getTypesForFile

        String[] getTypesForFile​(IFile file)
        Returns ALL type names associated with the given file whether or not the types have been loaded yet. Type loading should NOT be used in the implementation of this method.
        Parameters:
        file - The file in question
        Returns:
        All known types derived from that file
      • refreshedFile

        RefreshKind refreshedFile​(IFile file,
                                  String[] types,
                                  RefreshKind kind)
        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 refreshed
        kind -
        Returns:
        All known types affected by the file change