projectviewer.event
Class StructureUpdate
java.lang.Object
org.gjt.sp.jedit.EBMessage
projectviewer.event.StructureUpdate
public final class StructureUpdate
- extends org.gjt.sp.jedit.EBMessage
An update message describing some change in the data kept by
the plugin.
- Since:
- PV 3.0.0
- Author:
- Marcelo Vanzin
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 |
send
public static void send(VPTNode node,
StructureUpdate.Type type)
send
public static void send(VPTNode node,
VPTGroup parent)
getType
public StructureUpdate.Type getType()
- Returns:
- The event type of this message.
getNode
public VPTNode getNode()
- Returns:
- The affected node.
getOldParent
public VPTGroup getOldParent()
- Returns:
- The old parent, if type is NODE_MOVED.