Package org.eclipse.graphiti.mm.pictograms

Examples of org.eclipse.graphiti.mm.pictograms.ChopboxAnchor


    lineHorizontal.setForeground(manageColor(StyleUtil.CLASS_FOREGROUND));

    Polyline lineVertical = gaService.createPolyline(box, new int[] { 10, 2, 10, 18 });
    lineVertical.setForeground(manageColor(StyleUtil.CLASS_FOREGROUND));

    ChopboxAnchor anchor = peService.createChopboxAnchor(containerShape);
    anchor.setReferencedGraphicsAlgorithm(rect);

    peService.setPropertyValue(containerShape, TRIGGERED_BY_EVENT, "false");
    link(containerShape, subprocess);
    return containerShape;
  }
View Full Code Here


    Ellipse circle = GraphicsUtil.createIntermediateEventCircle(ellipse);
    circle.setStyle(StyleUtil.getStyleForClass(getDiagram()));
    createDIShape(containerShape, event);

    ChopboxAnchor anchor = peService.createChopboxAnchor(containerShape);
    anchor.setReferencedGraphicsAlgorithm(ellipse);
    AnchorUtil.addFixedPointAnchors(containerShape, ellipse);

    Activity activity = event.getAttachedToRef();
    PictogramElement foundElem = BusinessObjectUtil.getFirstBaseElementFromDiagram(getDiagram(), activity);
    if (foundElem != null && foundElem instanceof ContainerShape) {
View Full Code Here

TOP

Related Classes of org.eclipse.graphiti.mm.pictograms.ChopboxAnchor

Copyright © 2018 www.massapicom. 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.