// IS NOT pressed
{
parentAvport.setSelectionGroup(null);
- treeView.setFoundNodes0(null);
}
showNodeSelectionOnAlign(node);
}
}
- PaintRefresher.Refresh(treeView, parentAvport.getSequenceSetId());
+ treeView.repaint();
}
@Override
public void showNodeSelectionOnAlign(final PhylogenyNode node)
{
- if (treeView.getFoundNodes0() == null)
- {
- treeView.setFoundNodes0(new HashSet<Long>());
- }
if (node.isInternal())
{
{
showMatchingSequence(node);
}
- treeView.repaint();
- PaintRefresher.Refresh(treeView, parentAvport.getSequenceSetId());
+
}
long nodeId = nodeToMatch.getId();
addOrRemoveInSet(treeView.getFoundNodes0(), nodeId);
treeSelectionChanged(matchingSequence);
- // parentAvport.sendSelection(); // this shouldn't be needed
+ parentAvport.sendSelection();
}
}
}
}
- // parentAvport.sendSelection(); // this shouldn't be needed
+ parentAvport.sendSelection();
}