/** * 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(Notification notification) { updateChildren(notification); switch (notification.getFeatureID(GenEnum.class)) { case GenModelPackage.GEN_ENUM__TYPE_SAFE_ENUM_COMPATIBLE: case GenModelPackage.GEN_ENUM__ECORE_ENUM: fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); return; case GenModelPackage.GEN_ENUM__GEN_ENUM_LITERALS: fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false)); return; } super.notifyChanged(notification); }