Eclipse Draw2d
3.1

org.eclipse.draw2d.internal.graph
Class ConvertCompoundGraph

java.lang.Object
  extended byorg.eclipse.draw2d.internal.graph.GraphVisitor
      extended byorg.eclipse.draw2d.internal.graph.ConvertCompoundGraph

public class ConvertCompoundGraph
extends GraphVisitor

Converts a compound directed graph into a simple directed graph.

Since:
2.1.2

Constructor Summary
ConvertCompoundGraph()
           
 
Method Summary
 void revisit(DirectedGraph g)
          Called in reverse order of visit.
 void visit(DirectedGraph dg)
          Act on the given directed graph.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConvertCompoundGraph

public ConvertCompoundGraph()
Method Detail

revisit

public void revisit(DirectedGraph g)
Description copied from class: GraphVisitor
Called in reverse order of visit.

Overrides:
revisit in class GraphVisitor
Parameters:
g - the graph to act upon

visit

public void visit(DirectedGraph dg)
Description copied from class: GraphVisitor
Act on the given directed graph.

Specified by:
visit in class GraphVisitor
Parameters:
dg - the graph
See Also:
GraphVisitor.visit(org.eclipse.draw2d.graph.DirectedGraph)

Eclipse Draw2d
3.1

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