{
SapphirePart part = this;
SapphirePart parentPart = (SapphirePart)parent();
while (!(parentPart instanceof DiagramNodePart || parentPart.getLocalModelElement() != getLocalModelElement())) {
part = parentPart;
parentPart = (SapphirePart)parentPart.parent();
}
this.containerParent = part;
}
}
return this.containerParent;