Package org.gvt.model

Examples of org.gvt.model.BioPAXGraph.fetchLayout()


  private void openPathwayInTab(PathwayHolder p)
  {
    assert p != null;

    BioPAXGraph graph = main.getRootGraph().excise(p);
    boolean layedout = graph.fetchLayout();
    CTabItem tab = main.createNewTab(graph);

    if (refsToHighlight != null && !refsToHighlight.isEmpty())
    {
      ScrollingGraphicalViewer viewer = main.getTabToViewerMap().get(tab);
View Full Code Here


    // Replace the graph
    viewer.setContents(newGraph);

    // Use same layout
    boolean layedout = newGraph.fetchLayout();

    if (!layedout)
    {
      new CoSELayoutAction(main).run();
    }
View Full Code Here

        }
      }

      graph.setName(name);
      main.createNewTab(graph);
      graph.fetchLayout(original.getPathwayRDFID());
    }
  }
}
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.