Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTextStyleImpl.java')
-rw-r--r--plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTextStyleImpl.java231
1 files changed, 0 insertions, 231 deletions
diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTextStyleImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTextStyleImpl.java
deleted file mode 100644
index 85bfbc975..000000000
--- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTextStyleImpl.java
+++ /dev/null
@@ -1,231 +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.EEFTextStyle;
-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;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>EEF Text Style</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * </p>
- * <ul>
- * <li>{@link org.eclipse.eef.impl.EEFTextStyleImpl#getBackgroundColorExpression <em>Background Color Expression</em>}</li>
- * <li>{@link org.eclipse.eef.impl.EEFTextStyleImpl#getForegroundColorExpression <em>Foreground Color Expression</em>}</li>
- * </ul>
- *
- * @generated
- */
-public class EEFTextStyleImpl extends EEFStyleImpl implements EEFTextStyle {
- /**
- * The default value of the '{@link #getBackgroundColorExpression() <em>Background Color Expression</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getBackgroundColorExpression()
- * @generated
- * @ordered
- */
- protected static final String BACKGROUND_COLOR_EXPRESSION_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getBackgroundColorExpression() <em>Background Color Expression</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getBackgroundColorExpression()
- * @generated
- * @ordered
- */
- protected String backgroundColorExpression = BACKGROUND_COLOR_EXPRESSION_EDEFAULT;
-
- /**
- * The default value of the '{@link #getForegroundColorExpression() <em>Foreground Color Expression</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getForegroundColorExpression()
- * @generated
- * @ordered
- */
- protected static final String FOREGROUND_COLOR_EXPRESSION_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getForegroundColorExpression() <em>Foreground Color Expression</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getForegroundColorExpression()
- * @generated
- * @ordered
- */
- protected String foregroundColorExpression = FOREGROUND_COLOR_EXPRESSION_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected EEFTextStyleImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return EefPackage.Literals.EEF_TEXT_STYLE;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String getBackgroundColorExpression() {
- return backgroundColorExpression;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void setBackgroundColorExpression(String newBackgroundColorExpression) {
- String oldBackgroundColorExpression = backgroundColorExpression;
- backgroundColorExpression = newBackgroundColorExpression;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_TEXT_STYLE__BACKGROUND_COLOR_EXPRESSION,
- oldBackgroundColorExpression, backgroundColorExpression));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String getForegroundColorExpression() {
- return foregroundColorExpression;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void setForegroundColorExpression(String newForegroundColorExpression) {
- String oldForegroundColorExpression = foregroundColorExpression;
- foregroundColorExpression = newForegroundColorExpression;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_TEXT_STYLE__FOREGROUND_COLOR_EXPRESSION,
- oldForegroundColorExpression, foregroundColorExpression));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case EefPackage.EEF_TEXT_STYLE__BACKGROUND_COLOR_EXPRESSION:
- return getBackgroundColorExpression();
- case EefPackage.EEF_TEXT_STYLE__FOREGROUND_COLOR_EXPRESSION:
- return getForegroundColorExpression();
- }
- 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_TEXT_STYLE__BACKGROUND_COLOR_EXPRESSION:
- setBackgroundColorExpression((String) newValue);
- return;
- case EefPackage.EEF_TEXT_STYLE__FOREGROUND_COLOR_EXPRESSION:
- setForegroundColorExpression((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_TEXT_STYLE__BACKGROUND_COLOR_EXPRESSION:
- setBackgroundColorExpression(BACKGROUND_COLOR_EXPRESSION_EDEFAULT);
- return;
- case EefPackage.EEF_TEXT_STYLE__FOREGROUND_COLOR_EXPRESSION:
- setForegroundColorExpression(FOREGROUND_COLOR_EXPRESSION_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case EefPackage.EEF_TEXT_STYLE__BACKGROUND_COLOR_EXPRESSION:
- return BACKGROUND_COLOR_EXPRESSION_EDEFAULT == null ? backgroundColorExpression != null
- : !BACKGROUND_COLOR_EXPRESSION_EDEFAULT.equals(backgroundColorExpression);
- case EefPackage.EEF_TEXT_STYLE__FOREGROUND_COLOR_EXPRESSION:
- return FOREGROUND_COLOR_EXPRESSION_EDEFAULT == null ? foregroundColorExpression != null
- : !FOREGROUND_COLOR_EXPRESSION_EDEFAULT.equals(foregroundColorExpression);
- }
- 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(" (backgroundColorExpression: "); //$NON-NLS-1$
- result.append(backgroundColorExpression);
- result.append(", foregroundColorExpression: "); //$NON-NLS-1$
- result.append(foregroundColorExpression);
- result.append(')');
- return result.toString();
- }
-
-} //EEFTextStyleImpl

Back to the top