/** * 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(ExpressionInOcl.class)) { case ExpressionsPackageImpl.EXPRESSION_IN_OCL__BODY_EXPRESSION: case ExpressionsPackageImpl.EXPRESSION_IN_OCL__CONTEXT: case ExpressionsPackageImpl.EXPRESSION_IN_OCL__RESULT: case ExpressionsPackageImpl.EXPRESSION_IN_OCL__PARAMETER: fireNotifyChanged( new ViewerNotification(notification, notification.getNotifier(), true, false)); return; } super.notifyChanged(notification); }