getalignment method added
authoramwaterhouse <Andrew Waterhouse>
Fri, 7 Oct 2005 10:24:23 +0000 (10:24 +0000)
committeramwaterhouse <Andrew Waterhouse>
Fri, 7 Oct 2005 10:24:23 +0000 (10:24 +0000)
src/jalview/gui/TreePanel.java

index 1d197c3..04be0fd 100755 (executable)
@@ -93,6 +93,11 @@ public class TreePanel extends GTreePanel
       initTreePanel(av, seqVector, type, pwtype, 0, seqVector.size(), newtree);\r
     }\r
 \r
+    public AlignmentI getAlignment()\r
+    {\r
+      return treeCanvas.av.getAlignment();\r
+    }\r
+\r
 \r
     void initTreePanel(AlignViewport av, Vector seqVector, String type,\r
                        String pwtype, int s, int e, NewickFile newTree)\r