return shapePart;
}
private ShapePart createShapePart(ShapeFactoryCaseDef shapeFactoryCase, Element modelElement)
{
ShapeDef shapeDef = shapeFactoryCase.getShape().content();
ShapePart shapePart = createShapePart(shapeDef, modelElement);
if (shapeFactoryCase.getSelectionPresentation() != null)
{
shapePart.setSelectionPresentation(shapeFactoryCase.getSelectionPresentation());
}