gaService.setLocationAndSize(gateway, 0, 0, d, d);
decorateGateway(containerShape);
Shape textShape = peService.createShape(containerShape, false);
peService.setPropertyValue(textShape, UpdateBaseElementNameFeature.TEXT_ELEMENT, Boolean.toString(true));
Text text = gaService.createDefaultText(getDiagram(), textShape, addedGateway.getName());
text.setStyle(StyleUtil.getStyleForText(getDiagram()));
text.setHorizontalAlignment(Orientation.ALIGNMENT_CENTER);
text.setVerticalAlignment(Orientation.ALIGNMENT_TOP);
gaService.setLocationAndSize(text, 0, d, d, p);
createDIShape(containerShape, addedGateway);
peService.createChopboxAnchor(containerShape);
AnchorUtil.addFixedPointAnchors(containerShape, gateway);