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

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


      Node node = (Node) it.next();

      target.addNode(node);

      // Rebuild the references after adding the object to the target
      node.maintainReferences(ModelObject.SYNC_GLOBAL_REFNAMES);

      NodeFigure nodeFigure = drawing.createNodeFigure(node);
      if (nodeFigure == null)
      {
        target.removeNode(node);
View Full Code Here


        editor.startUndo("Add Node");

        Node node = nodeFigure.getNode();
        process.addNode(node);
        node.maintainReferences(ModelObject.SYNC_GLOBAL_REFNAMES | ModelObject.SYNC_LOCAL_REFNAMES);

        nodeFigure.displayBox(new Rectangle(p));
        add(nodeFigure);
        addedFigure = nodeFigure;
      }
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.