{
tree.writeToXml(new File("word"));
copyFileToJar(jout, "word", tree.getTreeName());
+ jms.addExtTreeViewer(treeView);
+
} catch (IOException e)
{
// TODO Auto-generated catch block
}
+
// SAVE ANNOTATIONS
/**
* store forward refs from an annotationRow to any groups
if (loadTreesAndStructures)
{
loadTrees(jms, view, af, av, ap);
+ loadExternalTrees(jprovider, jms, av);
loadPDBStructures(jprovider, jseqs, af, ap);
loadRnaViewers(jprovider, jseqs, ap);
}
// and finally return.
return af;
}
+
+ private void loadExternalTrees(jarInputStreamProvider jprovider,
+ JalviewModelSequence jms, AlignViewport av)
+ {
+ for (TreeFrameI externalTreeViewer: jms.getExtTreeViewer()) {
+ // String treeFile = copyJarEntry(jprovider, errorMessage, "aptx", null);
+ TreeViewerUtils.addTreeViewFrameToJalview(externalTreeViewer);
+
+ }
+
+ }
+
+
/**
* Instantiate and link any saved RNA (Varna) viewers. The state of the Varna