Class UrlTypeManifold

    • Constructor Detail

      • UrlTypeManifold

        public UrlTypeManifold()
    • Method Detail

      • init

        public void init​(IModule module)
        Description copied from interface: ITypeManifold
        Initialize this type manifold. Avoid defining types in the scope of this method.
        Specified by:
        init in interface ITypeManifold
        Parameters:
        module - The module to which this type manifold exclusively belongs
      • handlesFileExtension

        public boolean handlesFileExtension​(String fileExtension)
        Specified by:
        handlesFileExtension in interface IFileConnected
        Returns:
        True if this type manifold handles files having the given fileExtension
      • handlesFile

        public boolean handlesFile​(IFile file)
        Specified by:
        handlesFile in interface IFileConnected
        Returns:
        True if the type manifold handles the given file
      • getTypesForFile

        public String[] getTypesForFile​(IFile file)
        Description copied from interface: IFileConnected
        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.
        Specified by:
        getTypesForFile in interface IFileConnected
        Parameters:
        file - The file in question
        Returns:
        All known types derived from that file
      • refreshedFile

        public RefreshKind refreshedFile​(IFile file,
                                         String[] types,
                                         RefreshKind kind)
        Description copied from interface: IFileConnected
        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.
        Specified by:
        refreshedFile in interface IFileConnected
        Parameters:
        file - The file that was refreshed
        Returns:
        All known types affected by the file change