Package org.eclipse.emf.common.notify

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


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


      if (lExpr != null)
        msgs = ((InternalEObject)lExpr).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - S3DPackage.REL_EXPRESSION__LEXPR, null, msgs);
      if (newLExpr != null)
        msgs = ((InternalEObject)newLExpr).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - S3DPackage.REL_EXPRESSION__LEXPR, null, msgs);
      msgs = basicSetLExpr(newLExpr, msgs);
      if (msgs != null) msgs.dispatch();
    }
    else if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, S3DPackage.REL_EXPRESSION__LEXPR, newLExpr, newLExpr));
  }
View Full Code Here

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

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

      if (cond != null)
        msgs = ((InternalEObject)cond).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - S3DPackage.CASE_STATEMENT__COND, null, msgs);
      if (newCond != null)
        msgs = ((InternalEObject)newCond).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - S3DPackage.CASE_STATEMENT__COND, null, msgs);
      msgs = basicSetCond(newCond, msgs);
      if (msgs != null) msgs.dispatch();
    }
    else if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, S3DPackage.CASE_STATEMENT__COND, newCond, newCond));
  }
View Full Code Here

      if (stmList != null)
        msgs = ((InternalEObject)stmList).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - S3DPackage.CASE_STATEMENT__STM_LIST, null, msgs);
      if (newStmList != null)
        msgs = ((InternalEObject)newStmList).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - S3DPackage.CASE_STATEMENT__STM_LIST, null, msgs);
      msgs = basicSetStmList(newStmList, msgs);
      if (msgs != null) msgs.dispatch();
    }
    else if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, S3DPackage.CASE_STATEMENT__STM_LIST, newStmList, newStmList));
  }
View Full Code Here

      if (mainExpr != null)
        msgs = ((InternalEObject)mainExpr).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - S3DPackage.POSTFIX_EXPRESSION__MAIN_EXPR, null, msgs);
      if (newMainExpr != null)
        msgs = ((InternalEObject)newMainExpr).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - S3DPackage.POSTFIX_EXPRESSION__MAIN_EXPR, null, msgs);
      msgs = basicSetMainExpr(newMainExpr, msgs);
      if (msgs != null) msgs.dispatch();
    }
    else if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, S3DPackage.POSTFIX_EXPRESSION__MAIN_EXPR, newMainExpr, newMainExpr));
  }
View Full Code Here

      if (asgnmtExpr != null)
        msgs = ((InternalEObject)asgnmtExpr).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - S3DPackage.POSTFIX_EXPRESSION__ASGNMT_EXPR, null, msgs);
      if (newAsgnmtExpr != null)
        msgs = ((InternalEObject)newAsgnmtExpr).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - S3DPackage.POSTFIX_EXPRESSION__ASGNMT_EXPR, null, msgs);
      msgs = basicSetAsgnmtExpr(newAsgnmtExpr, msgs);
      if (msgs != null) msgs.dispatch();
    }
    else if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, S3DPackage.POSTFIX_EXPRESSION__ASGNMT_EXPR, newAsgnmtExpr, newAsgnmtExpr));
  }
View Full Code Here

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

      if (name != null)
        msgs = ((InternalEObject)name).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - S3DPackage.CLASS_METHOD_DECL__NAME, null, msgs);
      if (newName != null)
        msgs = ((InternalEObject)newName).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - S3DPackage.CLASS_METHOD_DECL__NAME, null, msgs);
      msgs = basicSetName(newName, msgs);
      if (msgs != null) msgs.dispatch();
    }
    else if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, S3DPackage.CLASS_METHOD_DECL__NAME, newName, newName));
  }
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.