Module jEdit

Class VFSPathSelected

java.lang.Object
org.gjt.sp.jedit.EBMessage
org.gjt.sp.jedit.msg.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 Details

    • VFSPathSelected

      public VFSPathSelected(View source, 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 Details

    • getView

      public View getView()
    • getPath

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

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