Package org.openbp.core.model.item.process

Examples of org.openbp.core.model.item.process.DataLink.link()


    // Create a new data link and add it to the process
    ProcessItem process = sourceParam.getProcess();
    DataLink dataLink = process.createDataLink();

    // Link the parameters
    dataLink.link(sourceParam, targetParam);

    // Apply auto-conversions if necessary
    String sourceMemberPath = DataLinkImpl.checkAutoConversion(sourceParam, null, targetParam, null);
    dataLink.setSourceMemberPath(sourceMemberPath);
View Full Code Here


            sourceParam = param;
            targetParam = processVariable;
          }

          // Link the global to the node parameter
          dataLink.link(sourceParam, targetParam);

          getDrawing().getProcess().addDataLink(dataLink);
          paramFigure.setProcessVariableConnection(processVariable, dataLink);
        }
View Full Code Here

          sourceParam = nodeParam;
          targetParam = processVariable;
        }

        // Link the global to the node parameter
        dataLink.link(sourceParam, targetParam);

        // Apply auto-conversions if necessary
        String sourceMemberPath = AutoConnector.checkAutoConversion(sourceParam, null, targetParam, null);
        dataLink.setSourceMemberPath(sourceMemberPath);
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.