/*
- * Jalview - A Sequence Alignment Editor and Viewer (Version 2.4)
- * Copyright (C) 2008 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle
+ * Jalview - A Sequence Alignment Editor and Viewer (Development Version 2.4.1)
+ * Copyright (C) 2009 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
public JCheckBoxMenuItem colourTextMenuItem = new JCheckBoxMenuItem();
+ public JCheckBoxMenuItem showUnconservedMenuItem = new JCheckBoxMenuItem();
+
JMenuItem htmlMenuItem = new JMenuItem();
JMenuItem overviewMenuItem = new JMenuItem();
private JMenuItem justifyRightMenuItem=new JMenuItem();
+ protected JCheckBoxMenuItem showGroupConsensus=new JCheckBoxMenuItem();
+ protected JCheckBoxMenuItem showGroupConservation=new JCheckBoxMenuItem();
+
public GAlignFrame()
{
try
viewTextMenuItem_actionPerformed(e);
}
});
+ showUnconservedMenuItem.setText("Show Unconserved");
+ showUnconservedMenuItem.setState(false);
+ showUnconservedMenuItem.addActionListener(new java.awt.event.ActionListener()
+ {
+ public void actionPerformed(ActionEvent e)
+ {
+ showUnconservedMenuItem_actionPerformed(e);
+ }
+ });
sortPairwiseMenuItem.setText("by Pairwise Identity");
sortPairwiseMenuItem
.addActionListener(new java.awt.event.ActionListener()
}
});
+ showGroupConservation.setText("Group Conservation");
+ showGroupConservation.addActionListener(new ActionListener()
+ {
+
+ public void actionPerformed(ActionEvent e)
+ {
+ showGroupConservation_actionPerformed(e);
+ }
+
+ });
+
+ showGroupConsensus.setText("Group Consensus");
+ showGroupConsensus.addActionListener(new ActionListener()
+ {
+
+ public void actionPerformed(ActionEvent e)
+ {
+ showGroupConsensus_actionPerformed(e);
+ }
+
+ });
+
nucleotideColour.setText("Nucleotide");
nucleotideColour.addActionListener(new java.awt.event.ActionListener()
{
editMenu.add(removeAllGapsMenuItem);
editMenu.add(removeRedundancyMenuItem);
editMenu.addSeparator();
+ // dont add these yet in the CVS build - they cannot be undone!
editMenu.add(justifyLeftMenuItem);
editMenu.add(justifyRightMenuItem);
editMenu.addSeparator();
viewMenu.addSeparator();
viewMenu.add(followHighlightMenuItem);
viewMenu.add(annotationPanelMenuItem);
+ viewMenu.add(showGroupConservation);
+ viewMenu.add(showGroupConsensus);
viewMenu.addSeparator();
viewMenu.add(showSeqFeatures);
viewMenu.add(showSeqFeaturesHeight);
formatMenu.add(colourTextMenuItem);
formatMenu.add(renderGapsMenuItem);
formatMenu.add(centreColumnLabelsMenuItem);
+ formatMenu.add(showUnconservedMenuItem);
selectMenu.add(findMenuItem);
selectMenu.addSeparator();
selectMenu.add(selectAllSequenceMenuItem);
selectMenu.add(deleteGroups);
}
+ protected void showGroupConsensus_actionPerformed(ActionEvent e)
+ {
+ // TODO Auto-generated method stub
+
+ }
+
+ protected void showGroupConservation_actionPerformed(ActionEvent e)
+ {
+ // TODO Auto-generated method stub
+
+ }
+
+ protected void showUnconservedMenuItem_actionPerformed(ActionEvent e)
+ {
+ // TODO Auto-generated method stub
+
+ }
+
protected void showSeqFeaturesHeight_actionPerformed(
ActionEvent actionEvent)
{