[jboss-cvs] JBossAS SVN: r91388 - projects/mc-tools/grapher/trunk/src/main/java/org/jboss/mctools/grapher/layout.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Fri Jul 17 16:25:46 EDT 2009


Author: alesj
Date: 2009-07-17 16:25:46 -0400 (Fri, 17 Jul 2009)
New Revision: 91388

Modified:
   projects/mc-tools/grapher/trunk/src/main/java/org/jboss/mctools/grapher/layout/DefaultGraphLayout.java
Log:
Simple fix.

Modified: projects/mc-tools/grapher/trunk/src/main/java/org/jboss/mctools/grapher/layout/DefaultGraphLayout.java
===================================================================
--- projects/mc-tools/grapher/trunk/src/main/java/org/jboss/mctools/grapher/layout/DefaultGraphLayout.java	2009-07-17 20:22:49 UTC (rev 91387)
+++ projects/mc-tools/grapher/trunk/src/main/java/org/jboss/mctools/grapher/layout/DefaultGraphLayout.java	2009-07-17 20:25:46 UTC (rev 91388)
@@ -33,7 +33,7 @@
    public void applyLayout(JGraph graph)
    {
       // TODO - write our own impl
-      GraphLayout layout = new ReflectionGraphLayout("com.jgraph.layout.graph.JGraphSimpleLayout");
+      GraphLayout layout = new ReflectionGraphLayout("com.jgraph.layout.graph.JGraphSimpleLayout", new Class<?>[]{int.class}, new Object[]{2});
       layout.applyLayout(graph);
    }
 }
\ No newline at end of file




More information about the jboss-cvs-commits mailing list