Package org.eclipse.emf.ecore.impl

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, TargetPlatformPackage.IU__ID, oldID, id));
  }
View Full Code Here


   */
  public void setVersion(String newVersion) {
    String oldVersion = version;
    version = newVersion;
    if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, TargetPlatformPackage.IU__VERSION, oldVersion, version));
  }
View Full Code Here

        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

        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

        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

   */
  public void setImportURI(String newImportURI) {
    String oldImportURI = importURI;
    importURI = newImportURI;
    if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, TargetPlatformPackage.INCLUDE_DECLARATION__IMPORT_URI, oldImportURI, importURI));
  }
View Full Code Here

        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

   */
  public void setID(String newID) {
    String oldID = id;
    id = newID;
    if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, TargetPlatformPackage.LOCATION__ID, oldID, id));
  }
View Full Code Here

   */
  public void setUri(String newUri) {
    String oldUri = uri;
    uri = newUri;
    if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, TargetPlatformPackage.LOCATION__URI, oldUri, uri));
  }
View Full Code Here

   */
  public void setName(String newName) {
    String oldName = name;
    name = newName;
    if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, TargetPlatformPackage.TARGET_PLATFORM__NAME, oldName, name));
  }
View Full Code Here

TOP

Related Classes of org.eclipse.emf.ecore.impl.ENotificationImpl

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.