Example #1
0
  protected void addLink(LinkGraphic lg) {
    LinkDescriptor comp = (LinkDescriptor) lg.getONLComponent();
    ExpCoordinator.print(
        new String(
            "LinkTool::addLink "
                + comp.getPoint1().getLabel()
                + " to "
                + comp.getPoint2().getLabel()));

    lg.getONLComponent().setLabel(new String("explink" + count));
    expCoordinator.getCurrentExp().addLink(comp);
    ++count;
  }