From e0ed76db07254cca3d85ddc98b253ab61835d26e Mon Sep 17 00:00:00 2001 From: kjvdheide Date: Wed, 22 Nov 2017 19:04:54 +0000 Subject: [PATCH] JAL-2794 reworked, everything routes via avport.sendselection now --- src/jalview/ext/archaeopteryx/JalviewBinding.java | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/src/jalview/ext/archaeopteryx/JalviewBinding.java b/src/jalview/ext/archaeopteryx/JalviewBinding.java index d2072cc..4cee6ea 100644 --- a/src/jalview/ext/archaeopteryx/JalviewBinding.java +++ b/src/jalview/ext/archaeopteryx/JalviewBinding.java @@ -143,7 +143,6 @@ public final class JalviewBinding // IS NOT pressed { parentAvport.setSelectionGroup(null); - treeView.setFoundNodes0(null); } showNodeSelectionOnAlign(node); @@ -202,7 +201,7 @@ public final class JalviewBinding } } - PaintRefresher.Refresh(treeView, parentAvport.getSequenceSetId()); + treeView.repaint(); } @@ -241,10 +240,6 @@ public final class JalviewBinding @Override public void showNodeSelectionOnAlign(final PhylogenyNode node) { - if (treeView.getFoundNodes0() == null) - { - treeView.setFoundNodes0(new HashSet()); - } if (node.isInternal()) { @@ -255,8 +250,7 @@ public final class JalviewBinding { showMatchingSequence(node); } - treeView.repaint(); - PaintRefresher.Refresh(treeView, parentAvport.getSequenceSetId()); + } @@ -272,7 +266,7 @@ public final class JalviewBinding long nodeId = nodeToMatch.getId(); addOrRemoveInSet(treeView.getFoundNodes0(), nodeId); treeSelectionChanged(matchingSequence); - // parentAvport.sendSelection(); // this shouldn't be needed + parentAvport.sendSelection(); } } @@ -299,7 +293,7 @@ public final class JalviewBinding } } - // parentAvport.sendSelection(); // this shouldn't be needed + parentAvport.sendSelection(); } -- 1.7.10.2