Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'bundles/org.eclipse.e4.tools.css.editor/src-gen/org/eclipse/e4/cSS/impl/RulesImpl.java')
-rw-r--r--bundles/org.eclipse.e4.tools.css.editor/src-gen/org/eclipse/e4/cSS/impl/RulesImpl.java210
1 files changed, 0 insertions, 210 deletions
diff --git a/bundles/org.eclipse.e4.tools.css.editor/src-gen/org/eclipse/e4/cSS/impl/RulesImpl.java b/bundles/org.eclipse.e4.tools.css.editor/src-gen/org/eclipse/e4/cSS/impl/RulesImpl.java
deleted file mode 100644
index 7525fe53..00000000
--- a/bundles/org.eclipse.e4.tools.css.editor/src-gen/org/eclipse/e4/cSS/impl/RulesImpl.java
+++ /dev/null
@@ -1,210 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
-
- */
-package org.eclipse.e4.cSS.impl;
-
-import java.util.Collection;
-
-import org.eclipse.e4.cSS.CSSPackage;
-import org.eclipse.e4.cSS.Rules;
-import org.eclipse.e4.cSS.declaration;
-import org.eclipse.e4.cSS.selector;
-
-import org.eclipse.emf.common.notify.NotificationChain;
-
-import org.eclipse.emf.common.util.EList;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-
-import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
-
-import org.eclipse.emf.ecore.util.EObjectContainmentEList;
-import org.eclipse.emf.ecore.util.InternalEList;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Rules</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.e4.cSS.impl.RulesImpl#getSelectors <em>Selectors</em>}</li>
- * <li>{@link org.eclipse.e4.cSS.impl.RulesImpl#getDeclarations <em>Declarations</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class RulesImpl extends MinimalEObjectImpl.Container implements Rules
-{
- /**
- * The cached value of the '{@link #getSelectors() <em>Selectors</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getSelectors()
- * @generated
- * @ordered
- */
- protected EList<selector> selectors;
-
- /**
- * The cached value of the '{@link #getDeclarations() <em>Declarations</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getDeclarations()
- * @generated
- * @ordered
- */
- protected EList<declaration> declarations;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected RulesImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return CSSPackage.Literals.RULES;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<selector> getSelectors()
- {
- if (selectors == null)
- {
- selectors = new EObjectContainmentEList<selector>(selector.class, this, CSSPackage.RULES__SELECTORS);
- }
- return selectors;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<declaration> getDeclarations()
- {
- if (declarations == null)
- {
- declarations = new EObjectContainmentEList<declaration>(declaration.class, this, CSSPackage.RULES__DECLARATIONS);
- }
- return declarations;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- {
- switch (featureID)
- {
- case CSSPackage.RULES__SELECTORS:
- return ((InternalEList<?>)getSelectors()).basicRemove(otherEnd, msgs);
- case CSSPackage.RULES__DECLARATIONS:
- return ((InternalEList<?>)getDeclarations()).basicRemove(otherEnd, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case CSSPackage.RULES__SELECTORS:
- return getSelectors();
- case CSSPackage.RULES__DECLARATIONS:
- return getDeclarations();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case CSSPackage.RULES__SELECTORS:
- getSelectors().clear();
- getSelectors().addAll((Collection<? extends selector>)newValue);
- return;
- case CSSPackage.RULES__DECLARATIONS:
- getDeclarations().clear();
- getDeclarations().addAll((Collection<? extends declaration>)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case CSSPackage.RULES__SELECTORS:
- getSelectors().clear();
- return;
- case CSSPackage.RULES__DECLARATIONS:
- getDeclarations().clear();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case CSSPackage.RULES__SELECTORS:
- return selectors != null && !selectors.isEmpty();
- case CSSPackage.RULES__DECLARATIONS:
- return declarations != null && !declarations.isEmpty();
- }
- return super.eIsSet(featureID);
- }
-
-} //RulesImpl

Back to the top