SequenceGroup sg = viewport.getSelectionGroup();
/* Decide if the selection is a column region */
- for (SequenceI _s : sg.getSequences())
+ for (SequenceI _s : sg.getSequences()) // port this to Archaeopteryx?
{
if (_s.getLength() < sg.getEndRes())
{
return treeCanvas.av;
}
+ /**
+ * Initialize a tree panel based on a calculated tree
+ *
+ * @param ap
+ * @param tree
+ */
void initTreePanel(AlignmentPanel ap, TreeModel tree)
{
buildTreeCanvas(ap);
tl.start();
}
+
+ /**
+ * Initialize a tree panel based on a loaded in tree file.
+ *
+ * @param ap
+ * @param loadedTree
+ * @param inputData
+ */
void initTreePanel(AlignmentPanel ap,
- NewickFile newTree, AlignmentView inputData)
+ NewickFile loadedTree, AlignmentView inputData)
{
buildTreeCanvas(ap);
- TreeLoader tl = new TreeLoader(newTree, inputData);
+ TreeLoader tl = new TreeLoader(loadedTree, inputData);
tl.start();
}