Eclipse Draw2d
3.1

org.eclipse.draw2d.internal.graph
Class VirtualNodeCreation

java.lang.Object
  extended byorg.eclipse.draw2d.internal.graph.RevertableChange
      extended byorg.eclipse.draw2d.internal.graph.VirtualNodeCreation

public class VirtualNodeCreation
extends RevertableChange

Encapsulates the conversion of a long edge to multiple short edges and back.

Since:
3.1

Constructor Summary
VirtualNodeCreation(Edge edge, DirectedGraph graph)
          Breaks a single edge into multiple edges containing virtual nodes.
 
Method Summary
 void revert()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VirtualNodeCreation

public VirtualNodeCreation(Edge edge,
                           DirectedGraph graph)
Breaks a single edge into multiple edges containing virtual nodes.

Parameters:
edge - The edge to convert
graph - the graph containing the edge
Since:
3.1
Method Detail

revert

public void revert()
Overrides:
revert in class RevertableChange
See Also:
RevertableChange.revert()

Eclipse Draw2d
3.1

Copyright (c) IBM Corp. and others 2000, 2005. All Rights Reserved.