Examples of layoutAndAdjustConnection()


Examples of org.openbp.cockpit.modeler.figures.process.FlowConnection.layoutAndAdjustConnection()

          modeler.startUndo("Auto-connect sockets");

          connection.connectStart(sourceSocketFigure.connectorAt(0, 0));
          connection.connectEnd(targetSocketFigure.connectorAt(0, 0));
          modeler.getDrawing().add(connection);
          connection.layoutAndAdjustConnection();

          modeler.endUndo();

          autoAdjustPlaceholderName();
View Full Code Here

Examples of org.openbp.cockpit.modeler.figures.process.ParamConnection.layoutAndAdjustConnection()

    ProcessDrawing drawing = modeler.getDrawing();
    ParamConnection connection = drawing.createParamConnection(dataLink);
    drawing.add(connection);

    // Layout the connection
    connection.layoutAndAdjustConnection();

    connectedDataLink = true;
  }

  private List<NodeParam> excludeLinkedParams(List<NodeParam> params)
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.