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

Examples of org.openbp.core.model.item.process.NodeParam.maintainReferences()


            param = (NodeParam) param.clone();

            NamedObjectCollectionUtil.createUniqueName(param, targetSocket.getParamList());

            targetSocket.addParam(param, - 1);
            param.maintainReferences(ModelObject.RESOLVE_GLOBAL_REFS | ModelObject.RESOLVE_LOCAL_REFS);

            // Add the corresponding param figure and select it
            ParamFigure paramFigure = socketFigure.addParam(param, - 1);
            workspaceView.addToSelection(paramFigure);
View Full Code Here


        NodeParam param = socket.createParam(paramName);
        param.setDataType(paramType);

        // Add the param to the socket
        socket.addParam(param, pos - 1);
        param.maintainReferences(ModelObject.SYNC_GLOBAL_REFNAMES | ModelObject.SYNC_LOCAL_REFNAMES);

        // Add the parameter figure to the socket figure
        ParamFigure paramFigure = addParam(param, pos);

        ((WorkspaceDrawingView) getDrawing().getEditor().view()).singleSelect(paramFigure);
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.