Package org.gvt.model.biopaxl2

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


      assert graph.getName().equals(tab.getText()) :
        "graph name: " + graph.getName() + " tab name: " + tab.getText();

      if (rememberLayout && graph.isMechanistic())
      {
        graph.recordLayout();
      }
    }
    boolean removed = openTabNames.remove(tab.getText());

    assert removed : "tab name: " + tab.getText();
View Full Code Here


      assert graph.getName().equals(tab.getText()) :
        "graph name: " + graph.getName() + " tab name: " + tab.getText();

      if (rememberLayout && graph.isMechanistic())
      {
        graph.recordLayout();
      }
    }
    boolean removed = openTabNames.remove(tab.getText());

    assert removed : "tab name: " + tab.getText();
View Full Code Here

          "Duplication is supported only in mechanistic views.");

        return;
      }

      original.recordLayout();
      pathway p = original.getPathway();
      BioPAXGraph graph = main.getRootGraph().excise(p);
      graph.setPathway(null);

      String name = p.getNAME();
View Full Code Here

    BioPAXGraph excised = graph.excise(cropto, true);
    excised.setName(graph.getName() + " cropped");

    main.createNewTab(excised);
    new CoSELayoutAction(main).run();
    excised.recordLayout();
  }
}
View Full Code Here

    hLayer.highlighted.clear();

    viewer.deselectAll();

    // Record layout
    graph.recordLayout();

    // Create updated graph
    pathway p = graph.getPathway();
    BioPAXGraph newGraph = main.getRootGraph().excise(p);
    newGraph.setName(p.getNAME());
View Full Code Here

      for (ScrollingGraphicalViewer viewer : main.getTabToViewerMap().values())
      {
        BioPAXGraph graph = (BioPAXGraph) viewer.getContents().getModel();
        if (graph.isMechanistic())
        {
          graph.recordLayout();
        }
      }

      JenaIOHandler jenaIOHandler = main.getJenaIOHandler();
View Full Code Here

    hLayer.highlighted.clear();

    viewer.deselectAll();

    // Record layout
    graph.recordLayout();

    // Create updated graph
    pathway p = graph.getPathway();

    // Update pathway components if update needed
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.