Examples of ENotificationImpl


Examples of org.eclipse.emf.ecore.impl.ENotificationImpl

    if (validator != null && validator.eIsProxy()) {
      InternalEObject oldValidator = (InternalEObject)validator;
      validator = (Validator)eResolveProxy(oldValidator);
      if (validator != oldValidator) {
        if (eNotificationRequired())
          eNotify(new ENotificationImpl(this, Notification.RESOLVE, ValidatorsPackage.TYPE__VALIDATOR, oldValidator, validator));
      }
    }
    return validator;
  }
View Full Code Here

Examples of org.eclipse.emf.ecore.impl.ENotificationImpl

   */
  public void setValidator(Validator newValidator) {
    Validator oldValidator = validator;
    validator = newValidator;
    if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, ValidatorsPackage.TYPE__VALIDATOR, oldValidator, validator));
  }
View Full Code Here

Examples of org.eclipse.emf.ecore.impl.ENotificationImpl

   */
  public void setId(String newId) {
    String oldId = id;
    id = newId;
    if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, ValidatorsPackage.TYPE__ID, oldId, id));
  }
View Full Code Here

Examples of org.eclipse.emf.ecore.impl.ENotificationImpl

    if (conclusionRule != null && conclusionRule.eIsProxy()) {
      InternalEObject oldConclusionRule = (InternalEObject)conclusionRule;
      conclusionRule = (DerivationRule)eResolveProxy(oldConclusionRule);
      if (conclusionRule != oldConclusionRule) {
        if (eNotificationRequired())
          eNotify(new ENotificationImpl(this, Notification.RESOLVE, URMLPackage.CLASSIFIER_ATOM__CONCLUSION_RULE, oldConclusionRule, conclusionRule));
      }
    }
    return conclusionRule;
  }
View Full Code Here

Examples of org.eclipse.emf.ecore.impl.ENotificationImpl

   */
  public NotificationChain basicSetConclusionRule(DerivationRule newConclusionRule, NotificationChain msgs) {
    DerivationRule oldConclusionRule = conclusionRule;
    conclusionRule = newConclusionRule;
    if (eNotificationRequired()) {
      ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, URMLPackage.CLASSIFIER_ATOM__CONCLUSION_RULE, oldConclusionRule, newConclusionRule);
      if (msgs == null) msgs = notification; else msgs.add(notification);
    }
    return msgs;
  }
View Full Code Here

Examples of org.eclipse.emf.ecore.impl.ENotificationImpl

        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

Examples of org.eclipse.emf.ecore.impl.ENotificationImpl

    if (class_ != null && class_.eIsProxy()) {
      InternalEObject oldClass = (InternalEObject)class_;
      class_ = (OntoUML.Class)eResolveProxy(oldClass);
      if (class_ != oldClass) {
        if (eNotificationRequired())
          eNotify(new ENotificationImpl(this, Notification.RESOLVE, URMLPackage.CLASSIFIER_ATOM__CLASS, oldClass, class_));
      }
    }
    return class_;
  }
View Full Code Here

Examples of org.eclipse.emf.ecore.impl.ENotificationImpl

   */
  public void setClass(OntoUML.Class newClass) {
    OntoUML.Class oldClass = class_;
    class_ = newClass;
    if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, URMLPackage.CLASSIFIER_ATOM__CLASS, oldClass, class_));
  }
View Full Code Here

Examples of org.eclipse.emf.ecore.impl.ENotificationImpl

   */
  public void setClassVariable(String newClassVariable) {
    String oldClassVariable = classVariable;
    classVariable = newClassVariable;
    if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, URMLPackage.CLASSIFIER_ATOM__CLASS_VARIABLE, oldClassVariable, classVariable));
  }
View Full Code Here

Examples of org.eclipse.emf.ecore.impl.ENotificationImpl

    if (conclusionRule != null && conclusionRule.eIsProxy()) {
      InternalEObject oldConclusionRule = (InternalEObject)conclusionRule;
      conclusionRule = (DerivationRule)eResolveProxy(oldConclusionRule);
      if (conclusionRule != oldConclusionRule) {
        if (eNotificationRequired())
          eNotify(new ENotificationImpl(this, Notification.RESOLVE, URMLPackage.BINARY_ASSOCIATION_ATOM__CONCLUSION_RULE, oldConclusionRule, conclusionRule));
      }
    }
    return conclusionRule;
  }
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.