}
// Add the text elements to the target process
for (Iterator it = source.getTextElements(); it.hasNext();)
{
TextElement textElement = (TextElement) it.next();
target.addTextElement(textElement);
// Rebuild the references after adding the object to the target
textElement.maintainReferences(ModelObject.SYNC_GLOBAL_REFNAMES);
TextElementFigure textElementFigure = drawing.createTextElementFigure(textElement);
if (textElementFigure == null)
{
target.removeTextElement(textElement);