@Override public void notifyChanged(Notification notification) { int featureID = notification.getFeatureID(Edge.class); if (featureID == ActivitiesPackage.ACTIVITY_CALL_NODE__CALLED_ACTIVITY || featureID == ActivitiesPackage.ACTIVITY_CALL_NODE__NAME) { refreshVisuals(); } else if (featureID == ActivitiesPackage.ACTIVITY_CALL_NODE__CALLEE) { refreshVisuals(); } else { super.notifyChanged(notification); } }