protected ContainerShapePresentation getParentContainer(ShapePresentation shapePresentation)
{
DiagramPresentation parentPresentation = shapePresentation.parent();
while (!(parentPresentation instanceof ContainerShapePresentation) && parentPresentation != null)
{
parentPresentation = parentPresentation.parent();
}
return (ContainerShapePresentation)parentPresentation;
}
protected IFigure getPartFigure(ShapePart shapePart)