import jalview.datamodel.SequenceI;
/**
- * Note that this will take anything as a Tree object.
+ * Interface for associating the leaves of a loaded in (not calculated) tree to
+ * the alignment sequences in Jalview. Note that this will take anything as a
+ * Tree object as no assumptions can be made about the inheritance structure of
+ * Tree (besides being an Object).
*
* @author kjvanderheide
*
import java.util.Map;
/**
+ * Note that this will take anything as a Tree or TreeNode object as no
+ * assumptions can be made about the inheritance structure of Tree or TreeNode
+ * (besides being Objects).
*
* @author kjvanderheide
*
/**
*
* Interface for binding a tree viewer to Jalview alignments. Assumes a tree
- * viewer will both want to receive and send selection events.
+ * viewer will both want to receive and send selection events. Note that this
+ * will take anything as a TreeNode object as no assumptions can be made about
+ * the inheritance structure of the TreeNode (besides being an Object).
*
* @author kjvanderheide
*
package jalview.ext.forester.io;
+import jalview.viewmodel.AlignmentViewport;
+
import javax.swing.JInternalFrame;
/**
+ * Interface for loading in existing trees to an external tree viewer.
*
* @author kjvanderheide
*
*/
public interface ExternalTreeParserI<F extends JInternalFrame>
{
- public F loadTree();
+ public F loadTree(AlignmentViewport viewport);
}