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

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


            socket = (NodeSocket) socket.clone();

            NamedObjectCollectionUtil.createUniqueName(socket, targetNode.getSocketList());

            targetNode.addSocket(socket);
            socket.maintainReferences(ModelObject.RESOLVE_GLOBAL_REFS | ModelObject.RESOLVE_LOCAL_REFS);

            // Add the corresponding socket figure and select it
            // TODO Feature 5: We should take care that an existing socket is not overlayed by the new socket
            SocketFigure socketFigure = nodeFigure.addSocket(socket);
            workspaceView.addToSelection(socketFigure);
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.