Examples of encodeGeometry()


Examples of org.openbp.cockpit.modeler.drawing.ProcessDrawing.encodeGeometry()

          view.clearSelection();

          ProcessDrawing drawing = (ProcessDrawing) view.drawing();

          // Save any geometry changes
          drawing.encodeGeometry();

          currentModeler.startUndo("Change Presentation Skin");

          // Completely reinitialize the drawing by re-setting the process
          ProcessItem process = drawing.getProcess();
View Full Code Here

Examples of org.openbp.cockpit.modeler.drawing.ProcessDrawing.encodeGeometry()

    // TODO Feature 6: Placeholder substitution: Implement
    ProcessDrawing drawing = getDrawing();
    ProcessItem process = drawing.getProcess();

    // Save any geometry changes
    drawing.encodeGeometry();

    drawing.getEditor().startUndo("Replace placeholder");

    // Add the new node to the process
    process.addNode(node);
View Full Code Here

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

          {
            // Link source or target has not been copied
            continue;
          }

          flowConnection.encodeGeometry();

          link = (ControlLink) link.clone();
          process.addControlLink(link);

          if (! msgContainer.isEmpty())
View Full Code Here

Examples of org.openbp.cockpit.modeler.figures.process.NodeFigure.encodeGeometry()

        Figure next = fe.nextFigure();

        if (next instanceof NodeFigure)
        {
          NodeFigure nodeFigure = (NodeFigure) next;
          nodeFigure.encodeGeometry();

          Node node = nodeFigure.getNode();

          // Remember that we have copied this one
          copiedSourceNodes.add(node);
View Full Code Here

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

          {
            // Don't copy process variable links
            continue;
          }

          paramConnection.encodeGeometry();

          link = (DataLink) link.clone();
          process.addDataLink(link);

          if (! msgContainer.isEmpty())
View Full Code Here

Examples of org.openbp.cockpit.modeler.figures.process.SocketFigure.encodeGeometry()

        }

        else if (next instanceof SocketFigure)
        {
          SocketFigure socketFigure = (SocketFigure) next;
          socketFigure.encodeGeometry();

          NodeSocket socket = socketFigure.getNodeSocket();

          if (socketHolder == null)
          {
View Full Code Here

Examples of org.openbp.cockpit.modeler.figures.process.TextElementFigure.encodeGeometry()

        }

        else if (next instanceof TextElementFigure)
        {
          TextElementFigure textElementFigure = (TextElementFigure) next;
          textElementFigure.encodeGeometry();

          TextElement textElement = textElementFigure.getTextElement();

          // Clone the element and add it to the process
          textElement = (TextElement) textElement.clone();
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.