Merge branch 'Release_2_8_Branch' of https://source.jalview.org/git/jalview into...
[jalview.git] / src / jalview / jbgui / GStructureViewer.java
index 28d2c7a..874b0ed 100644 (file)
@@ -1,13 +1,13 @@
 /*
- * Jalview - A Sequence Alignment Editor and Viewer (Version 2.7)
- * Copyright (C) 2011 J Procter, AM Waterhouse, G Barton, M Clamp, S Searle
+ * Jalview - A Sequence Alignment Editor and Viewer (Version 2.8)
+ * Copyright (C) 2012 J Procter, AM Waterhouse, LM Lui, J Engelhardt, G Barton, M Clamp, S Searle
  * 
  * This file is part of Jalview.
  * 
  * Jalview is free software: you can redistribute it and/or
  * modify it under the terms of the GNU General Public License 
  * as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
- * 
+ *  
  * Jalview is distributed in the hope that it will be useful, but 
  * WITHOUT ANY WARRANTY; without even the implied warranty 
  * of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
@@ -164,6 +164,15 @@ public class GStructureViewer extends JInternalFrame
         buriedColour_actionPerformed(actionEvent);
       }
     });
+    purinePyrimidineColour.setText("Purine/Pyrimidine");
+    purinePyrimidineColour.addActionListener(new ActionListener()
+    {
+      public void actionPerformed(ActionEvent actionEvent)
+      {
+        purinePyrimidineColour_actionPerformed(actionEvent);
+      }
+    });
+
     userColour.setText("User Defined ...");
     userColour.addActionListener(new ActionListener()
     {
@@ -181,8 +190,7 @@ public class GStructureViewer extends JInternalFrame
       {
         jmolColour_actionPerformed(actionEvent);
       }
-    }
-    );
+    });
     helpMenu.setText("Help");
     jmolHelp.setText("Jmol Help");
     jmolHelp.addActionListener(new ActionListener()
@@ -224,6 +232,7 @@ public class GStructureViewer extends JInternalFrame
     colourMenu.add(strandColour);
     colourMenu.add(turnColour);
     colourMenu.add(buriedColour);
+    colourMenu.add(purinePyrimidineColour);
     colourMenu.add(userColour);
     colourMenu.add(jmolColour);
     colourMenu.add(backGround);
@@ -301,6 +310,8 @@ public class GStructureViewer extends JInternalFrame
 
   protected JRadioButtonMenuItem buriedColour = new JRadioButtonMenuItem();
 
+  protected JRadioButtonMenuItem purinePyrimidineColour = new JRadioButtonMenuItem();
+
   protected JRadioButtonMenuItem userColour = new JRadioButtonMenuItem();
 
   protected JRadioButtonMenuItem jmolColour = new JRadioButtonMenuItem();
@@ -381,6 +392,11 @@ public class GStructureViewer extends JInternalFrame
 
   }
 
+  public void purinePyrimidineColour_actionPerformed(ActionEvent actionEvent)
+  {
+
+  }
+
   public void userColour_actionPerformed(ActionEvent actionEvent)
   {