}
}
+ @Override
+ protected void loadTreeUrlItem_actionPerformed(ActionEvent e)
+ {
+
+ }
+
+ @Override
+ protected void loadTreeDbItem_actionPerformed(ActionEvent e)
+ {
+
+ }
+
public TreePanel showNewickTree(NewickFile nf, String treeTitle)
{
return showNewickTree(nf, treeTitle, 600, 500, 4, 5);
}
});
- JMenuItem loadTreeMenuItem = new JMenuItem(
+ JMenuItem loadTreeFile = new JMenuItem(
MessageManager.getString("label.from_file"));
// loadTreeMenuItem.setActionCommand(
// MessageManager.getString());
- loadTreeMenuItem.addActionListener(new ActionListener()
+ loadTreeFile.addActionListener(new ActionListener()
{
@Override
public void actionPerformed(ActionEvent e)
}
});
+ JMenuItem loadTreeUrl = new JMenuItem(
+ MessageManager.getString("label.from_url"));
+ loadTreeUrl.addActionListener(new ActionListener()
+ {
+ @Override
+ public void actionPerformed(ActionEvent e)
+ {
+ loadTreeUrlItem_actionPerformed(e);
+ }
+ });
+
+ JMenuItem loadTreeDb = new JMenuItem(
+ MessageManager.getString("FIX ME"));
+ loadTreeDb.addActionListener(new ActionListener()
+ {
+ @Override
+ public void actionPerformed(ActionEvent e)
+ {
+ loadTreeDbItem_actionPerformed(e);
+ }
+ });
+
scaleAbove.setVisible(false);
scaleAbove.setText(MessageManager.getString("action.scale_above"));
scaleAbove.addActionListener(new ActionListener()
JMenu fileMenu = new JMenu(MessageManager.getString("action.file"));
- loadTreeMenu.add(loadTreeMenuItem);
+ loadTreeMenu.add(loadTreeFile);
+ loadTreeMenu.add(loadTreeUrl);
+ loadTreeMenu.add(loadTreeDb);
alignFrameMenuBar.add(fileMenu);
alignFrameMenuBar.add(editMenu);
}
+ protected void loadTreeUrlItem_actionPerformed(ActionEvent e)
+ {
+
+ }
+
+ protected void loadTreeDbItem_actionPerformed(ActionEvent e)
+ {
+
+ }
+
/**
* Template method to handle the 'load T-Coffee scores' menu event.
* <p>