* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setFontStyle(FontStyle newFontStyle) {
FontStyle oldFontStyle = fontStyle;
fontStyle = newFontStyle == null ? FONT_STYLE_EDEFAULT : newFontStyle;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, FxgPackage.RICH_TEXT__FONT_STYLE, oldFontStyle, fontStyle));
}