projectviewer.event
Class NodeSelectionUpdate

java.lang.Object
  extended by org.gjt.sp.jedit.EBMessage
      extended by org.gjt.sp.jedit.msg.VFSPathSelected
          extended by projectviewer.event.NodeSelectionUpdate

public final class NodeSelectionUpdate
extends org.gjt.sp.jedit.msg.VFSPathSelected

An update that notifies that a node in the tree has been selected.

Since:
PV 3.0.0
Author:
Marcelo Vanzin

Constructor Summary
NodeSelectionUpdate(ProjectViewer v, VPTNode n)
          Construct a new selection update message for the given viewer and node.
 
Method Summary
 VPTNode getNode()
          Returns the node that has been selected.
 ProjectViewer getViewer()
          Returns the ProjectViewer where the event was generated.
 
Methods inherited from class org.gjt.sp.jedit.msg.VFSPathSelected
getPath, getView, isDirectory
 
Methods inherited from class org.gjt.sp.jedit.EBMessage
getSource, paramString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NodeSelectionUpdate

public NodeSelectionUpdate(ProjectViewer v,
                           VPTNode n)
Construct a new selection update message for the given viewer and node.

Method Detail

getViewer

public ProjectViewer getViewer()
Returns the ProjectViewer where the event was generated.


getNode

public VPTNode getNode()
Returns the node that has been selected.