}
private void write(DiagramConnectionPart connPart)
{
ComponentDependency dependency = (ComponentDependency)connPart.getLocalModelElement();
if (!dependency.disposed())
{
if (isConnectionLayoutChanged(connPart))
{
this.architecture.detach(this.componentDependencyListener, "/Components/Dependencies/ConnectionBendpoints/*");
writeDependencyBendPoints(dependency, connPart);