{
// create shape for image
final Shape shape = peCreateService.createShape(containerShape, false);
// create and set image
final Image image = gaService.createImage(shape, ImageProvider.getKeyForLargeIcon(addedClass.getIconName()));
gaService.setLocationAndSize(image, imageRect.x, imageRect.y, imageRect.width, imageRect.height);
// if addedClass has no resource we add it to the resource of the diagram
// in a real scenario the business model would have its own resource
// if (addedClass.eResource() == null) {