From: <Jan...@us...> - 2007-02-22 13:16:14
|
Revision: 555 http://svn.sourceforge.net/magicmap/?rev=555&view=rev Author: Jan_fride Date: 2007-02-22 05:16:13 -0800 (Thu, 22 Feb 2007) Log Message: ----------- synchronization Modified Paths: -------------- trunk/magicmapclient/src/net/sf/magicmap/client/model/location/jung/JungNodePlacer.java Modified: trunk/magicmapclient/src/net/sf/magicmap/client/model/location/jung/JungNodePlacer.java =================================================================== --- trunk/magicmapclient/src/net/sf/magicmap/client/model/location/jung/JungNodePlacer.java 2007-02-22 13:04:01 UTC (rev 554) +++ trunk/magicmapclient/src/net/sf/magicmap/client/model/location/jung/JungNodePlacer.java 2007-02-22 13:16:13 UTC (rev 555) @@ -322,8 +322,10 @@ JungEdge edge = new JungEdge(v1, v2); this.worker.suspend(); // stopGraph(); addEdge(edge); - this.layout.update(); + //this.layout.update(); + ((SpringLayout) this.worker.getGraphLayout()).update(); this.worker.unsuspend(); // resumeGraph(); + return edge; } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |