Package org.eclipse.emf.common.notify

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


   */
  public void setRExpr(expression newRExpr)
  {
    if (newRExpr != rExpr)
    {
      NotificationChain msgs = null;
      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


   */
  public void setAExpr(expression newAExpr)
  {
    if (newAExpr != aExpr)
    {
      NotificationChain msgs = null;
      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

   */
  public void setWhileCondition(boolExpression newWhileCondition)
  {
    if (newWhileCondition != whileCondition)
    {
      NotificationChain msgs = null;
      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

   */
  public void setWhileStm(statement newWhileStm)
  {
    if (newWhileStm != whileStm)
    {
      NotificationChain msgs = null;
      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

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

   */
  public void setForEachStm(statement newForEachStm)
  {
    if (newForEachStm != forEachStm)
    {
      NotificationChain msgs = null;
      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

   */
  public void setClStm(caseListStm newClStm)
  {
    if (newClStm != clStm)
    {
      NotificationChain msgs = null;
      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

   */
  public void setOCase(optCaseDefault newOCase)
  {
    if (newOCase != oCase)
    {
      NotificationChain msgs = null;
      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

   */
  public void setBExpr(boolExpression newBExpr)
  {
    if (newBExpr != bExpr)
    {
      NotificationChain msgs = null;
      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

   */
  public void setTExpr(expression newTExpr)
  {
    if (newTExpr != tExpr)
    {
      NotificationChain msgs = null;
      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

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.