chooseTreeDb();
}
+ @Override
+ protected void loadTreeBaseStudy_actionPerformed(ActionEvent e)
+ {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ protected void loadTreeOfLife_actionPerformed(ActionEvent e)
+ {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ protected void loadTreeFam_actionPerformed(ActionEvent e)
+ {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ protected void loadTreePfam_actionPerformed(ActionEvent e)
+ {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ protected void loadTreeBase_actionPerformed(ActionEvent e)
+ {
+ // TODO Auto-generated method stub
+
+ }
+
public void chooseTreeFile()
{
// Pick the tree file
public void chooseTreeUrl()
{
-
JLabel label = new JLabel(
MessageManager.getString("label.tree_url_example"));
// add "example" button
}
});
- JMenuItem loadTreeDb = new JMenuItem(
- MessageManager.getString("label.from_database"));
- loadTreeDb.addActionListener(new ActionListener()
+
+
+ JMenuItem loadTreeBaseStudy = new JMenuItem(
+ MessageManager.getString("treebase study"));
+ loadTreeBaseStudy.addActionListener(new ActionListener()
+ {
+
+ @Override
+ public void actionPerformed(ActionEvent e)
+ {
+ loadTreeBaseStudy_actionPerformed(e);
+
+ } });
+
+
+
+ JMenuItem loadTreeBase = new JMenuItem(
+ MessageManager.getString("treebase"));
+ loadTreeBase.addActionListener(new ActionListener()
+ {
+
+ @Override
+ public void actionPerformed(ActionEvent e)
+ {
+ loadTreeBase_actionPerformed(e);
+
+ }
+
+
+ });
+ JMenuItem loadTreePfam = new JMenuItem(
+ MessageManager.getString("pfam"));
+ loadTreePfam.addActionListener(new ActionListener()
+ {
+
+ @Override
+ public void actionPerformed(ActionEvent e)
+ {
+ loadTreePfam_actionPerformed(e);
+
+ }
+
+ });
+ JMenuItem loadTreeFam = new JMenuItem(
+ MessageManager.getString("treefam"));
+ loadTreeFam.addActionListener(new ActionListener()
+ {
+
+ @Override
+ public void actionPerformed(ActionEvent e)
+ {
+ loadTreeFam_actionPerformed(e);
+
+ }
+
+ });
+
+ JMenuItem loadTreeOfLife = new JMenuItem(
+ MessageManager.getString("tree_of_life"));
+ loadTreeOfLife.addActionListener(new ActionListener()
{
+
@Override
public void actionPerformed(ActionEvent e)
{
- loadTreeDbItem_actionPerformed(e);
+ loadTreeOfLife_actionPerformed(e);
+
}
+
+
});
scaleAbove.setVisible(false);
JMenu exportImageMenu = new JMenu(
MessageManager.getString("label.export_image"));
+
+ JMenu loadTreeDb = new JMenu(
+ MessageManager.getString("label.from_database"));
+
JMenu loadTreeMenu = new JMenu(
MessageManager.getString("label.load_associated_tree"));
// loadTreeMenu.setToolTipText(
JMenu fileMenu = new JMenu(MessageManager.getString("action.file"));
+ loadTreeDb.add(loadTreeBaseStudy);
+ loadTreeDb.add(loadTreeBase);
+ loadTreeDb.add(loadTreePfam);
+ loadTreeDb.add(loadTreeFam);
+ loadTreeDb.add(loadTreeOfLife);
+
loadTreeMenu.add(loadTreeFile);
loadTreeMenu.add(loadTreeUrl);
loadTreeMenu.add(loadTreeDb);
}
+ protected void loadTreeOfLife_actionPerformed(ActionEvent e)
+ {
+ // TODO Auto-generated method stub
+
+ }
+
+ protected void loadTreeFam_actionPerformed(ActionEvent e)
+ {
+ // TODO Auto-generated method stub
+
+ }
+
+ protected void loadTreePfam_actionPerformed(ActionEvent e)
+ {
+ // TODO Auto-generated method stub
+
+ }
+
+ protected void loadTreeBase_actionPerformed(ActionEvent e)
+ {
+ // TODO Auto-generated method stub
+
+ }
+
+ protected void loadTreeBaseStudy_actionPerformed(ActionEvent e)
+ {
+ // TODO Auto-generated method stub
+
+ }
+
/**
* Constructs the entries on the Colour menu (but does not add them to the
* menu).