Delete groups added, nucleotide color added
authoramwaterhouse <Andrew Waterhouse>
Fri, 21 Jan 2005 18:32:49 +0000 (18:32 +0000)
committeramwaterhouse <Andrew Waterhouse>
Fri, 21 Jan 2005 18:32:49 +0000 (18:32 +0000)
src/jalview/jbgui/GAlignFrame.java

index fa90a6e..43dc81f 100755 (executable)
@@ -82,6 +82,8 @@ public class GAlignFrame extends JInternalFrame
   JMenu searchMenu = new JMenu();\r
   protected JCheckBoxMenuItem abovePIDThreshold = new JCheckBoxMenuItem();\r
   protected JCheckBoxMenuItem secondaryStructure = new JCheckBoxMenuItem();\r
+  protected JRadioButtonMenuItem nucleotideColour = new JRadioButtonMenuItem();\r
+  JMenuItem deleteGroups = new JMenuItem();\r
   public GAlignFrame()\r
   {\r
     try\r
@@ -133,6 +135,7 @@ public class GAlignFrame extends JInternalFrame
     colours.add(userDefinedColour);\r
     colours.add(PIDColour);\r
     colours.add(BLOSUM62Colour);\r
+    colours.add(nucleotideColour);\r
   }\r
   private void jbInit() throws Exception\r
   {\r
@@ -607,6 +610,23 @@ public class GAlignFrame extends JInternalFrame
         secondaryStructure_actionPerformed(actionEvent);\r
       }\r
     });\r
+    nucleotideColour.setText("Nucleotide colours");\r
+    nucleotideColour.addActionListener(new java.awt.event.ActionListener()\r
+    {\r
+      public void actionPerformed(ActionEvent e)\r
+      {\r
+        nucleotideColour_actionPerformed(e);\r
+      }\r
+    });\r
+    deleteGroups.setSelected(false);\r
+    deleteGroups.setText("Delete all groups");\r
+    deleteGroups.addActionListener(new java.awt.event.ActionListener()\r
+    {\r
+      public void actionPerformed(ActionEvent e)\r
+      {\r
+        deleteGroups_actionPerformed(e);\r
+      }\r
+    });\r
     alignFrameMenuBar.add(fileMenu);\r
     alignFrameMenuBar.add(editMenu);\r
     alignFrameMenuBar.add(searchMenu);\r
@@ -624,6 +644,7 @@ public class GAlignFrame extends JInternalFrame
     editMenu.add(undoMenuItem);\r
     editMenu.add(redoMenuItem);\r
     editMenu.addSeparator();\r
+    editMenu.add(deleteGroups);\r
     editMenu.add(groupsMenuItem);\r
     editMenu.addSeparator();\r
     editMenu.add(selectAllSequenceMenuItem);\r
@@ -658,6 +679,7 @@ public class GAlignFrame extends JInternalFrame
     colourMenu.add(strandColour);\r
     colourMenu.add(turnColour);\r
     colourMenu.add(buriedColour);\r
+    colourMenu.add(nucleotideColour);\r
     colourMenu.add(userDefinedColour);\r
     colourMenu.add(PIDColour);\r
     colourMenu.add(BLOSUM62Colour);\r
@@ -989,4 +1011,16 @@ public class GAlignFrame extends JInternalFrame
   {\r
 \r
   }\r
+\r
+  protected void nucleotideColour_actionPerformed(ActionEvent e)\r
+  {\r
+\r
+  }\r
+\r
+  protected void deleteGroups_actionPerformed(ActionEvent e)\r
+  {\r
+\r
+  }\r
+\r
+\r
 }\r