JAL-4392 Merging consensus secondary structure
[jalview.git] / src / jalview / jbgui / GAlignFrame.java
index 7daeb37..da35bd4 100755 (executable)
@@ -198,7 +198,9 @@ public class GAlignFrame extends JInternalFrame
 
   protected JCheckBoxMenuItem showGroupConservation = new JCheckBoxMenuItem();
 
-  protected JCheckBoxMenuItem showConsensusHistogram = new JCheckBoxMenuItem();
+  protected JCheckBoxMenuItem showConsensusHistogram = new JCheckBoxMenuItem();  
+
+  protected JCheckBoxMenuItem showSSConsensusHistogram = new JCheckBoxMenuItem();
 
   protected JCheckBoxMenuItem showSequenceLogo = new JCheckBoxMenuItem();
 
@@ -873,6 +875,18 @@ public class GAlignFrame extends JInternalFrame
         showConsensusHistogram_actionPerformed(e);
       }
 
+    });    
+    showSSConsensusHistogram.setText(
+            MessageManager.getString("label.show_ssconsensus_histogram"));
+    showSSConsensusHistogram.addActionListener(new ActionListener()
+    {
+
+      @Override
+      public void actionPerformed(ActionEvent e)
+      {
+        showConsensusHistogram_actionPerformed(e);
+      }
+
     });
     showSequenceLogo
             .setText(MessageManager.getString("label.show_consensus_logo"));
@@ -1890,6 +1904,7 @@ public class GAlignFrame extends JInternalFrame
     autoAnnMenu.addSeparator();
     autoAnnMenu.add(applyAutoAnnotationSettings);
     autoAnnMenu.add(showConsensusHistogram);
+    autoAnnMenu.add(showSSConsensusHistogram);
     autoAnnMenu.add(showSequenceLogo);
     autoAnnMenu.add(normaliseSequenceLogo);
     autoAnnMenu.addSeparator();
@@ -2224,6 +2239,12 @@ public class GAlignFrame extends JInternalFrame
     // TODO Auto-generated method stub
 
   }
+  
+  protected void showSSConsensusHistogram_actionPerformed(ActionEvent e)
+  {
+    // TODO Auto-generated method stub
+
+  }
 
   protected void showSequenceLogo_actionPerformed(ActionEvent e)
   {