Package org.eclipse.emf.common.notify

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


      if (whileStm != null)
        msgs = ((InternalEObject)whileStm).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - S3DPackage.WHILE_STATEMENT__WHILE_STM, null, msgs);
      if (newWhileStm != null)
        msgs = ((InternalEObject)newWhileStm).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - S3DPackage.WHILE_STATEMENT__WHILE_STM, null, msgs);
      msgs = basicSetWhileStm(newWhileStm, msgs);
      if (msgs != null) msgs.dispatch();
    }
    else if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, S3DPackage.WHILE_STATEMENT__WHILE_STM, newWhileStm, newWhileStm));
  }
View Full Code Here


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

      if (forEachStm != null)
        msgs = ((InternalEObject)forEachStm).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - S3DPackage.EXPRESSION__FOR_EACH_STM, null, msgs);
      if (newForEachStm != null)
        msgs = ((InternalEObject)newForEachStm).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - S3DPackage.EXPRESSION__FOR_EACH_STM, null, msgs);
      msgs = basicSetForEachStm(newForEachStm, msgs);
      if (msgs != null) msgs.dispatch();
    }
    else if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, S3DPackage.EXPRESSION__FOR_EACH_STM, newForEachStm, newForEachStm));
  }
View Full Code Here

      if (clStm != null)
        msgs = ((InternalEObject)clStm).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - S3DPackage.EXPRESSION__CL_STM, null, msgs);
      if (newClStm != null)
        msgs = ((InternalEObject)newClStm).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - S3DPackage.EXPRESSION__CL_STM, null, msgs);
      msgs = basicSetClStm(newClStm, msgs);
      if (msgs != null) msgs.dispatch();
    }
    else if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, S3DPackage.EXPRESSION__CL_STM, newClStm, newClStm));
  }
View Full Code Here

      if (oCase != null)
        msgs = ((InternalEObject)oCase).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - S3DPackage.EXPRESSION__OCASE, null, msgs);
      if (newOCase != null)
        msgs = ((InternalEObject)newOCase).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - S3DPackage.EXPRESSION__OCASE, null, msgs);
      msgs = basicSetOCase(newOCase, msgs);
      if (msgs != null) msgs.dispatch();
    }
    else if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, S3DPackage.EXPRESSION__OCASE, newOCase, newOCase));
  }
View Full Code Here

      if (bExpr != null)
        msgs = ((InternalEObject)bExpr).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - S3DPackage.EXPRESSION__BEXPR, null, msgs);
      if (newBExpr != null)
        msgs = ((InternalEObject)newBExpr).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - S3DPackage.EXPRESSION__BEXPR, null, msgs);
      msgs = basicSetBExpr(newBExpr, msgs);
      if (msgs != null) msgs.dispatch();
    }
    else if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, S3DPackage.EXPRESSION__BEXPR, newBExpr, newBExpr));
  }
View Full Code Here

      if (tExpr != null)
        msgs = ((InternalEObject)tExpr).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - S3DPackage.EXPRESSION__TEXPR, null, msgs);
      if (newTExpr != null)
        msgs = ((InternalEObject)newTExpr).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - S3DPackage.EXPRESSION__TEXPR, null, msgs);
      msgs = basicSetTExpr(newTExpr, msgs);
      if (msgs != null) msgs.dispatch();
    }
    else if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, S3DPackage.EXPRESSION__TEXPR, newTExpr, newTExpr));
  }
View Full Code Here

      if (fExpr != null)
        msgs = ((InternalEObject)fExpr).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - S3DPackage.EXPRESSION__FEXPR, null, msgs);
      if (newFExpr != null)
        msgs = ((InternalEObject)newFExpr).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - S3DPackage.EXPRESSION__FEXPR, null, msgs);
      msgs = basicSetFExpr(newFExpr, msgs);
      if (msgs != null) msgs.dispatch();
    }
    else if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, S3DPackage.EXPRESSION__FEXPR, newFExpr, newFExpr));
  }
View Full Code Here

      if (thenStm != null)
        msgs = ((InternalEObject)thenStm).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - S3DPackage.BOOL_EXPRESSION__THEN_STM, null, msgs);
      if (newThenStm != null)
        msgs = ((InternalEObject)newThenStm).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - S3DPackage.BOOL_EXPRESSION__THEN_STM, null, msgs);
      msgs = basicSetThenStm(newThenStm, msgs);
      if (msgs != null) msgs.dispatch();
    }
    else if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, S3DPackage.BOOL_EXPRESSION__THEN_STM, newThenStm, newThenStm));
  }
View Full Code Here

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