* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setTextDecoration(TextDecoration newTextDecoration) {
TextDecoration oldTextDecoration = textDecoration;
textDecoration = newTextDecoration == null ? TEXT_DECORATION_EDEFAULT : newTextDecoration;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, FxgPackage.RICH_TEXT__TEXT_DECORATION, oldTextDecoration, textDecoration));
}