Search in sources :

Example 1 with UserTypeDeclaration

use of com.robotoworks.mechanoid.net.netModel.UserTypeDeclaration in project mechanoid by robotoworks.

the class UserTypeImpl method setDeclaration.

/**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
public void setDeclaration(UserTypeDeclaration newDeclaration) {
    UserTypeDeclaration oldDeclaration = declaration;
    declaration = newDeclaration;
    if (eNotificationRequired())
        eNotify(new ENotificationImpl(this, Notification.SET, NetModelPackage.USER_TYPE__DECLARATION, oldDeclaration, declaration));
}
Also used : UserTypeDeclaration(com.robotoworks.mechanoid.net.netModel.UserTypeDeclaration) ENotificationImpl(org.eclipse.emf.ecore.impl.ENotificationImpl)

Aggregations

UserTypeDeclaration (com.robotoworks.mechanoid.net.netModel.UserTypeDeclaration)1 ENotificationImpl (org.eclipse.emf.ecore.impl.ENotificationImpl)1