Package org.eclipse.emf.common.notify

Examples of org.eclipse.emf.common.notify.NotificationChain


   */
  public void setEOutput(Output newEOutput)
  {
    if (newEOutput != eOutput)
    {
      NotificationChain msgs = null;
      if (eOutput != null)
        msgs = ((InternalEObject)eOutput).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - WSDLPackage.OPERATION__EOUTPUT, null, msgs);
      if (newEOutput != null)
        msgs = ((InternalEObject)newEOutput).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - WSDLPackage.OPERATION__EOUTPUT, null, msgs);
      msgs = basicSetEOutput(newEOutput, msgs);
      if (msgs != null)
        msgs.dispatch();
    }
    else if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, WSDLPackage.OPERATION__EOUTPUT, newEOutput, newEOutput));
  }
View Full Code Here


   */
  public void setSchema(XSDSchema newSchema)
  {
    if (newSchema != schema)
    {
      NotificationChain msgs = null;
      if (schema != null)
        msgs = ((InternalEObject)schema).eInverseRemove(
          this,
          EOPPOSITE_FEATURE_BASE - WSDLPackage.XSD_SCHEMA_EXTENSIBILITY_ELEMENT__SCHEMA,
          null,
          msgs);
      if (newSchema != null)
        msgs = ((InternalEObject)newSchema).eInverseAdd(
          this,
          EOPPOSITE_FEATURE_BASE - WSDLPackage.XSD_SCHEMA_EXTENSIBILITY_ELEMENT__SCHEMA,
          null,
          msgs);
      msgs = basicSetSchema(newSchema, msgs);
      if (msgs != null)
        msgs.dispatch();
    }
    else if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, WSDLPackage.XSD_SCHEMA_EXTENSIBILITY_ELEMENT__SCHEMA, newSchema, newSchema));
  }
View Full Code Here

   */
  public void setETypes(Types newETypes)
  {
    if (newETypes != eTypes)
    {
      NotificationChain msgs = null;
      if (eTypes != null)
        msgs = ((InternalEObject)eTypes).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - WSDLPackage.DEFINITION__ETYPES, null, msgs);
      if (newETypes != null)
        msgs = ((InternalEObject)newETypes).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - WSDLPackage.DEFINITION__ETYPES, null, msgs);
      msgs = basicSetETypes(newETypes, msgs);
      if (msgs != null)
        msgs.dispatch();
    }
    else if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, WSDLPackage.DEFINITION__ETYPES, newETypes, newETypes));
  }
View Full Code Here

   * <!-- end-user-doc -->
   * @generated
   */
  public void setResolveAttributeValue(ResolveAttributeValue newResolveAttributeValue) {
    if (newResolveAttributeValue != resolveAttributeValue) {
      NotificationChain msgs = null;
      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

   * <!-- end-user-doc -->
   * @generated
   */
  public void setTagConvertInfo(TagConvertInfo newTagConvertInfo) {
    if (newTagConvertInfo != tagConvertInfo) {
      NotificationChain msgs = null;
      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

   */
  public void setHead(simpleExpressionHead newHead)
  {
    if (newHead != head)
    {
      NotificationChain msgs = null;
      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

   */
  public void setName(funcName newName)
  {
    if (newName != name)
    {
      NotificationChain msgs = null;
      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

   */
  public void setParams(formalParamList newParams)
  {
    if (newParams != params)
    {
      NotificationChain msgs = null;
      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

   */
  public void setParExpr(expression newParExpr)
  {
    if (newParExpr != parExpr)
    {
      NotificationChain msgs = null;
      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

   */
  public void setFName(funcName newFName)
  {
    if (newFName != fName)
    {
      NotificationChain msgs = null;
      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

TOP

Related Classes of org.eclipse.emf.common.notify.NotificationChain

Copyright © 2018 www.massapicom. 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.