git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2096047
)
set current tree once the tree is prepared
author
amwaterhouse
<Andrew Waterhouse>
Tue, 4 Apr 2006 09:38:11 +0000
(09:38 +0000)
committer
amwaterhouse
<Andrew Waterhouse>
Tue, 4 Apr 2006 09:38:11 +0000
(09:38 +0000)
src/jalview/appletgui/TreePanel.java
patch
|
blob
|
history
diff --git
a/src/jalview/appletgui/TreePanel.java
b/src/jalview/appletgui/TreePanel.java
index
61b0546
..
6d17918
100755
(executable)
--- a/
src/jalview/appletgui/TreePanel.java
+++ b/
src/jalview/appletgui/TreePanel.java
@@
-37,6
+37,7
@@
public class TreePanel extends Frame implements ActionListener, ItemListener
int end;
\r
TreeCanvas treeCanvas;
\r
NJTree tree;
\r
+ AlignViewport av;
\r
\r
public NJTree getTree()
\r
{
\r
@@
-99,6
+100,7
@@
public class TreePanel extends Frame implements ActionListener, ItemListener
String pwtype, int s, int e, NewickFile newTree)
\r
{
\r
\r
+ this.av = av;
\r
this.type = type;
\r
this.pwtype = pwtype;
\r
\r
@@
-149,6
+151,8
@@
public class TreePanel extends Frame implements ActionListener, ItemListener
\r
treeCanvas.repaint();
\r
\r
+ av.setCurrentTree(tree);
\r
+
\r
}
\r
}
\r
\r