/******************************************************************************
* Copyright (c) 2004 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
****************************************************************************/ package org.eclipse.gmf.runtime.notation.impl;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EStructuralFeature;
import org.eclipse.emf.ecore.impl.ENotificationImpl;
import org.eclipse.emf.ecore.impl.EObjectImpl;
import org.eclipse.gmf.runtime.notation.FontStyle;
import org.eclipse.gmf.runtime.notation.NotationPackage;
/**
*
* An implementation of the model object 'Font Style'.
*
*
* The following features are implemented:
*
* - {@link org.eclipse.gmf.runtime.notation.impl.FontStyleImpl#getFontColor Font Color}
* - {@link org.eclipse.gmf.runtime.notation.impl.FontStyleImpl#getFontName Font Name}
* - {@link org.eclipse.gmf.runtime.notation.impl.FontStyleImpl#getFontHeight Font Height}
* - {@link org.eclipse.gmf.runtime.notation.impl.FontStyleImpl#isBold Bold}
* - {@link org.eclipse.gmf.runtime.notation.impl.FontStyleImpl#isItalic Italic}
* - {@link org.eclipse.gmf.runtime.notation.impl.FontStyleImpl#isUnderline Underline}
* - {@link org.eclipse.gmf.runtime.notation.impl.FontStyleImpl#isStrikeThrough Strike Through}
*
*
*
* @generated
*/ /*
* @canBeSeenBy %partners
*/ public class FontStyleImpl extends EObjectImpl implements FontStyle {
/**
*
public void setFontName (String newFontName) {String oldFontName = fontName; fontName = (newFontName == null) ? null : newFontName; if (eNotificationRequired ()) eNotify (new ENotificationImpl (this, Notification.SET, NotationPackage.FONT_STYLE__FONT_NAME, oldFontName, fontName));}
*
* @generated
*/
public void setFontName (String newFontName) {
String oldFontName = fontName;
fontName = (newFontName == null) ? null : newFontName;
if (eNotificationRequired ()) eNotify (new ENotificationImpl (this, Notification.SET, NotationPackage.FONT_STYLE__FONT_NAME, oldFontName, fontName));
}
}
//FontStyleImpl