import jalview.ext.treeviewer.TreeFrameI;
import jalview.ext.treeviewer.TreeI;
import jalview.ext.treeviewer.TreePanelI;
+import jalview.ext.treeviewer.TreeViewerBindingI;
import jalview.ext.treeviewer.TreeViewerUtils;
import jalview.gui.Desktop;
import jalview.gui.EPSOptions;
{
private final MainFrame aptxFrame;
+
+
private TreePanelI aptxPanel;
private TreeControlsI aptxControls;
"Filter alignment to show only currently visible sequences");
refreshJalview.setFont(menu.getFont());
- refreshJalview.addActionListener(
- TreeViewerUtils.getActiveTreeViews().get(this));
+ refreshJalview.addActionListener(new ActionListener() {
+
+ @Override
+ public void actionPerformed(ActionEvent e) {
+ TreeViewerBindingI bindingManager = TreeViewerUtils
+ .getActiveTreeViews().get(AptxFrame.this);
+ bindingManager.actionPerformed(e);
+ }
+ });
+
sortByTree.addActionListener(new ActionListener()
{
@Override
public void actionPerformed(ActionEvent e)
{
- TreeViewerUtils.getActiveTreeViews().get(AptxFrame.this)
- .sortByTree_actionPerformed();
+ TreeViewerBindingI bindingManager = TreeViewerUtils
+ .getActiveTreeViews().get(AptxFrame.this);
+ bindingManager.sortByTree_actionPerformed();
}