/**
   * 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(ActivityLoopListType.class)) {
      case LQNPackage.ACTIVITY_LOOP_LIST_TYPE__END:
        fireNotifyChanged(
            new ViewerNotification(notification, notification.getNotifier(), false, true));
        return;
      case LQNPackage.ACTIVITY_LOOP_LIST_TYPE__ACTIVITY:
        fireNotifyChanged(
            new ViewerNotification(notification, notification.getNotifier(), true, false));
        return;
    }
    super.notifyChanged(notification);
  }
Пример #2
0
  /**
   * 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(Architecture.class)) {
      case Component_diagramPackage.ARCHITECTURE__COMPONENT:
      case Component_diagramPackage.ARCHITECTURE__CONNECTORS:
      case Component_diagramPackage.ARCHITECTURE__PORTS:
      case Component_diagramPackage.ARCHITECTURE__INSTANCES:
      case Component_diagramPackage.ARCHITECTURE__PORT_TYPE:
        fireNotifyChanged(
            new ViewerNotification(notification, notification.getNotifier(), true, false));
        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(Notification notification) {
    updateChildren(notification);

    switch (notification.getFeatureID(SolverParamsType.class)) {
      case LQNPackage.SOLVER_PARAMS_TYPE__COMMENT:
      case LQNPackage.SOLVER_PARAMS_TYPE__CONV_VAL:
      case LQNPackage.SOLVER_PARAMS_TYPE__IT_LIMIT:
      case LQNPackage.SOLVER_PARAMS_TYPE__PRINT_INT:
      case LQNPackage.SOLVER_PARAMS_TYPE__UNDERRELAX_COEFF:
        fireNotifyChanged(
            new ViewerNotification(notification, notification.getNotifier(), false, true));
        return;
      case LQNPackage.SOLVER_PARAMS_TYPE__RESULT_GENERAL:
      case LQNPackage.SOLVER_PARAMS_TYPE__PRAGMA:
        fireNotifyChanged(
            new ViewerNotification(notification, notification.getNotifier(), true, false));
        return;
    }
    super.notifyChanged(notification);
  }