Package org.eclipse.emf.common.notify

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


      if (resolveAttributeValue != null)
        msgs = ((InternalEObject)resolveAttributeValue).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - DTInfoPackage.TAG_DECORATE_INFO__RESOLVE_ATTRIBUTE_VALUE, null, msgs);
      if (newResolveAttributeValue != null)
        msgs = ((InternalEObject)newResolveAttributeValue).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - DTInfoPackage.TAG_DECORATE_INFO__RESOLVE_ATTRIBUTE_VALUE, null, msgs);
      msgs = basicSetResolveAttributeValue(newResolveAttributeValue, msgs);
      if (msgs != null) msgs.dispatch();
    }
    else if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, DTInfoPackage.TAG_DECORATE_INFO__RESOLVE_ATTRIBUTE_VALUE, newResolveAttributeValue, newResolveAttributeValue));
  }
View Full Code Here


      if (tagConvertInfo != null)
        msgs = ((InternalEObject)tagConvertInfo).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - DTInfoPackage.DT_INFO__TAG_CONVERT_INFO, null, msgs);
      if (newTagConvertInfo != null)
        msgs = ((InternalEObject)newTagConvertInfo).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - DTInfoPackage.DT_INFO__TAG_CONVERT_INFO, null, msgs);
      msgs = basicSetTagConvertInfo(newTagConvertInfo, msgs);
      if (msgs != null) msgs.dispatch();
    }
    else if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, DTInfoPackage.DT_INFO__TAG_CONVERT_INFO, newTagConvertInfo, newTagConvertInfo));
  }
View Full Code Here

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

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

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

      if (parExpr != null)
        msgs = ((InternalEObject)parExpr).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - S3DPackage.SIMPLE_EXPRESSION_HEAD__PAR_EXPR, null, msgs);
      if (newParExpr != null)
        msgs = ((InternalEObject)newParExpr).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - S3DPackage.SIMPLE_EXPRESSION_HEAD__PAR_EXPR, null, msgs);
      msgs = basicSetParExpr(newParExpr, msgs);
      if (msgs != null) msgs.dispatch();
    }
    else if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, S3DPackage.SIMPLE_EXPRESSION_HEAD__PAR_EXPR, newParExpr, newParExpr));
  }
View Full Code Here

      if (fName != null)
        msgs = ((InternalEObject)fName).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - S3DPackage.POSTFIX_EXPRESSION_TAIL__FNAME, null, msgs);
      if (newFName != null)
        msgs = ((InternalEObject)newFName).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - S3DPackage.POSTFIX_EXPRESSION_TAIL__FNAME, null, msgs);
      msgs = basicSetFName(newFName, msgs);
      if (msgs != null) msgs.dispatch();
    }
    else if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, S3DPackage.POSTFIX_EXPRESSION_TAIL__FNAME, newFName, newFName));
  }
View Full Code Here

      if (variables != null)
        msgs = ((InternalEObject)variables).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - S3DPackage.BODY_CLASS__VARIABLES, null, msgs);
      if (newVariables != null)
        msgs = ((InternalEObject)newVariables).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - S3DPackage.BODY_CLASS__VARIABLES, null, msgs);
      msgs = basicSetVariables(newVariables, msgs);
      if (msgs != null) msgs.dispatch();
    }
    else if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, S3DPackage.BODY_CLASS__VARIABLES, newVariables, newVariables));
  }
View Full Code Here

      if (classMethodDecl != null)
        msgs = ((InternalEObject)classMethodDecl).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - S3DPackage.BODY_CLASS__CLASS_METHOD_DECL, null, msgs);
      if (newClassMethodDecl != null)
        msgs = ((InternalEObject)newClassMethodDecl).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - S3DPackage.BODY_CLASS__CLASS_METHOD_DECL, null, msgs);
      msgs = basicSetClassMethodDecl(newClassMethodDecl, msgs);
      if (msgs != null) msgs.dispatch();
    }
    else if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, S3DPackage.BODY_CLASS__CLASS_METHOD_DECL, newClassMethodDecl, newClassMethodDecl));
  }
View Full Code Here

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