| /** |
| * |
| * Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG (69115 Heidelberg, Germany) |
| * |
| * 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: |
| * Christophe Loetz (Loetz GmbH&Co.KG) - initial implementation |
| */ |
| package org.eclipse.osbp.infogrid.model.gridsource.style.impl; |
| |
| import org.eclipse.emf.ecore.EAttribute; |
| import org.eclipse.emf.ecore.EClass; |
| import org.eclipse.emf.ecore.EClassifier; |
| import org.eclipse.emf.ecore.EEnum; |
| import org.eclipse.emf.ecore.EPackage; |
| import org.eclipse.emf.ecore.EReference; |
| import org.eclipse.emf.ecore.impl.EPackageImpl; |
| import org.eclipse.xtext.common.types.TypesPackage; |
| import org.eclipse.osbp.infogrid.model.gridsource.CxGridSourcePackage; |
| import org.eclipse.osbp.infogrid.model.gridsource.impl.CxGridSourcePackageImpl; |
| import org.eclipse.osbp.infogrid.model.gridsource.style.CxGridStyleFactory; |
| import org.eclipse.osbp.infogrid.model.gridsource.style.CxGridStylePackage; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * An implementation of the model <b>Package</b>. |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public class CxGridStylePackageImpl extends EPackageImpl implements CxGridStylePackage { |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| private EClass cxGridPropStyleEClass = null; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| private EClass cxGridPropHtmlStyleEClass = null; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| private EClass cxGridPropTextStyleEClass = null; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| private EClass cxGridPropButtonStyleEClass = null; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| private EClass cxGridPropProgressbarStyleEClass = null; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| private EClass cxGridPropSparklineStyleEClass = null; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| private EClass cxGridPropBooleanStyleEClass = null; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| private EClass cxGridPropNumberStyleEClass = null; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| private EClass cxGridPropImageStyleEClass = null; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| private EClass cxGridPropIndicatorStyleEClass = null; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| private EClass cxGridPropDateStyleEClass = null; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| private EClass cxGridStyleConfigEClass = null; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| private EClass cxGridStyleConfigStringToResourceEClass = null; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| private EClass cxGridStyleConfigNumericToResourceEClass = null; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| private EClass cxGridEventTopicAbleEClass = null; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| private EClass cxGridPropQuantityStyleEClass = null; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| private EClass cxGridPropPriceStyleEClass = null; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| private EEnum cxGridCompareEEnum = null; |
| |
| /** |
| * Creates an instance of the model <b>Package</b>, registered with |
| * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package |
| * package URI value. |
| * <p>Note: the correct way to create the package is via the static |
| * factory method {@link #init init()}, which also performs |
| * initialization of the package, or returns the registered package, |
| * if one already exists. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see org.eclipse.emf.ecore.EPackage.Registry |
| * @see org.eclipse.osbp.infogrid.model.gridsource.style.CxGridStylePackage#eNS_URI |
| * @see #init() |
| * @generated |
| */ |
| private CxGridStylePackageImpl() { |
| super(eNS_URI, CxGridStyleFactory.eINSTANCE); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| private static boolean isInited = false; |
| |
| /** |
| * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends. |
| * |
| * <p>This method is used to initialize {@link CxGridStylePackage#eINSTANCE} when that field is accessed. |
| * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #eNS_URI |
| * @generated |
| */ |
| public static CxGridStylePackage init() { |
| if (isInited) return (CxGridStylePackage)EPackage.Registry.INSTANCE.getEPackage(CxGridStylePackage.eNS_URI); |
| |
| // Obtain or create and register package |
| CxGridStylePackageImpl theCxGridStylePackage = (CxGridStylePackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof CxGridStylePackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new CxGridStylePackageImpl()); |
| |
| isInited = true; |
| |
| // Initialize simple dependencies |
| TypesPackage.eINSTANCE.eClass(); |
| |
| // Obtain or create and register interdependencies |
| CxGridSourcePackageImpl theCxGridSourcePackage = (CxGridSourcePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(CxGridSourcePackage.eNS_URI) instanceof CxGridSourcePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(CxGridSourcePackage.eNS_URI) : CxGridSourcePackage.eINSTANCE); |
| |
| // Load packages |
| theCxGridSourcePackage.loadPackage(); |
| |
| // Fix loaded packages |
| theCxGridStylePackage.fixPackageContents(); |
| theCxGridSourcePackage.fixPackageContents(); |
| |
| // Mark meta-data to indicate it can't be changed |
| theCxGridStylePackage.freeze(); |
| |
| |
| // Update the registry and return the package |
| EPackage.Registry.INSTANCE.put(CxGridStylePackage.eNS_URI, theCxGridStylePackage); |
| return theCxGridStylePackage; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EClass getCxGridPropStyle() { |
| if (cxGridPropStyleEClass == null) { |
| cxGridPropStyleEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(CxGridStylePackage.eNS_URI).getEClassifiers().get(0); |
| } |
| return cxGridPropStyleEClass; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EClass getCxGridPropHtmlStyle() { |
| if (cxGridPropHtmlStyleEClass == null) { |
| cxGridPropHtmlStyleEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(CxGridStylePackage.eNS_URI).getEClassifiers().get(1); |
| } |
| return cxGridPropHtmlStyleEClass; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EClass getCxGridPropTextStyle() { |
| if (cxGridPropTextStyleEClass == null) { |
| cxGridPropTextStyleEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(CxGridStylePackage.eNS_URI).getEClassifiers().get(2); |
| } |
| return cxGridPropTextStyleEClass; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EClass getCxGridPropButtonStyle() { |
| if (cxGridPropButtonStyleEClass == null) { |
| cxGridPropButtonStyleEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(CxGridStylePackage.eNS_URI).getEClassifiers().get(3); |
| } |
| return cxGridPropButtonStyleEClass; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EClass getCxGridPropProgressbarStyle() { |
| if (cxGridPropProgressbarStyleEClass == null) { |
| cxGridPropProgressbarStyleEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(CxGridStylePackage.eNS_URI).getEClassifiers().get(4); |
| } |
| return cxGridPropProgressbarStyleEClass; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EAttribute getCxGridPropProgressbarStyle_MaxValue() { |
| return (EAttribute)getCxGridPropProgressbarStyle().getEStructuralFeatures().get(0); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EClass getCxGridPropSparklineStyle() { |
| if (cxGridPropSparklineStyleEClass == null) { |
| cxGridPropSparklineStyleEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(CxGridStylePackage.eNS_URI).getEClassifiers().get(5); |
| } |
| return cxGridPropSparklineStyleEClass; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EReference getCxGridPropSparklineStyle_Field() { |
| return (EReference)getCxGridPropSparklineStyle().getEStructuralFeatures().get(0); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EClass getCxGridPropBooleanStyle() { |
| if (cxGridPropBooleanStyleEClass == null) { |
| cxGridPropBooleanStyleEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(CxGridStylePackage.eNS_URI).getEClassifiers().get(6); |
| } |
| return cxGridPropBooleanStyleEClass; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EClass getCxGridPropNumberStyle() { |
| if (cxGridPropNumberStyleEClass == null) { |
| cxGridPropNumberStyleEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(CxGridStylePackage.eNS_URI).getEClassifiers().get(7); |
| } |
| return cxGridPropNumberStyleEClass; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EAttribute getCxGridPropNumberStyle_NumberFormat() { |
| return (EAttribute)getCxGridPropNumberStyle().getEStructuralFeatures().get(0); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EClass getCxGridPropImageStyle() { |
| if (cxGridPropImageStyleEClass == null) { |
| cxGridPropImageStyleEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(CxGridStylePackage.eNS_URI).getEClassifiers().get(8); |
| } |
| return cxGridPropImageStyleEClass; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EReference getCxGridPropImageStyle_Configs() { |
| return (EReference)getCxGridPropImageStyle().getEStructuralFeatures().get(0); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EClass getCxGridPropIndicatorStyle() { |
| if (cxGridPropIndicatorStyleEClass == null) { |
| cxGridPropIndicatorStyleEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(CxGridStylePackage.eNS_URI).getEClassifiers().get(9); |
| } |
| return cxGridPropIndicatorStyleEClass; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EAttribute getCxGridPropIndicatorStyle_GreenStarts() { |
| return (EAttribute)getCxGridPropIndicatorStyle().getEStructuralFeatures().get(0); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EAttribute getCxGridPropIndicatorStyle_RedEnds() { |
| return (EAttribute)getCxGridPropIndicatorStyle().getEStructuralFeatures().get(1); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EClass getCxGridPropDateStyle() { |
| if (cxGridPropDateStyleEClass == null) { |
| cxGridPropDateStyleEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(CxGridStylePackage.eNS_URI).getEClassifiers().get(10); |
| } |
| return cxGridPropDateStyleEClass; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EAttribute getCxGridPropDateStyle_DateFormat() { |
| return (EAttribute)getCxGridPropDateStyle().getEStructuralFeatures().get(0); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EClass getCxGridStyleConfig() { |
| if (cxGridStyleConfigEClass == null) { |
| cxGridStyleConfigEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(CxGridStylePackage.eNS_URI).getEClassifiers().get(11); |
| } |
| return cxGridStyleConfigEClass; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EClass getCxGridStyleConfigStringToResource() { |
| if (cxGridStyleConfigStringToResourceEClass == null) { |
| cxGridStyleConfigStringToResourceEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(CxGridStylePackage.eNS_URI).getEClassifiers().get(12); |
| } |
| return cxGridStyleConfigStringToResourceEClass; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EAttribute getCxGridStyleConfigStringToResource_Value() { |
| return (EAttribute)getCxGridStyleConfigStringToResource().getEStructuralFeatures().get(0); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EAttribute getCxGridStyleConfigStringToResource_Compare() { |
| return (EAttribute)getCxGridStyleConfigStringToResource().getEStructuralFeatures().get(1); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EAttribute getCxGridStyleConfigStringToResource_ResourceThemePath() { |
| return (EAttribute)getCxGridStyleConfigStringToResource().getEStructuralFeatures().get(2); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EClass getCxGridStyleConfigNumericToResource() { |
| if (cxGridStyleConfigNumericToResourceEClass == null) { |
| cxGridStyleConfigNumericToResourceEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(CxGridStylePackage.eNS_URI).getEClassifiers().get(13); |
| } |
| return cxGridStyleConfigNumericToResourceEClass; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EAttribute getCxGridStyleConfigNumericToResource_Value() { |
| return (EAttribute)getCxGridStyleConfigNumericToResource().getEStructuralFeatures().get(0); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EAttribute getCxGridStyleConfigNumericToResource_Compare() { |
| return (EAttribute)getCxGridStyleConfigNumericToResource().getEStructuralFeatures().get(1); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EAttribute getCxGridStyleConfigNumericToResource_ResourceThemePath() { |
| return (EAttribute)getCxGridStyleConfigNumericToResource().getEStructuralFeatures().get(2); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EClass getCxGridEventTopicAble() { |
| if (cxGridEventTopicAbleEClass == null) { |
| cxGridEventTopicAbleEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(CxGridStylePackage.eNS_URI).getEClassifiers().get(15); |
| } |
| return cxGridEventTopicAbleEClass; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EAttribute getCxGridEventTopicAble_EventTopic() { |
| return (EAttribute)getCxGridEventTopicAble().getEStructuralFeatures().get(0); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EClass getCxGridPropQuantityStyle() { |
| if (cxGridPropQuantityStyleEClass == null) { |
| cxGridPropQuantityStyleEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(CxGridStylePackage.eNS_URI).getEClassifiers().get(16); |
| } |
| return cxGridPropQuantityStyleEClass; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EReference getCxGridPropQuantityStyle_ValuePropertyPath() { |
| return (EReference)getCxGridPropQuantityStyle().getEStructuralFeatures().get(0); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EAttribute getCxGridPropQuantityStyle_ValuePropertyDotPath() { |
| return (EAttribute)getCxGridPropQuantityStyle().getEStructuralFeatures().get(1); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EAttribute getCxGridPropQuantityStyle_ValueNumberFormat() { |
| return (EAttribute)getCxGridPropQuantityStyle().getEStructuralFeatures().get(2); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EReference getCxGridPropQuantityStyle_UomPropertyPath() { |
| return (EReference)getCxGridPropQuantityStyle().getEStructuralFeatures().get(3); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EAttribute getCxGridPropQuantityStyle_UomPropertyDotPath() { |
| return (EAttribute)getCxGridPropQuantityStyle().getEStructuralFeatures().get(4); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EAttribute getCxGridPropQuantityStyle_HtmlPattern() { |
| return (EAttribute)getCxGridPropQuantityStyle().getEStructuralFeatures().get(5); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EClass getCxGridPropPriceStyle() { |
| if (cxGridPropPriceStyleEClass == null) { |
| cxGridPropPriceStyleEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(CxGridStylePackage.eNS_URI).getEClassifiers().get(17); |
| } |
| return cxGridPropPriceStyleEClass; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EReference getCxGridPropPriceStyle_ValuePropertyPath() { |
| return (EReference)getCxGridPropPriceStyle().getEStructuralFeatures().get(0); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EAttribute getCxGridPropPriceStyle_ValuePropertyDotPath() { |
| return (EAttribute)getCxGridPropPriceStyle().getEStructuralFeatures().get(1); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EAttribute getCxGridPropPriceStyle_ValueNumberFormat() { |
| return (EAttribute)getCxGridPropPriceStyle().getEStructuralFeatures().get(2); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EReference getCxGridPropPriceStyle_CurrencyPropertyPath() { |
| return (EReference)getCxGridPropPriceStyle().getEStructuralFeatures().get(3); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EAttribute getCxGridPropPriceStyle_CurrencyPropertyDotPath() { |
| return (EAttribute)getCxGridPropPriceStyle().getEStructuralFeatures().get(4); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EAttribute getCxGridPropPriceStyle_HtmlPattern() { |
| return (EAttribute)getCxGridPropPriceStyle().getEStructuralFeatures().get(5); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EEnum getCxGridCompare() { |
| if (cxGridCompareEEnum == null) { |
| cxGridCompareEEnum = (EEnum)EPackage.Registry.INSTANCE.getEPackage(CxGridStylePackage.eNS_URI).getEClassifiers().get(14); |
| } |
| return cxGridCompareEEnum; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public CxGridStyleFactory getCxGridStyleFactory() { |
| return (CxGridStyleFactory)getEFactoryInstance(); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| private boolean isFixed = false; |
| |
| /** |
| * Fixes up the loaded package, to make it appear as if it had been programmatically built. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public void fixPackageContents() { |
| if (isFixed) return; |
| isFixed = true; |
| fixEClassifiers(); |
| } |
| |
| /** |
| * Sets the instance class on the given classifier. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| @Override |
| protected void fixInstanceClass(EClassifier eClassifier) { |
| if (eClassifier.getInstanceClassName() == null) { |
| eClassifier.setInstanceClassName("org.eclipse.osbp.infogrid.model.gridsource.style." + eClassifier.getName()); |
| setGeneratedClassName(eClassifier); |
| } |
| } |
| |
| } //CxGridStylePackageImpl |