Examples of ENotificationImpl


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.CONCLUSION__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.CONCLUSION__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.CONCLUSION__CONCLUSION_RULE, newConclusionRule, newConclusionRule));
  }
View Full Code Here

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

   */
  public void setNegative(boolean newNegative) {
    boolean oldNegative = negative;
    negative = newNegative;
    if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, URMLPackage.CONDITION__NEGATIVE, oldNegative, negative));
  }
View Full Code Here

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

    if (conditionRule != null && conditionRule.eIsProxy()) {
      InternalEObject oldConditionRule = (InternalEObject)conditionRule;
      conditionRule = (Rule)eResolveProxy(oldConditionRule);
      if (conditionRule != oldConditionRule) {
        if (eNotificationRequired())
          eNotify(new ENotificationImpl(this, Notification.RESOLVE, URMLPackage.CONDITION__CONDITION_RULE, oldConditionRule, conditionRule));
      }
    }
    return conditionRule;
  }
View Full Code Here

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

   */
  public NotificationChain basicSetConditionRule(Rule newConditionRule, NotificationChain msgs) {
    Rule oldConditionRule = conditionRule;
    conditionRule = newConditionRule;
    if (eNotificationRequired()) {
      ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, URMLPackage.CONDITION__CONDITION_RULE, oldConditionRule, newConditionRule);
      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)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

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

    if (type != null && type.eIsProxy()) {
      InternalEObject oldType = (InternalEObject)type;
      type = (Type)eResolveProxy(oldType);
      if (type != oldType) {
        if (eNotificationRequired())
          eNotify(new ENotificationImpl(this, Notification.RESOLVE, OntoUMLPackage.TYPED_ELEMENT__TYPE, oldType, type));
      }
    }
    return type;
  }
View Full Code Here

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

   */
  public void setType(Type newType) {
    Type oldType = type;
    type = newType;
    if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, OntoUMLPackage.TYPED_ELEMENT__TYPE, oldType, type));
  }
View Full Code Here

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

   */
  public void setIsShareable(boolean newIsShareable) {
    boolean oldIsShareable = isShareable;
    isShareable = newIsShareable;
    if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, OntoUMLPackage.MERONYMIC__IS_SHAREABLE, oldIsShareable, isShareable));
  }
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.