Examples of connectorAt()


Examples of CH.ifa.draw.framework.Figure.connectorAt()

  {
    Figure target = findConnectableFigure(x, y, drawing);

    if (target != null && connectionFigure != null && target.canConnect() && !target.includes(source().owner()) && canLinkFigures(source().owner(), target))
    {
      return target.connectorAt(x, y);
    }
    return null;
  }

  /**
 
View Full Code Here

Examples of org.openbp.cockpit.modeler.figures.process.ParamFigure.connectorAt()

    }
    else if (sourceFigure != null && targetFigure != null)
    {
      // Node -> Node
      Connector start = sourceFigure.connectorAt(0, 0);
      Connector end = targetFigure.connectorAt(0, 0);

      link.unlink();

      return new ParamConnection(link, start, end, this);
    }
View Full Code Here

Examples of org.openbp.cockpit.modeler.figures.process.SocketFigure.connectorAt()

      System.err.println("Control link target socket '" + target.getQualifier() + "' has no figure representation.");
      return null;
    }

    Connector start = sourceFigure.connectorAt(0, 0);
    Connector end = targetFigure.connectorAt(0, 0);

    link.unlink();

    FlowConnection flow = new FlowConnection(link, this);
    flow.connectStart(start);
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.