Package org.eclipse.emf.common.notify

Examples of org.eclipse.emf.common.notify.NotificationChain.dispatch()


      if (params != null)
        msgs = ((InternalEObject)params).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - S3DPackage.CLASS_METHOD_DECL__PARAMS, null, msgs);
      if (newParams != null)
        msgs = ((InternalEObject)newParams).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - S3DPackage.CLASS_METHOD_DECL__PARAMS, null, msgs);
      msgs = basicSetParams(newParams, msgs);
      if (msgs != null) msgs.dispatch();
    }
    else if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, S3DPackage.CLASS_METHOD_DECL__PARAMS, newParams, newParams));
  }
View Full Code Here


      if (paramList != null)
        msgs = ((InternalEObject)paramList).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - S3DPackage.ACTUAL_PARAM_LIST__PARAM_LIST, null, msgs);
      if (newParamList != null)
        msgs = ((InternalEObject)newParamList).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - S3DPackage.ACTUAL_PARAM_LIST__PARAM_LIST, null, msgs);
      msgs = basicSetParamList(newParamList, msgs);
      if (msgs != null) msgs.dispatch();
    }
    else if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, S3DPackage.ACTUAL_PARAM_LIST__PARAM_LIST, newParamList, newParamList));
  }
View Full Code Here

      if (head != null)
        msgs = ((InternalEObject)head).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - S3DPackage.STATEMENT_LIST__HEAD, null, msgs);
      if (newHead != null)
        msgs = ((InternalEObject)newHead).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - S3DPackage.STATEMENT_LIST__HEAD, null, msgs);
      msgs = basicSetHead(newHead, msgs);
      if (msgs != null) msgs.dispatch();
    }
    else if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, S3DPackage.STATEMENT_LIST__HEAD, newHead, newHead));
  }
View Full Code Here

      if (tail != null)
        msgs = ((InternalEObject)tail).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - S3DPackage.STATEMENT_LIST__TAIL, null, msgs);
      if (newTail != null)
        msgs = ((InternalEObject)newTail).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - S3DPackage.STATEMENT_LIST__TAIL, null, msgs);
      msgs = basicSetTail(newTail, msgs);
      if (msgs != null) msgs.dispatch();
    }
    else if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, S3DPackage.STATEMENT_LIST__TAIL, newTail, newTail));
  }
View Full Code Here

      if (name != null)
        msgs = ((InternalEObject)name).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - S3DPackage.IFUNCTION_DEFINITION__NAME, null, msgs);
      if (newName != null)
        msgs = ((InternalEObject)newName).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - S3DPackage.IFUNCTION_DEFINITION__NAME, null, msgs);
      msgs = basicSetName(newName, msgs);
      if (msgs != null) msgs.dispatch();
    }
    else if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, S3DPackage.IFUNCTION_DEFINITION__NAME, newName, newName));
  }
View Full Code Here

      if (params != null)
        msgs = ((InternalEObject)params).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - S3DPackage.IFUNCTION_DEFINITION__PARAMS, null, msgs);
      if (newParams != null)
        msgs = ((InternalEObject)newParams).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - S3DPackage.IFUNCTION_DEFINITION__PARAMS, null, msgs);
      msgs = basicSetParams(newParams, msgs);
      if (msgs != null) msgs.dispatch();
    }
    else if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, S3DPackage.IFUNCTION_DEFINITION__PARAMS, newParams, newParams));
  }
View Full Code Here

      if (parents != null)
        msgs = ((InternalEObject)parents).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - S3DPackage.OPT_BODY_CLASS__PARENTS, null, msgs);
      if (newParents != null)
        msgs = ((InternalEObject)newParents).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - S3DPackage.OPT_BODY_CLASS__PARENTS, null, msgs);
      msgs = basicSetParents(newParents, msgs);
      if (msgs != null) msgs.dispatch();
    }
    else if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, S3DPackage.OPT_BODY_CLASS__PARENTS, newParents, newParents));
  }
View Full Code Here

      if (rExpr != null)
        msgs = ((InternalEObject)rExpr).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - S3DPackage.VAR_DECL_WITH_ASSIGN__REXPR, null, msgs);
      if (newRExpr != null)
        msgs = ((InternalEObject)newRExpr).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - S3DPackage.VAR_DECL_WITH_ASSIGN__REXPR, null, msgs);
      msgs = basicSetRExpr(newRExpr, msgs);
      if (msgs != null) msgs.dispatch();
    }
    else if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, S3DPackage.VAR_DECL_WITH_ASSIGN__REXPR, newRExpr, newRExpr));
  }
View Full Code Here

      if (aExpr != null)
        msgs = ((InternalEObject)aExpr).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - S3DPackage.VAR_DECL_WITH_ASSIGN__AEXPR, null, msgs);
      if (newAExpr != null)
        msgs = ((InternalEObject)newAExpr).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - S3DPackage.VAR_DECL_WITH_ASSIGN__AEXPR, null, msgs);
      msgs = basicSetAExpr(newAExpr, msgs);
      if (msgs != null) msgs.dispatch();
    }
    else if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, S3DPackage.VAR_DECL_WITH_ASSIGN__AEXPR, newAExpr, newAExpr));
  }
View Full Code Here

      if (whileCondition != null)
        msgs = ((InternalEObject)whileCondition).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - S3DPackage.WHILE_STATEMENT__WHILE_CONDITION, null, msgs);
      if (newWhileCondition != null)
        msgs = ((InternalEObject)newWhileCondition).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - S3DPackage.WHILE_STATEMENT__WHILE_CONDITION, null, msgs);
      msgs = basicSetWhileCondition(newWhileCondition, msgs);
      if (msgs != null) msgs.dispatch();
    }
    else if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, S3DPackage.WHILE_STATEMENT__WHILE_CONDITION, newWhileCondition, newWhileCondition));
  }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.