Author: scooter
Date: 2011-07-21 06:38:58 -0700 (Thu, 21 Jul 2011)
New Revision: 26229

Modified:
   
cytoscape/trunk/coreplugins/ManualLayout/src/main/java/ManualLayout/ManualLayoutPlugin.java
Log:
Alphebetize Manual Layout menu -- not really needed for three menu items, but 
now that
the rest of the layout menu is alphebetized, it made sense...


Modified: 
cytoscape/trunk/coreplugins/ManualLayout/src/main/java/ManualLayout/ManualLayoutPlugin.java
===================================================================
--- 
cytoscape/trunk/coreplugins/ManualLayout/src/main/java/ManualLayout/ManualLayoutPlugin.java
 2011-07-21 12:55:43 UTC (rev 26228)
+++ 
cytoscape/trunk/coreplugins/ManualLayout/src/main/java/ManualLayout/ManualLayoutPlugin.java
 2011-07-21 13:38:58 UTC (rev 26229)
@@ -72,15 +72,15 @@
                ControlPanel controlPanel = new ControlPanel();
 
                // add them to the cytopanel
+               Cytoscape.getDesktop().getCytoPanel(SwingConstants.SOUTH_WEST)
+                        .add("Align and Distribute", controlPanel);
                
Cytoscape.getDesktop().getCytoPanel(SwingConstants.SOUTH_WEST).add("Rotate", 
rotatePanel);
                
Cytoscape.getDesktop().getCytoPanel(SwingConstants.SOUTH_WEST).add("Scale", 
scalePanel);
-               Cytoscape.getDesktop().getCytoPanel(SwingConstants.SOUTH_WEST)
-                        .add("Align and Distribute", controlPanel);
 
                // create the actions
-               Cytoscape.getDesktop().getCyMenus().addAction( new 
RotatePanelAction(), 0);
-               Cytoscape.getDesktop().getCyMenus().addAction( new 
ScalePanelAction(), 1);
-               Cytoscape.getDesktop().getCyMenus().addAction( new 
ControlPanelAction(), 2);
+               Cytoscape.getDesktop().getCyMenus().addAction( new 
ControlPanelAction(), 0);
+               Cytoscape.getDesktop().getCyMenus().addAction( new 
RotatePanelAction(), 1);
+               Cytoscape.getDesktop().getCyMenus().addAction( new 
ScalePanelAction(), 2);
 
        }
 }

-- 
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