protected JMenu calculateMenu = new JMenu();\r
protected JMenu alignMenu = new JMenu();\r
protected JMenuItem groupsMenuItem = new JMenuItem();\r
- protected JCheckBoxMenuItem groupEditingMenuItem = new JCheckBoxMenuItem();\r
protected JMenuItem selectAllSequenceMenuItem = new JMenuItem();\r
protected JMenuItem deselectAllSequenceMenuItem = new JMenuItem();\r
protected JMenuItem invertSequenceMenuItem = new JMenuItem();\r
protected JRadioButtonMenuItem BLOSUM62Colour = new JRadioButtonMenuItem();\r
JMenuItem njTreeBlosumMenuItem = new JMenuItem();\r
JMenuItem avDistanceTreeBlosumMenuItem = new JMenuItem();\r
- protected JMenuItem conservationColourIncMenuItem = new JMenuItem();\r
protected JCheckBoxMenuItem consensusGraphMenuItem = new JCheckBoxMenuItem();\r
protected JCheckBoxMenuItem colourTextMenuItem = new JCheckBoxMenuItem();\r
JMenuItem htmlMenuItem = new JMenuItem();\r
protected JCheckBoxMenuItem renderGapsMenuItem = new JCheckBoxMenuItem();\r
JMenuItem findMenuItem = new JMenuItem();\r
JMenu searchMenu = new JMenu();\r
- protected JCheckBoxMenuItem modifyAlignmentMenuItem = new JCheckBoxMenuItem();\r
- JCheckBoxMenuItem abovePIDThreshold = new JCheckBoxMenuItem();\r
+ protected JCheckBoxMenuItem abovePIDThreshold = new JCheckBoxMenuItem();\r
public GAlignFrame()\r
{\r
try\r
groupsMenuItem_actionPerformed(e);\r
}\r
});\r
- groupEditingMenuItem.setText("Group editing mode");\r
- groupEditingMenuItem.addActionListener(new java.awt.event.ActionListener()\r
- {\r
- public void actionPerformed(ActionEvent e)\r
- {\r
- groupEditingMenuItem_actionPerformed(e);\r
- }\r
- });\r
selectAllSequenceMenuItem.setText("Select all sequences");\r
selectAllSequenceMenuItem.addActionListener(new java.awt.event.ActionListener()\r
{\r
statusBar.setText("Status bar");\r
outputTextboxMenu.setMnemonic('T');\r
outputTextboxMenu.setText("Output alignment via textbox");\r
- clustalColour.setEnabled(false);\r
clustalColour.setSelected(false);\r
clustalColour.setText("Clustalx colours");\r
clustalColour.addActionListener(new java.awt.event.ActionListener()\r
userDefinedColour_actionPerformed(e);\r
}\r
});\r
- PIDColour.setText("By PID");\r
+ PIDColour.setText("Percentage Identity");\r
PIDColour.addActionListener(new java.awt.event.ActionListener()\r
{\r
public void actionPerformed(ActionEvent e)\r
PIDColour_actionPerformed(e);\r
}\r
});\r
- BLOSUM62Colour.setText("By BLOSUM62 score");\r
+ BLOSUM62Colour.setText("BLOSUM62 score");\r
BLOSUM62Colour.addActionListener(new java.awt.event.ActionListener()\r
{\r
public void actionPerformed(ActionEvent e)\r
njTreeBlosumMenuItem_actionPerformed(e);\r
}\r
});\r
- conservationColourIncMenuItem.setEnabled(false);\r
- conservationColourIncMenuItem.setText("Conservation Colour Increment");\r
- conservationColourIncMenuItem.addActionListener(new java.awt.event.ActionListener()\r
- {\r
- public void actionPerformed(ActionEvent e)\r
- {\r
- conservationColourIncMenuItem_actionPerformed(e);\r
- }\r
- });\r
consensusGraphMenuItem.setActionCommand("");\r
consensusGraphMenuItem.setText("Consensus graph");\r
consensusGraphMenuItem.setState(true);\r
}\r
});\r
searchMenu.setText("Search");\r
- modifyAlignmentMenuItem.setText("Modify alignment");\r
- modifyAlignmentMenuItem.addActionListener(new java.awt.event.ActionListener()\r
- {\r
- public void actionPerformed(ActionEvent e)\r
- {\r
- modifyAlignmentMenuItem_actionPerformed(e);\r
+\r
+ abovePIDThreshold.setText("Above PID threshold");\r
+ abovePIDThreshold.addActionListener(new java.awt.event.ActionListener() {\r
+ public void actionPerformed(ActionEvent e) {\r
+ abovePIDThreshold_actionPerformed(e);\r
}\r
});\r
- abovePIDThreshold.setEnabled(false);\r
- abovePIDThreshold.setText("Above PID threshold");\r
alignFrameMenuBar.add(fileMenu);\r
alignFrameMenuBar.add(editMenu);\r
alignFrameMenuBar.add(searchMenu);\r
editMenu.add(undoMenuItem);\r
editMenu.add(redoMenuItem);\r
editMenu.addSeparator();\r
- editMenu.add(modifyAlignmentMenuItem);\r
editMenu.add(groupsMenuItem);\r
- editMenu.add(groupEditingMenuItem);\r
editMenu.addSeparator();\r
editMenu.add(selectAllSequenceMenuItem);\r
editMenu.add(deselectAllSequenceMenuItem);\r
colourMenu.add(turnColour);\r
colourMenu.add(buriedColour);\r
colourMenu.add(userDefinedColour);\r
- colourMenu.add(abovePIDThreshold);\r
- colourMenu.addSeparator();\r
- colourMenu.add(conservationMenuItem);\r
- colourMenu.add(conservationColourIncMenuItem);\r
- colourMenu.addSeparator();\r
-\r
colourMenu.add(PIDColour);\r
colourMenu.add(BLOSUM62Colour);\r
colourMenu.addSeparator();\r
+ colourMenu.add(abovePIDThreshold);\r
+ colourMenu.add(conservationMenuItem);\r
+ colourMenu.addSeparator();\r
colourMenu.add(schemeKeyMenuItem);\r
calculateMenu.add(sortPairwiseMenuItem);\r
calculateMenu.add(sortIDMenuItem);\r
\r
}\r
\r
- protected void groupEditingMenuItem_actionPerformed(ActionEvent e)\r
- {\r
-\r
- }\r
\r
protected void selectAllSequenceMenuItem_actionPerformed(ActionEvent e)\r
{\r
}\r
\r
\r
- protected void conservationColourIncMenuItem_actionPerformed(ActionEvent e)\r
- {\r
-\r
- }\r
-\r
-\r
-\r
\r
protected void userDefinedColour_actionPerformed(ActionEvent e)\r
{\r
\r
}\r
\r
- protected void modifyAlignmentMenuItem_actionPerformed(ActionEvent e)\r
- {\r
+\r
+ protected void abovePIDThreshold_actionPerformed(ActionEvent e) {\r
\r
}\r
\r