public void setSelection(Parameter newSelection) {
		if (newSelection != selection) {
			NotificationChain msgs = null;
			if (selection != null)
				msgs = ((InternalEObject)selection).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - BpsimPackage.RESOURCE_PARAMETERS__SELECTION, null, msgs);
			if (newSelection != null)
				msgs = ((InternalEObject)newSelection).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - BpsimPackage.RESOURCE_PARAMETERS__SELECTION, null, msgs);
			msgs = basicSetSelection(newSelection, msgs);
			if (msgs != null) msgs.dispatch();
		}
		else if (eNotificationRequired())
			eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.RESOURCE_PARAMETERS__SELECTION, newSelection, newSelection));
	}
public void setSelection ( Parameter newSelection ) { if ( newSelection != selection ) { NotificationChain msgs = null ; if ( selection != null ) msgs = ( ( InternalEObject ) selection ) . eInverseRemove ( this , EOPPOSITE_FEATURE_BASE - BpsimPackage . RESOURCE_PARAMETERS__SELECTION , null , msgs ) ; if ( newSelection != null ) msgs = ( ( InternalEObject ) newSelection ) . eInverseAdd ( this , EOPPOSITE_FEATURE_BASE - BpsimPackage . RESOURCE_PARAMETERS__SELECTION , null , msgs ) ; msgs = basicSetSelection ( newSelection , msgs ) ; if ( msgs != null ) msgs . dispatch ( ) ; } else if ( eNotificationRequired ( ) ) eNotify ( new ENotificationImpl ( this , Notification . SET , BpsimPackage . RESOURCE_PARAMETERS__SELECTION , newSelection , newSelection ) ) ; }
<!-- begin-user-doc -->
<!-- end-user-doc -->
@generated