import jalview.ext.treeviewer.TreeViewerUtils;
import jalview.gui.Desktop;
import jalview.gui.JvOptionPane;
-import jalview.io.NewickFile;
import jalview.util.MessageManager;
import jalview.viewmodel.AlignmentViewport;
private final static NHXParser.TAXONOMY_EXTRACTION TAXONOMY_EXTRACTION = APTX_CONFIG
.getTaxonomyExtraction();
- // public static TreeFrameI createInstanceFromCalculation(
- // final TreeBuilder calculatedTree)
- // {
- // TreeBuilderI aptxTreeBuilder = new AptxTreeBuilder(
- // calculatedTree);
- //
- // TreeI aptxTree = aptxTreeBuilder.buildTree();
- //
- // TreeFrameI aptxApp = createAptxFrame(aptxTree,
- // calculatedTree.getAvport(), null);
- //
- // return aptxApp;
- // }
public static TreeFrameI createInstanceFromNhx(String treeTitle,
String nhxString, AlignmentViewport viewport)
Desktop.instance.startLoading(treeTitle);
}
-
-
Phylogeny aptxPhylogeny = Phylogeny
.createInstanceFromNhxString(nhxString);
aptxPhylogeny.setName(treeTitle);
TreeFrameI aptxFrame = createAptxFrame(aptxPhylogeny, viewport,
treeTitle);
-
if (Desktop.instance != null)
{
Desktop.instance.stopLoading();
}
- public static TreeFrameI[] createInstancesFromFile(NewickFile newickFile,
- AlignmentViewport viewport)
- {
- return null;
- }
-
-
public static TreeFrameI[] createInstancesFromUrl(URL treeUrl,
AlignmentViewport viewport)
throws FileNotFoundException, IOException, RuntimeException