Class RIDNode

    • Field Detail

      • file

        protected java.io.File file
        The file.
      • iconcache

        protected final IIconCache iconcache
        The icon cache.
    • Method Detail

      • setFile

        public void setFile​(java.io.File file)
        Set the file.
      • getResourceIdentifier

        public IResourceIdentifier getResourceIdentifier()
        Get the rid.
        Returns:
        The rid.
      • getFileName

        public java.lang.String getFileName()
        Get the file name.
        Specified by:
        getFileName in interface IFileNode
      • getFilePath

        public java.lang.String getFilePath()
        Get the file path.
        Specified by:
        getFilePath in interface IFileNode
      • isDirectory

        public boolean isDirectory()
        Check if the file is a directory.
        Specified by:
        isDirectory in interface IFileNode
      • getId

        public java.lang.Object getId()
        Get the id used for lookup.
        Specified by:
        getId in interface ITreeNode
      • isJar

        public boolean isJar()
        Test if jar.
      • searchChildren

        protected void searchChildren()
        Asynchronously search for children. Should call setChildren() once children are found.
        Specified by:
        searchChildren in class AbstractTreeNode
      • listFiles

        protected IFuture listFiles()
        Get a file filter according to current file type settings.
      • toString

        public java.lang.String toString()
        Get the string representation.
        Overrides:
        toString in class java.lang.Object
      • getFileSize

        public long getFileSize()
        Get the file size.
        Specified by:
        getFileSize in interface IFileNode