this.architecture.detach(this.componentListener, "/Components/Position/*");
this.architecture.detach(this.componentDependencyListener, "/Components/Dependencies/ConnectionBendpoints/*");
for (DiagramNodePart nodePart : context( SapphireDiagramEditorPagePart.class ).getNodes())
{
Component component = (Component)nodePart.getLocalModelElement();
if (!component.disposed())
{
writeComponentBounds(component, nodePart);
}
}
SapphireDiagramEditorPagePart diagramPart = context( SapphireDiagramEditorPagePart.class );