package jalview.ext.forester.io;
+import jalview.ext.archaeopteryx.AptxBinding;
+import jalview.ext.archaeopteryx.AptxNodeAssociation;
import jalview.ext.archaeopteryx.ArchaeopteryxInit;
import jalview.gui.Desktop;
import jalview.gui.JvOptionPane;
String[] AptxArgs = new String[] { "-c",
"_aptx_jalview_configuration_file", filePath };
MainFrame aptx = Archaeopteryx.main(AptxArgs);
+
+ AptxNodeAssociation bindAptxNodes = new AptxNodeAssociation(
+ viewport.getAlignment().getSequencesArray(),
+ aptx.getMainPanel().getCurrentTreePanel().getPhylogeny());
+
+ bindAptxNodes.associateLeavesToSequences();
+ new AptxBinding(aptx, viewport, bindAptxNodes.getAlignmentWithNodes(),
+ bindAptxNodes.getNodesWithAlignment());
+
ArchaeopteryxInit.bindFrameToJalview(aptx);
+
return aptx;