Package org.gvt.model.basicsif

Examples of org.gvt.model.basicsif.BasicSIFNode


      {
        main.createNewTab(goi);

        for (Object o : goi.getNodes())
        {
          BasicSIFNode node = (BasicSIFNode) o;
          if (rdfseed.contains(node.getRdfid()))
          {
            node.setHighlightColor(ChisioMain.higlightColor);
            node.setHighlight(true);
          }
        }

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


    else
    {
      relationsSet.add(relStr);
    }

    BasicSIFNode node1 = getNode(first);
    BasicSIFNode node2 = getNode(second);
    new BasicSIFEdge(node1, node2, relation);
  }
View Full Code Here

  private BasicSIFNode getNode(String id)
  {
    if (!nodeMap.containsKey(id))
    {
      BasicSIFNode node = new BasicSIFNode(root, id, id);
      nodeMap.put(id, node);
    }

    return nodeMap.get(id);
  }
View Full Code Here

      {
        if (terms.length > 1) name = terms[1].split(INNER_SEP)[0];
        if (name.length() == 0) name = "noname";
      }

      BasicSIFNode node = new BasicSIFNode(root, id, name);

      node.addReference(new XRef("NAME:"+node.getName()));

      if (terms.length > 1)
      {
        for (String ref : terms[1].split(INNER_SEP))
        {
          if (ref.length() > 0)
          {
            if (ref.indexOf(XRef.SEPARATOR) < 0)
            {
              System.out.println("defective line = " + line);
            }
            else
            {
              node.addReference(new XRef(ref));
            }
          }
        }
      }
      if (terms.length > 2)
      {
        for (String ref : terms[2].split(INNER_SEP))
        {
          if (ref.length() > 0)
          {
            if (ref.indexOf(XRef.SEPARATOR) < 0)
            {
              System.out.println("defective line = " + line);
            }
            else
            {
              node.addReference(new XRef(ref));
            }
          }
        }
      }
View Full Code Here

      {
        main.createNewTab(goi);

        for (Object o : goi.getNodes())
        {
          BasicSIFNode node = (BasicSIFNode) o;
          if (rdfseed.contains(node.getRdfid()))
          {
            node.setHighlightColor(ChisioMain.higlightColor);
            node.setHighlight(true);
          }
        }

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

TOP

Related Classes of org.gvt.model.basicsif.BasicSIFNode

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.