Package info.unipax.bina.visualization.model.ui

Examples of info.unipax.bina.visualization.model.ui.IComponentUI


         
      ThingComponentRegistry thingRegistry = ((IThingMappingModel) controller.getMappingModel()).getThingRegistry();
         
      for (IComponent iComponent : thingRegistry.getComponents())
      {     
        IComponentUI nUI = iComponent.getUI();
        if (nUI instanceof BasicNodeComponentUI)
        {
          BasicNodeComponentUI n = (BasicNodeComponentUI) nUI;
          String labelText = n.getLabel();
         
View Full Code Here


  {
    ThingComponentRegistry thingRegistry = ((IThingMappingModel) controller.getMappingModel()).getThingRegistry();
   
    for (IComponent iComponent : thingRegistry.getComponents())
    {     
      IComponentUI cUI = iComponent.getUI();
      if (cUI instanceof BasicEdgeComponentUI)
      {
        BasicEdgeComponentUI edge = (BasicEdgeComponentUI) cUI;   
        edge.setLineColor(Color.GREEN);
      }
View Full Code Here

          }         
        } 
     
        if(actualPathwayString == null) //if ungrouped node was choosen
        {
          IComponentUI ui = node.getUI();
          if (ui instanceof BasicNodeComponentUI)
          {
            BasicNodeComponentUI n = (BasicNodeComponentUI) ui;
            if (!mapToDrawE.isEmpty())
            {
View Full Code Here

      {       
        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)
          {
            BasicNodeComponentUI n = (BasicNodeComponentUI) nUI;
                       
            for (Role r : p.getPlaysRoleLnkVector()) //for all roles of actual protein
View Full Code Here

TOP

Related Classes of info.unipax.bina.visualization.model.ui.IComponentUI

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.