formatting
[jalview.git] / src / jalview / jbgui / GAlignFrame.java
index 6c1c8c6..c64568a 100755 (executable)
@@ -143,8 +143,7 @@ public class GAlignFrame extends JInternalFrame
   // JRadioButtonMenuItem();
 
   protected JRadioButtonMenuItem tcoffeeColour = new JRadioButtonMenuItem();
-  
+
   JMenuItem njTreeBlosumMenuItem = new JMenuItem();
 
   JMenuItem avDistanceTreeBlosumMenuItem = new JMenuItem();
@@ -206,7 +205,7 @@ public class GAlignFrame extends JInternalFrame
   JMenuItem epsFile = new JMenuItem();
 
   JMenuItem LoadtreeMenuItem = new JMenuItem();
-  
+
   public JCheckBoxMenuItem scaleAbove = new JCheckBoxMenuItem();
 
   public JCheckBoxMenuItem scaleLeft = new JCheckBoxMenuItem();
@@ -523,10 +522,10 @@ public class GAlignFrame extends JInternalFrame
         nucleotideColour.setSelected(true);
 
         break;
-        
+
       case ColourSchemeProperty.TCOFFEE:
-       tcoffeeColour.setSelected(true);
-       break;
+        tcoffeeColour.setSelected(true);
+        break;
 
       case ColourSchemeProperty.PURINEPYRIMIDINE:
         purinePyrimidineColour.setSelected(true);
@@ -1176,18 +1175,19 @@ public class GAlignFrame extends JInternalFrame
         nucleotideColour_actionPerformed(e);
       }
     });
-    
+
     tcoffeeColour.setText("T-Coffee scores");
     tcoffeeColour.setEnabled(false);
-    tcoffeeColour.addActionListener( new ActionListener() {
-               
-               @Override
-               public void actionPerformed(ActionEvent e) {
-                       tcoffeeColorScheme_actionPerformed(e);
-               }
-       } );
-    
-    
+    tcoffeeColour.addActionListener(new ActionListener()
+    {
+
+      @Override
+      public void actionPerformed(ActionEvent e)
+      {
+        tcoffeeColorScheme_actionPerformed(e);
+      }
+    });
+
     deleteGroups.setText("Undefine groups");
     deleteGroups.setAccelerator(javax.swing.KeyStroke.getKeyStroke(
             java.awt.event.KeyEvent.VK_U, Toolkit.getDefaultToolkit()
@@ -1300,7 +1300,7 @@ public class GAlignFrame extends JInternalFrame
       }
     });
     LoadtreeMenuItem.setActionCommand("Load a tree for this sequence set");
-    LoadtreeMenuItem.setText("Load Associated Tree"); 
+    LoadtreeMenuItem.setText("Load Associated Tree");
     LoadtreeMenuItem.addActionListener(new java.awt.event.ActionListener()
     {
       public void actionPerformed(ActionEvent e)
@@ -1308,7 +1308,7 @@ public class GAlignFrame extends JInternalFrame
         LoadtreeMenuItem_actionPerformed(e);
       }
     });
-    
+
     scaleAbove.setVisible(false);
     scaleAbove.setText("Scale Above");
     scaleAbove.addActionListener(new java.awt.event.ActionListener()
@@ -1517,9 +1517,10 @@ public class GAlignFrame extends JInternalFrame
       }
     });
     sortByTree.setText("Sort Alignment With New Tree");
-    sortByTree.setToolTipText("<html>Enable this to automatically sort<br>the alignment when you open<br> a new tree.");
-    sortByTree.setState(jalview.bin.Cache.getDefault(
-            "SORT_BY_TREE", false));
+    sortByTree
+            .setToolTipText("<html>Enable this to automatically sort<br>the alignment when you open<br> a new tree.");
+    sortByTree
+            .setState(jalview.bin.Cache.getDefault("SORT_BY_TREE", false));
     sortByTree.addActionListener(new ActionListener()
     {
       public void actionPerformed(ActionEvent e)
@@ -1529,8 +1530,9 @@ public class GAlignFrame extends JInternalFrame
     });
 
     listenToViewSelections.setText("Listen for selections");
-    listenToViewSelections.setToolTipText("<html>When selected, selections in this view will mirror<br>selections made on the same sequences in other views.");
-    listenToViewSelections.setState(false); 
+    listenToViewSelections
+            .setToolTipText("<html>When selected, selections in this view will mirror<br>selections made on the same sequences in other views.");
+    listenToViewSelections.setState(false);
     listenToViewSelections.addActionListener(new ActionListener()
     {
       public void actionPerformed(ActionEvent e)
@@ -1946,21 +1948,22 @@ public class GAlignFrame extends JInternalFrame
     selectMenu.add(invertColSel);
     selectMenu.add(deleteGroups);
     selectMenu.add(grpsFromSelection);
-    // TODO - determine if the listenToViewSelections button is needed : see bug JAL-574
-    //selectMenu.addSeparator();
-    //selectMenu.add(listenToViewSelections);
+    // TODO - determine if the listenToViewSelections button is needed : see bug
+    // JAL-574
+    // selectMenu.addSeparator();
+    // selectMenu.add(listenToViewSelections);
   }
 
   protected void normaliseSequenceLogo_actionPerformed(ActionEvent e)
   {
     // TODO Auto-generated method stub
-    
+
   }
 
   protected void listenToViewSelections_actionPerformed(ActionEvent e)
   {
     // TODO Auto-generated method stub
-    
+
   }
 
   protected void showAllhidden_actionPerformed(ActionEvent e)
@@ -2354,30 +2357,32 @@ public class GAlignFrame extends JInternalFrame
   {
 
   }
-  
+
   /**
-   * Template method to handle the 'load T-Coffee scores' menu event. 
+   * Template method to handle the 'load T-Coffee scores' menu event.
    * <p>
    * Subclasses override this method to provide a custom action.
-   *  
-   * @param event The raised event
+   * 
+   * @param event
+   *          The raised event
    */
-  protected void loadScores_actionPerformed(ActionEvent event) {
-          
+  protected void loadScores_actionPerformed(ActionEvent event)
+  {
+
   }
-  
 
   /**
-   * Template method to handle the 'Color T-Coffee scores' menu event. 
+   * Template method to handle the 'Color T-Coffee scores' menu event.
    * <p>
    * Subclasses override this method to provide a custom action.
-   *  
-   * @param event The raised event
+   * 
+   * @param event
+   *          The raised event
    */
-  protected void tcoffeeColorScheme_actionPerformed(ActionEvent event) {
-         
+  protected void tcoffeeColorScheme_actionPerformed(ActionEvent event)
+  {
+
   }
-  
 
   protected void jpred_actionPerformed(ActionEvent e)
   {