org.gjt.sp.jedit.msg
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
VFSPathSelected
public VFSPathSelected(View source,
java.lang.String path,
boolean isDirectory)
- Parameters:
source
- the View that is considered the "source" of this eventisDirectory
- true if the path is pointing to a folder, false if it's a regular filepath
- The selected path.
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