String businessText = null;
final PictogramElement pe = context.getPictogramElement();
final Object bo = getBusinessObjectForPictogramElement(pe);
if (bo instanceof TextAnnotation) {
final TextAnnotation ta = (TextAnnotation) bo;
businessText = ta.getText();
}
if (pe instanceof ContainerShape) {
final ContainerShape cs = (ContainerShape) pe;
for (Shape shape : cs.getChildren()) {