/** * This handles model notifications by calling {@link #updateChildren} to * update any cached * children and by creating a viewer notification, which it passes to * {@link #fireNotifyChanged}. * <!-- begin-user-doc --> * <!-- end-user-doc --> * * @generated */ @Override public void notifyChanged ( final Notification notification ) { updateChildren ( notification ); switch ( notification.getFeatureID ( UserDefinedType.class ) ) { case MemoryPackage.USER_DEFINED_TYPE__INDEX: case MemoryPackage.USER_DEFINED_TYPE__LENGTH: case MemoryPackage.USER_DEFINED_TYPE__TYPE: fireNotifyChanged ( new ViewerNotification ( notification, notification.getNotifier (), false, true ) ); return; } super.notifyChanged ( notification ); }
/** * This handles model notifications by calling {@link #updateChildren} to * update any cached * children and by creating a viewer notification, which it passes to * {@link #fireNotifyChanged}. * <!-- begin-user-doc --> * <!-- end-user-doc --> * * @generated */ @Override public void notifyChanged ( final Notification notification ) { updateChildren ( notification ); switch ( notification.getFeatureID ( UserDefinedType.class ) ) { case MemoryPackage.USER_DEFINED_TYPE__INDEX: case MemoryPackage.USER_DEFINED_TYPE__LENGTH: case MemoryPackage.USER_DEFINED_TYPE__TYPE: fireNotifyChanged ( new ViewerNotification ( notification, notification.getNotifier (), false, true ) ); return; } super.notifyChanged ( notification ); }