@Override // SimpleLineConnection public void propertiesChanged(AttributesChangeEvent e) { if (!e.getInitiator().equals(this)) { SelectionProperty pType = (SelectionProperty) getModel().getProperty(ElementPropKeys.PATH_CONN_TYPE); PathModel.LinerType type = (PathModel.LinerType) pType.getValue(); setLinerByType(type); // Länge neu berechnen calculateLength(); lineout(); } super.propertiesChanged(e); }