Examples of displayBox()


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

        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;
      }
      else if ("addTextElement".equals(regionId))
      {
View Full Code Here

Examples of org.openbp.cockpit.modeler.figures.process.ProcessElementContainer.displayBox()

      ProcessElementContainer pec = modeler.getDrawing().getFigureByQualifier(qualifier);
      if (pec != null)
      {
        view.addToSelection(pec);

        Rectangle db = pec.displayBox();
        if (rect == null)
          rect = new Rectangle(db);
        else
          rect = rect.union(db);
      }
View Full Code Here

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

        TextElement textElement = process.createTextElement();
        process.addTextElement(textElement);

        TextElementFigure textElementFigure = createTextElementFigure(textElement);

        Rectangle db = textElementFigure.displayBox();
        db.x = p.x - db.width / 2;
        db.y = p.y - db.height / 2;
        textElementFigure.displayBox(db);

        add(textElementFigure);
View Full Code Here

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

        TextElementFigure textElementFigure = createTextElementFigure(textElement);

        Rectangle db = textElementFigure.displayBox();
        db.x = p.x - db.width / 2;
        db.y = p.y - db.height / 2;
        textElementFigure.displayBox(db);

        add(textElementFigure);

        addedFigure = textElementFigure;
      }
View Full Code Here

Examples of org.openbp.cockpit.modeler.figures.process.VLineFigure.displayBox()

      {
        editor.startUndo("Add Vertical Swimlane Line");

        VLineFigure vLineFigure = new VLineFigure(this);

        Rectangle db = vLineFigure.displayBox();
        db.x = p.x;
        db.y = p.y;
        vLineFigure.displayBox(db);

        add(vLineFigure);
View Full Code Here

Examples of org.openbp.cockpit.modeler.figures.process.VLineFigure.displayBox()

        VLineFigure vLineFigure = new VLineFigure(this);

        Rectangle db = vLineFigure.displayBox();
        db.x = p.x;
        db.y = p.y;
        vLineFigure.displayBox(db);

        add(vLineFigure);

        addedFigure = vLineFigure;
      }
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.