diff options
Diffstat (limited to 'plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFStyleImpl.java')
-rw-r--r-- | plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFStyleImpl.java | 172 |
1 files changed, 0 insertions, 172 deletions
diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFStyleImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFStyleImpl.java deleted file mode 100644 index 57de23718..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFStyleImpl.java +++ /dev/null @@ -1,172 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * 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.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.impl; - -import org.eclipse.eef.EEFStyle; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>EEF Style</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * </p> - * <ul> - * <li>{@link org.eclipse.eef.impl.EEFStyleImpl#getFontExpression <em>Font Expression</em>}</li> - * </ul> - * - * @generated - */ -public abstract class EEFStyleImpl extends MinimalEObjectImpl.Container implements EEFStyle { - /** - * The default value of the '{@link #getFontExpression() <em>Font Expression</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getFontExpression() - * @generated - * @ordered - */ - protected static final String FONT_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getFontExpression() <em>Font Expression</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getFontExpression() - * @generated - * @ordered - */ - protected String fontExpression = FONT_EXPRESSION_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EEFStyleImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return EefPackage.Literals.EEF_STYLE; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String getFontExpression() { - return fontExpression; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void setFontExpression(String newFontExpression) { - String oldFontExpression = fontExpression; - fontExpression = newFontExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_STYLE__FONT_EXPRESSION, oldFontExpression, fontExpression)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case EefPackage.EEF_STYLE__FONT_EXPRESSION: - return getFontExpression(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case EefPackage.EEF_STYLE__FONT_EXPRESSION: - setFontExpression((String) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case EefPackage.EEF_STYLE__FONT_EXPRESSION: - setFontExpression(FONT_EXPRESSION_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case EefPackage.EEF_STYLE__FONT_EXPRESSION: - return FONT_EXPRESSION_EDEFAULT == null ? fontExpression != null : !FONT_EXPRESSION_EDEFAULT.equals(fontExpression); - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) - return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (fontExpression: "); //$NON-NLS-1$ - result.append(fontExpression); - result.append(')'); - return result.toString(); - } - -} //EEFStyleImpl |