if (property != null && (Boolean) property) {
IGaService gaService = Graphiti.getGaService();
GraphicsAlgorithm ga = containerShape.getGraphicsAlgorithm();
gaService.setLocation(ga, ga.getX() + context.getDeltaX(), ga.getY() + context.getDeltaY());
} else {
BoundaryEvent event = BusinessObjectUtil.getFirstElementOfType(containerShape, BoundaryEvent.class);
PictogramElement activityContainer = BusinessObjectUtil.getFirstBaseElementFromDiagram(getDiagram(),
event.getAttachedToRef());
PositionOnLine newPos = BoundaryEventPositionHelper.getPositionOnLineUsingAbsoluteCoordinates(
containerShape, (Shape) activityContainer);
BoundaryEventPositionHelper.assignPositionOnLineProperty(containerShape, newPos);
}