Author: mmichaud
Date: 2009-03-12 11:18:11 -0700 (Thu, 12 Mar 2009)
New Revision: 16232

Modified:
   
cytoscape3/trunk/application/src/main/java/cytoscape/layout/ui/LayoutSettingsDialog.java
Log:


Modified: 
cytoscape3/trunk/application/src/main/java/cytoscape/layout/ui/LayoutSettingsDialog.java
===================================================================
--- 
cytoscape3/trunk/application/src/main/java/cytoscape/layout/ui/LayoutSettingsDialog.java
    2009-03-12 18:15:38 UTC (rev 16231)
+++ 
cytoscape3/trunk/application/src/main/java/cytoscape/layout/ui/LayoutSettingsDialog.java
    2009-03-12 18:18:11 UTC (rev 16232)
@@ -107,6 +107,7 @@
                if (command.equals("done")) {
                        setVisible(false);
                } else if (command.equals("execute")) {
+                       ti.Handle();
                        tm.execute( new 
LayoutTask(currentLayout,netmgr.getCurrentNetworkView()) );
                } else {
                        // OK, initialize and display
@@ -191,7 +192,9 @@
                        if (!(o instanceof String)) { 
                                CyLayoutAlgorithm newLayout = 
(CyLayoutAlgorithm)o;
                                ti.loadTunables(newLayout);
+                               ti.setParent(mainPanel);
                                ti.createUI(newLayout);
+                               pack();
                                currentLayout = newLayout; 
                        }
                }


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"cytoscape-cvs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/cytoscape-cvs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to