/** * @see * org.eclipse.emf.common.notify.Adapter#notifyChanged(org.eclipse.emf.common.notify.Notification) */ public void notifyChanged(Notification notification) { int featureId = notification.getFeatureID(CCMNotificationImpl.class); switch (featureId) { case CCMNotificationImpl.VALUE_DEF: case CCMNotificationImpl.CONTAINED: refreshVisuals(); break; default: featureId = notification.getFeatureID(CCMModelPackage.class); switch (featureId) { case CCMModelPackage.NODE__CON_SOURCE: refreshSourceConnections(); break; case CCMModelPackage.NODE__CONN_TARGET: refreshTargetConnections(); break; default: super.notifyChanged(notification); } } }