* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setFontWeight(FontWeight newFontWeight) {
FontWeight oldFontWeight = fontWeight;
fontWeight = newFontWeight == null ? FONT_WEIGHT_EDEFAULT : newFontWeight;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, FxgPackage.RICH_TEXT__FONT_WEIGHT, oldFontWeight, fontWeight));
}