Examples of recordLayout()


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

    hLayer.highlighted.clear();

    viewer.deselectAll();

    // Record layout
    graph.recordLayout();

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

    // Update pathway components if update needed
View Full Code Here

Examples of org.gvt.model.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());
View Full Code Here

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

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

        return;
      }

      original.recordLayout();

      PathwayHolder p = original.getPathway();
      BioPAXGraph graph = main.getRootGraph().excise(p);
      graph.setPathway(null);
View Full Code Here

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

        if (o instanceof BioPAXGraph)
        {
          BioPAXGraph graph = (BioPAXGraph) o;
          if (graph.isMechanistic())
          {
            graph.recordLayout();
          }
        }
      }

      BioPAXIOHandler exporter = new SimpleIOHandler(main.getOwlModel().getLevel());
View Full Code Here

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

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

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

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

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

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

          "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

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

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

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

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

    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
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.