Package 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
-
-
Constructor Summary
Constructors Constructor Description VFSPathSelected(View source, java.lang.String path, boolean isDirectory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getPath()
View
getView()
boolean
isDirectory()
-
Methods inherited from class org.gjt.sp.jedit.EBMessage
getSource, paramString, toString
-
-
-
-
Constructor Detail
-
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.
-
-
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
-
-