Examples of fetchLayout()


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

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

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

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

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

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

        }
      }

      graph.setName(name);
      main.createNewTab(graph);
      graph.fetchLayout(original.getPathwayRDFID());
    }
  }
}
View Full Code Here

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

        }
      }

      graph.setName(name);
      main.createNewTab(graph);
      graph.fetchLayout(p.getRDFId());
    }
  }
}
View Full Code Here

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

  private void openPathwayInTab(pathway 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

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

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

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

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

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

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

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

    if (!layedout)
    {
      new CoSELayoutAction(main).run();
    }
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.