Package org.gvt.model

Examples of org.gvt.model.BioPAXGraph


    CompoundModel root = (CompoundModel) viewer.getContents().getModel();

    if (root instanceof BioPAXGraph)
    {
      BioPAXGraph graph = (BioPAXGraph) root;

      if (graph.isMechanistic())
      {
        graph.forgetLayout();
        Model model = graph.getBiopaxModel();
        PathwayHolder p = graph.getPathway();
        p.removeFromModel(model);

        main.getAllPathwayNames().remove(p.getName());
      }
    }
View Full Code Here


            graph.setLastAppliedColoring(null);
            new ColorWithExperimentAction(main, graph, dataManager.getType()).run();
          }
        }

        BioPAXGraph currentGraph = main.getPathwayGraph();
        if (currentGraph != null && currentGraph.getLastAppliedColoring() == null)
        {
          new ColorWithExperimentAction(main, currentGraph, dataManager.getType()).run();
        }

        shell.dispose();
View Full Code Here

        int selection = queryTypeBox.getSelectionIndex();

        switch (selection)
        {
          case 0: // Neighbors in loaded file
            BioPAXGraph root = main.getRootGraph();
            if (root != null)
            {
              Collection<EntityHolder> entities = root.getRelatedEntities(refs);

              if (entities.isEmpty())
              {
                MessageDialog.openInformation(main.getShell(), "Not found",
                  "Selected entities are not found in the current model.");
View Full Code Here

TOP

Related Classes of org.gvt.model.BioPAXGraph

Copyright © 2018 www.massapicom. 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.