Examples of ENotificationImpl


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

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

    if (association != null && association.eIsProxy()) {
      InternalEObject oldAssociation = (InternalEObject)association;
      association = (Relationship)eResolveProxy(oldAssociation);
      if (association != oldAssociation) {
        if (eNotificationRequired())
          eNotify(new ENotificationImpl(this, Notification.RESOLVE, URMLPackage.BINARY_ASSOCIATION_ATOM__ASSOCIATION, oldAssociation, association));
      }
    }
    return association;
  }
View Full Code Here

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

   */
  public void setAssociation(Relationship newAssociation) {
    Relationship oldAssociation = association;
    association = newAssociation;
    if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, URMLPackage.BINARY_ASSOCIATION_ATOM__ASSOCIATION, oldAssociation, association));
  }
View Full Code Here

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

   */
  public void setSourceVariable(String newSourceVariable) {
    String oldSourceVariable = sourceVariable;
    sourceVariable = newSourceVariable;
    if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, URMLPackage.BINARY_ASSOCIATION_ATOM__SOURCE_VARIABLE, oldSourceVariable, sourceVariable));
  }
View Full Code Here

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

   */
  public void setTargetVariable(String newTargetVariable) {
    String oldTargetVariable = targetVariable;
    targetVariable = newTargetVariable;
    if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, URMLPackage.BINARY_ASSOCIATION_ATOM__TARGET_VARIABLE, oldTargetVariable, targetVariable));
  }
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.ROLE_TYPE_ATOM__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.ROLE_TYPE_ATOM__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.ROLE_TYPE_ATOM__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.ROLE_TYPE_ATOM__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.