Fetch Sequence Features menu added
authoramwaterhouse <Andrew Waterhouse>
Thu, 16 Feb 2006 15:45:36 +0000 (15:45 +0000)
committeramwaterhouse <Andrew Waterhouse>
Thu, 16 Feb 2006 15:45:36 +0000 (15:45 +0000)
src/jalview/jbgui/GAlignFrame.java

index 8c29d96..74859c1 100755 (executable)
@@ -86,7 +86,7 @@ public class GAlignFrame
   JMenuItem findMenuItem = new JMenuItem();\r
   JMenu searchMenu = new JMenu();\r
   public JCheckBoxMenuItem abovePIDThreshold = new JCheckBoxMenuItem();\r
-  public JCheckBoxMenuItem sequenceFeatures = new JCheckBoxMenuItem();\r
+  public JCheckBoxMenuItem showSeqFeatures = new JCheckBoxMenuItem();\r
   protected JRadioButtonMenuItem nucleotideColour = new JRadioButtonMenuItem();\r
   JMenuItem deleteGroups = new JMenuItem();\r
   JMenuItem delete = new JMenuItem();\r
@@ -119,6 +119,7 @@ public class GAlignFrame
   JMenuItem fetchSequence = new JMenuItem();\r
   protected JCheckBoxMenuItem smoothFont = new JCheckBoxMenuItem();\r
   JMenuItem annotationColour = new JMenuItem();\r
+  JMenuItem fetchSeqFeatures = new JMenuItem();\r
 \r
   public GAlignFrame()\r
   {\r
@@ -709,12 +710,12 @@ public class GAlignFrame
         abovePIDThreshold_actionPerformed(e);\r
       }\r
     });\r
-    sequenceFeatures.setText("Sequence Features");\r
-    sequenceFeatures.addActionListener(new ActionListener()\r
+    showSeqFeatures.setText("Show Sequence Features");\r
+    showSeqFeatures.addActionListener(new ActionListener()\r
     {\r
       public void actionPerformed(ActionEvent actionEvent)\r
       {\r
-        sequenceFeatures_actionPerformed(actionEvent);\r
+        showSeqFeatures_actionPerformed(actionEvent);\r
       }\r
     });\r
     nucleotideColour.setText("Nucleotide");\r
@@ -924,7 +925,6 @@ public class GAlignFrame
             tabSelected();\r
           }\r
         });*/\r
-    featureSettings.setEnabled(false);\r
     featureSettings.setText("Feature Settings...");\r
     featureSettings.addActionListener(new ActionListener()\r
     {\r
@@ -958,6 +958,14 @@ public class GAlignFrame
         annotationColour_actionPerformed(e);\r
       }\r
     });\r
+    fetchSeqFeatures.setText("Fetch Sequence Features");\r
+    fetchSeqFeatures.addActionListener(new ActionListener()\r
+    {\r
+      public void actionPerformed(ActionEvent e)\r
+      {\r
+        fetchSeqFeatures_actionPerformed(e);\r
+      }\r
+    });\r
     alignFrameMenuBar.add(fileMenu);\r
     alignFrameMenuBar.add(editMenu);\r
     alignFrameMenuBar.add(searchMenu);\r
@@ -1009,13 +1017,13 @@ public class GAlignFrame
     viewMenu.add(renderGapsMenuItem);\r
     viewMenu.add(annotationPanelMenuItem);\r
     viewMenu.addSeparator();\r
-    viewMenu.add(sequenceFeatures);\r
+    viewMenu.add(fetchSeqFeatures);\r
+    viewMenu.add(showSeqFeatures);\r
     viewMenu.add(featureSettings);\r
     viewMenu.addSeparator();\r
     viewMenu.add(overviewMenuItem);\r
     colourMenu.add(applyToAllGroups);\r
     colourMenu.addSeparator();\r
-    colourMenu.add(annotationColour);\r
     colourMenu.add(noColourmenuItem);\r
     colourMenu.add(clustalColour);\r
     colourMenu.add(BLOSUM62Colour);\r
@@ -1030,11 +1038,11 @@ public class GAlignFrame
     colourMenu.add(nucleotideColour);\r
     colourMenu.add(userDefinedColour);\r
     colourMenu.addSeparator();\r
+    colourMenu.add(annotationColour);\r
     colourMenu.add(conservationMenuItem);\r
     colourMenu.add(modifyConservation);\r
     colourMenu.add(abovePIDThreshold);\r
     colourMenu.add(modifyPID);\r
-    colourMenu.addSeparator();\r
     calculateMenu.add(sort);\r
     calculateMenu.add(calculate);\r
     calculateMenu.addSeparator();\r
@@ -1240,7 +1248,7 @@ public class GAlignFrame
   {\r
   }\r
 \r
-  public void sequenceFeatures_actionPerformed(ActionEvent actionEvent)\r
+  public void showSeqFeatures_actionPerformed(ActionEvent actionEvent)\r
   {\r
   }\r
 \r
@@ -1376,4 +1384,9 @@ public class GAlignFrame
   {\r
 \r
   }\r
+\r
+  public void fetchSeqFeatures_actionPerformed(ActionEvent e)\r
+  {\r
+\r
+  }\r
 }\r