protected JMenuItem sortPairwiseMenuItem = new JMenuItem();
protected JMenuItem sortIDMenuItem = new JMenuItem();
protected JMenuItem sortGroupMenuItem = new JMenuItem();
- protected JMenuItem sortTreeOrderMenuItem = new JMenuItem();
protected JMenuItem removeRedundancyMenuItem = new JMenuItem();
protected JMenuItem pairwiseAlignmentMenuItem = new JMenuItem();
protected JMenuItem PCAMenuItem = new JMenuItem();
protected JCheckBoxMenuItem scaleAbove = new JCheckBoxMenuItem();
protected JCheckBoxMenuItem scaleLeft = new JCheckBoxMenuItem();
protected JCheckBoxMenuItem scaleRight = new JCheckBoxMenuItem();
+ JMenuItem modifyPID = new JMenuItem();
+ JMenuItem modifyConservation = new JMenuItem();
+ protected JMenu sortByTreeMenu = new JMenu();
public GAlignFrame()
{
sortGroupMenuItem_actionPerformed(e);
}
});
- sortTreeOrderMenuItem.setText("Sort by tree order");
- sortTreeOrderMenuItem.addActionListener(new java.awt.event.ActionListener()
- {
- public void actionPerformed(ActionEvent e)
- {
- sortTreeOrderMenuItem_actionPerformed(e);
- }
- });
removeRedundancyMenuItem.setText("Remove redundancy");
removeRedundancyMenuItem.addActionListener(new java.awt.event.ActionListener()
{
scaleRight_actionPerformed(e);
}
});
+ modifyPID.setText("Modify PID Threshold");
+ modifyPID.addActionListener(new java.awt.event.ActionListener()
+ {
+ public void actionPerformed(ActionEvent e)
+ {
+ modifyPID_actionPerformed(e);
+ }
+ });
+ modifyConservation.setText("Modify Conservation Threshold");
+ modifyConservation.addActionListener(new java.awt.event.ActionListener()
+ {
+ public void actionPerformed(ActionEvent e)
+ {
+ modifyConservation_actionPerformed(e);
+ }
+ });
+ sortByTreeMenu.setText("Sort by tree order");
alignFrameMenuBar.add(fileMenu);
alignFrameMenuBar.add(editMenu);
alignFrameMenuBar.add(searchMenu);
colourMenu.add(PIDColour);
colourMenu.add(BLOSUM62Colour);
colourMenu.addSeparator();
- colourMenu.add(abovePIDThreshold);
colourMenu.add(conservationMenuItem);
+ colourMenu.add(modifyConservation);
+ colourMenu.add(abovePIDThreshold);
+ colourMenu.add(modifyPID);
calculateMenu.add(sortPairwiseMenuItem);
calculateMenu.add(sortIDMenuItem);
calculateMenu.add(sortGroupMenuItem);
- calculateMenu.add(sortTreeOrderMenuItem);
+ calculateMenu.add(sortByTreeMenu);
calculateMenu.add(removeRedundancyMenuItem);
calculateMenu.addSeparator();
calculateMenu.add(pairwiseAlignmentMenuItem);
}
- protected void sortTreeOrderMenuItem_actionPerformed(ActionEvent e)
- {
-
- }
protected void removeRedundancyMenuItem_actionPerformed(ActionEvent e)
{
}
+ protected void modifyPID_actionPerformed(ActionEvent e)
+ {
+
+ }
+
+ protected void modifyConservation_actionPerformed(ActionEvent e)
+ {
+
+ }
+
+
}