Examples of ThingComponentRegistry


Examples of info.unipax.bina.visualization.model.registry.ThingComponentRegistry

      totalProtein = 6311;
      System.out.println("Human has "+ totalProtein+" proteins");   
       
      ListHashMap<Pathway, BasicNodeComponentUI> mapC = new ListHashMap<Pathway, BasicNodeComponentUI>();
         
      ThingComponentRegistry thingRegistry = ((IThingMappingModel) controller.getMappingModel()).getThingRegistry();
         
      for (IComponent iComponent : thingRegistry.getComponents())
      {     
        IComponentUI nUI = iComponent.getUI();
        if (nUI instanceof BasicNodeComponentUI)
        {
          BasicNodeComponentUI n = (BasicNodeComponentUI) nUI;
View Full Code Here

Examples of info.unipax.bina.visualization.model.registry.ThingComponentRegistry

  /**
   * Color edges.
   * */
  private void colorEdges() 
  {
    ThingComponentRegistry thingRegistry = ((IThingMappingModel) controller.getMappingModel()).getThingRegistry();
   
    for (IComponent iComponent : thingRegistry.getComponents())
    {     
      IComponentUI cUI = iComponent.getUI();
      if (cUI instanceof BasicEdgeComponentUI)
      {
        BasicEdgeComponentUI edge = (BasicEdgeComponentUI) cUI;   
View Full Code Here

Examples of info.unipax.bina.visualization.model.registry.ThingComponentRegistry

  private void findNewNodes()
  { 
    mapOfGroupsE = new ListHashMap<Pathway, BasicNodeComponentUI>();   
    ListHashMap<Pathway, BasicNodeComponentUI> mapToDrawETemp = new ListHashMap<Pathway, BasicNodeComponentUI>();
    mapToDrawC.clear()
    ThingComponentRegistry thingRegistry = ((IThingMappingModel) ((StandardController) controller).getMappingModel()).getThingRegistry();
       
    for (Participant p : mapExpandPathway.getValues())
    {
      if (thingRegistry.containsComponent(p))
      {       
        Set<IComponent> comps = thingRegistry.getComponents(p);//get all components according to the protein
       
        for (IComponent c : comps)
        {
          IComponentUI nUI = c.getUI();
          if (nUI instanceof BasicNodeComponentUI)
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.