Class VFSPathSelected


  • public class VFSPathSelected
    extends EBMessage
    Message sent when a file system tree node, or a ProjectViewer tree node, is selected.
    Since:
    jEdit 4.3pre11
    • Constructor Detail

      • VFSPathSelected

        public VFSPathSelected​(View source,
                               java.lang.String path,
                               boolean isDirectory)
        Parameters:
        source - the View that is considered the "source" of this event
        isDirectory - true if the path is pointing to a folder, false if it's a regular file
        path - The selected path.
    • Method Detail

      • getView

        public View getView()
      • getPath

        public java.lang.String getPath()
        Returns:
        The selected URL (or file path).
      • isDirectory

        public boolean isDirectory()
        Returns:
        true if this is a directory node