Package org.eclipse.emf.common.notify

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


      if (eInternalContainer() != null)
        msgs = eBasicRemoveFromContainer(msgs);
      if (newLocation != null)
        msgs = ((InternalEObject)newLocation).eInverseAdd(this, TargetPlatformPackage.LOCATION__IUS, Location.class, msgs);
      msgs = basicSetLocation(newLocation, msgs);
      if (msgs != null) msgs.dispatch();
    }
    else if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, TargetPlatformPackage.IU__LOCATION, newLocation, newLocation));
  }
View Full Code Here


      if (eInternalContainer() != null)
        msgs = eBasicRemoveFromContainer(msgs);
      if (newTargetPlatform != null)
        msgs = ((InternalEObject)newTargetPlatform).eInverseAdd(this, TargetPlatformPackage.TARGET_PLATFORM__CONTENTS, TargetPlatform.class, msgs);
      msgs = basicSetTargetPlatform(newTargetPlatform, msgs);
      if (msgs != null) msgs.dispatch();
    }
    else if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, TargetPlatformPackage.ENVIRONMENT__TARGET_PLATFORM, newTargetPlatform, newTargetPlatform));
  }
View Full Code Here

      if (eInternalContainer() != null)
        msgs = eBasicRemoveFromContainer(msgs);
      if (newTargetPlatform != null)
        msgs = ((InternalEObject)newTargetPlatform).eInverseAdd(this, TargetPlatformPackage.TARGET_PLATFORM__CONTENTS, TargetPlatform.class, msgs);
      msgs = basicSetTargetPlatform(newTargetPlatform, msgs);
      if (msgs != null) msgs.dispatch();
    }
    else if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, TargetPlatformPackage.INCLUDE_DECLARATION__TARGET_PLATFORM, newTargetPlatform, newTargetPlatform));
  }
View Full Code Here

      if (eInternalContainer() != null)
        msgs = eBasicRemoveFromContainer(msgs);
      if (newTargetPlatform != null)
        msgs = ((InternalEObject)newTargetPlatform).eInverseAdd(this, TargetPlatformPackage.TARGET_PLATFORM__CONTENTS, TargetPlatform.class, msgs);
      msgs = basicSetTargetPlatform(newTargetPlatform, msgs);
      if (msgs != null) msgs.dispatch();
    }
    else if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, TargetPlatformPackage.LOCATION__TARGET_PLATFORM, newTargetPlatform, newTargetPlatform));
  }
View Full Code Here

      if (eInternalContainer() != null)
        msgs = eBasicRemoveFromContainer(msgs);
      if (newTargetPlatform != null)
        msgs = ((InternalEObject)newTargetPlatform).eInverseAdd(this, TargetPlatformPackage.TARGET_PLATFORM__CONTENTS, TargetPlatform.class, msgs);
      msgs = basicSetTargetPlatform(newTargetPlatform, msgs);
      if (msgs != null) msgs.dispatch();
    }
    else if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, TargetPlatformPackage.OPTIONS__TARGET_PLATFORM, newTargetPlatform, newTargetPlatform));
  }
View Full Code Here

      if (conclusionRule != null)
        msgs = ((InternalEObject)conclusionRule).eInverseRemove(this, URMLPackage.DERIVATION_RULE__CONCLUSION, DerivationRule.class, msgs);
      if (newConclusionRule != null)
        msgs = ((InternalEObject)newConclusionRule).eInverseAdd(this, URMLPackage.DERIVATION_RULE__CONCLUSION, DerivationRule.class, msgs);
      msgs = basicSetConclusionRule(newConclusionRule, msgs);
      if (msgs != null) msgs.dispatch();
    }
    else if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, URMLPackage.CLASSIFIER_ATOM__CONCLUSION_RULE, newConclusionRule, newConclusionRule));
  }
View Full Code Here

      if (conclusionRule != null)
        msgs = ((InternalEObject)conclusionRule).eInverseRemove(this, URMLPackage.DERIVATION_RULE__CONCLUSION, DerivationRule.class, msgs);
      if (newConclusionRule != null)
        msgs = ((InternalEObject)newConclusionRule).eInverseAdd(this, URMLPackage.DERIVATION_RULE__CONCLUSION, DerivationRule.class, msgs);
      msgs = basicSetConclusionRule(newConclusionRule, msgs);
      if (msgs != null) msgs.dispatch();
    }
    else if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, URMLPackage.BINARY_ASSOCIATION_ATOM__CONCLUSION_RULE, newConclusionRule, newConclusionRule));
  }
View Full Code Here

      if (conditionRule != null)
        msgs = ((InternalEObject)conditionRule).eInverseRemove(this, URMLPackage.RULE__CONDITION, Rule.class, msgs);
      if (newConditionRule != null)
        msgs = ((InternalEObject)newConditionRule).eInverseAdd(this, URMLPackage.RULE__CONDITION, Rule.class, msgs);
      msgs = basicSetConditionRule(newConditionRule, msgs);
      if (msgs != null) msgs.dispatch();
    }
    else if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, URMLPackage.ROLE_TYPE_ATOM__CONDITION_RULE, newConditionRule, newConditionRule));
  }
View Full Code Here

      if (conclusionRule != null)
        msgs = ((InternalEObject)conclusionRule).eInverseRemove(this, URMLPackage.DERIVATION_RULE__CONCLUSION, DerivationRule.class, msgs);
      if (newConclusionRule != null)
        msgs = ((InternalEObject)newConclusionRule).eInverseAdd(this, URMLPackage.DERIVATION_RULE__CONCLUSION, DerivationRule.class, msgs);
      msgs = basicSetConclusionRule(newConclusionRule, msgs);
      if (msgs != null) msgs.dispatch();
    }
    else if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, URMLPackage.CONCLUSION__CONCLUSION_RULE, newConclusionRule, newConclusionRule));
  }
View Full Code Here

      if (conditionRule != null)
        msgs = ((InternalEObject)conditionRule).eInverseRemove(this, URMLPackage.RULE__CONDITION, Rule.class, msgs);
      if (newConditionRule != null)
        msgs = ((InternalEObject)newConditionRule).eInverseAdd(this, URMLPackage.RULE__CONDITION, Rule.class, msgs);
      msgs = basicSetConditionRule(newConditionRule, msgs);
      if (msgs != null) msgs.dispatch();
    }
    else if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, URMLPackage.CONDITION__CONDITION_RULE, newConditionRule, newConditionRule));
  }
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.