Examples of NxsDataSet


Examples of org.gumtree.data.soleil.NxsDataSet

  }

  private void createGumTreeTree(File file) throws FileAccessException {
    // IDataset dataset = Factory.openDataset(file.toURI());
    IDataset dataset = new NxsDataSet(file);
    try {
      dataset.open();
    }
    catch (IOException e) {
      // TODO Auto-generated catch block
      e.printStackTrace();
    }

    // Get the file root
    IGroup rootGroup = dataset.getRootGroup();

    GumTreeNode nodeRoot = (GumTreeNode) treeModel.getRoot();

    addGroupNode(nodeRoot, rootGroup);

    dataset.setTitle(file.getName());

    treeModel.reload();
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.