| /** |
| * |
| * 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 2.0 |
| * which accompanies this distribution, and is available at |
| * https://www.eclipse.org/legal/epl-2.0/ |
| * |
| * SPDX-License-Identifier: EPL-2.0 |
| * |
| * Contributors: |
| * Christophe Loetz (Loetz GmbH&Co.KG) - initial implementation |
| */ |
| package org.eclipse.osbp.infogrid.model.gridsource.style.util; |
| |
| import org.eclipse.emf.common.notify.Adapter; |
| import org.eclipse.emf.common.notify.Notifier; |
| |
| import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; |
| |
| import org.eclipse.emf.ecore.EObject; |
| |
| import org.eclipse.osbp.infogrid.model.gridsource.style.*; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * The <b>Adapter Factory</b> for the model. |
| * It provides an adapter <code>createXXX</code> method for each class of the model. |
| * <!-- end-user-doc --> |
| * @see org.eclipse.osbp.infogrid.model.gridsource.style.CxGridStylePackage |
| * @generated |
| */ |
| public class CxGridStyleAdapterFactory extends AdapterFactoryImpl { |
| /** |
| * The cached model package. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| protected static CxGridStylePackage modelPackage; |
| |
| /** |
| * Creates an instance of the adapter factory. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public CxGridStyleAdapterFactory() { |
| if (modelPackage == null) { |
| modelPackage = CxGridStylePackage.eINSTANCE; |
| } |
| } |
| |
| /** |
| * Returns whether this factory is applicable for the type of the object. |
| * <!-- begin-user-doc --> |
| * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model. |
| * <!-- end-user-doc --> |
| * @return whether this factory is applicable for the type of the object. |
| * @generated |
| */ |
| @Override |
| public boolean isFactoryForType(Object object) { |
| if (object == modelPackage) { |
| return true; |
| } |
| if (object instanceof EObject) { |
| return ((EObject)object).eClass().getEPackage() == modelPackage; |
| } |
| return false; |
| } |
| |
| /** |
| * The switch that delegates to the <code>createXXX</code> methods. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| protected CxGridStyleSwitch<Adapter> modelSwitch = |
| new CxGridStyleSwitch<Adapter>() { |
| @Override |
| public Adapter caseCxGridPropStyle(CxGridPropStyle object) { |
| return createCxGridPropStyleAdapter(); |
| } |
| @Override |
| public Adapter caseCxGridPropHtmlStyle(CxGridPropHtmlStyle object) { |
| return createCxGridPropHtmlStyleAdapter(); |
| } |
| @Override |
| public Adapter caseCxGridPropTextStyle(CxGridPropTextStyle object) { |
| return createCxGridPropTextStyleAdapter(); |
| } |
| @Override |
| public Adapter caseCxGridPropButtonStyle(CxGridPropButtonStyle object) { |
| return createCxGridPropButtonStyleAdapter(); |
| } |
| @Override |
| public Adapter caseCxGridPropProgressbarStyle(CxGridPropProgressbarStyle object) { |
| return createCxGridPropProgressbarStyleAdapter(); |
| } |
| @Override |
| public Adapter caseCxGridPropSparklineStyle(CxGridPropSparklineStyle object) { |
| return createCxGridPropSparklineStyleAdapter(); |
| } |
| @Override |
| public Adapter caseCxGridPropBooleanStyle(CxGridPropBooleanStyle object) { |
| return createCxGridPropBooleanStyleAdapter(); |
| } |
| @Override |
| public Adapter caseCxGridPropNumberStyle(CxGridPropNumberStyle object) { |
| return createCxGridPropNumberStyleAdapter(); |
| } |
| @Override |
| public Adapter caseCxGridPropBlobImageStyle(CxGridPropBlobImageStyle object) { |
| return createCxGridPropBlobImageStyleAdapter(); |
| } |
| @Override |
| public Adapter caseCxGridPropImageStyle(CxGridPropImageStyle object) { |
| return createCxGridPropImageStyleAdapter(); |
| } |
| @Override |
| public Adapter caseCxGridPropIndicatorStyle(CxGridPropIndicatorStyle object) { |
| return createCxGridPropIndicatorStyleAdapter(); |
| } |
| @Override |
| public Adapter caseCxGridPropDateStyle(CxGridPropDateStyle object) { |
| return createCxGridPropDateStyleAdapter(); |
| } |
| @Override |
| public Adapter caseCxGridStyleConfig(CxGridStyleConfig object) { |
| return createCxGridStyleConfigAdapter(); |
| } |
| @Override |
| public Adapter caseCxGridStyleConfigStringToResource(CxGridStyleConfigStringToResource object) { |
| return createCxGridStyleConfigStringToResourceAdapter(); |
| } |
| @Override |
| public Adapter caseCxGridStyleConfigNumericToResource(CxGridStyleConfigNumericToResource object) { |
| return createCxGridStyleConfigNumericToResourceAdapter(); |
| } |
| @Override |
| public Adapter caseCxGridEventTopicAble(CxGridEventTopicAble object) { |
| return createCxGridEventTopicAbleAdapter(); |
| } |
| @Override |
| public Adapter caseCxGridPropQuantityStyle(CxGridPropQuantityStyle object) { |
| return createCxGridPropQuantityStyleAdapter(); |
| } |
| @Override |
| public Adapter caseCxGridPropPriceStyle(CxGridPropPriceStyle object) { |
| return createCxGridPropPriceStyleAdapter(); |
| } |
| @Override |
| public Adapter defaultCase(EObject object) { |
| return createEObjectAdapter(); |
| } |
| }; |
| |
| /** |
| * Creates an adapter for the <code>target</code>. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param target the object to adapt. |
| * @return the adapter for the <code>target</code>. |
| * @generated |
| */ |
| @Override |
| public Adapter createAdapter(Notifier target) { |
| return modelSwitch.doSwitch((EObject)target); |
| } |
| |
| |
| /** |
| * Creates a new adapter for an object of class '{@link org.eclipse.osbp.infogrid.model.gridsource.style.CxGridPropStyle <em>Cx Grid Prop Style</em>}'. |
| * <!-- begin-user-doc --> |
| * This default implementation returns null so that we can easily ignore cases; |
| * it's useful to ignore a case when inheritance will catch all the cases anyway. |
| * <!-- end-user-doc --> |
| * @return the new adapter. |
| * @see org.eclipse.osbp.infogrid.model.gridsource.style.CxGridPropStyle |
| * @generated |
| */ |
| public Adapter createCxGridPropStyleAdapter() { |
| return null; |
| } |
| |
| /** |
| * Creates a new adapter for an object of class '{@link org.eclipse.osbp.infogrid.model.gridsource.style.CxGridPropHtmlStyle <em>Cx Grid Prop Html Style</em>}'. |
| * <!-- begin-user-doc --> |
| * This default implementation returns null so that we can easily ignore cases; |
| * it's useful to ignore a case when inheritance will catch all the cases anyway. |
| * <!-- end-user-doc --> |
| * @return the new adapter. |
| * @see org.eclipse.osbp.infogrid.model.gridsource.style.CxGridPropHtmlStyle |
| * @generated |
| */ |
| public Adapter createCxGridPropHtmlStyleAdapter() { |
| return null; |
| } |
| |
| /** |
| * Creates a new adapter for an object of class '{@link org.eclipse.osbp.infogrid.model.gridsource.style.CxGridPropTextStyle <em>Cx Grid Prop Text Style</em>}'. |
| * <!-- begin-user-doc --> |
| * This default implementation returns null so that we can easily ignore cases; |
| * it's useful to ignore a case when inheritance will catch all the cases anyway. |
| * <!-- end-user-doc --> |
| * @return the new adapter. |
| * @see org.eclipse.osbp.infogrid.model.gridsource.style.CxGridPropTextStyle |
| * @generated |
| */ |
| public Adapter createCxGridPropTextStyleAdapter() { |
| return null; |
| } |
| |
| /** |
| * Creates a new adapter for an object of class '{@link org.eclipse.osbp.infogrid.model.gridsource.style.CxGridPropButtonStyle <em>Cx Grid Prop Button Style</em>}'. |
| * <!-- begin-user-doc --> |
| * This default implementation returns null so that we can easily ignore cases; |
| * it's useful to ignore a case when inheritance will catch all the cases anyway. |
| * <!-- end-user-doc --> |
| * @return the new adapter. |
| * @see org.eclipse.osbp.infogrid.model.gridsource.style.CxGridPropButtonStyle |
| * @generated |
| */ |
| public Adapter createCxGridPropButtonStyleAdapter() { |
| return null; |
| } |
| |
| /** |
| * Creates a new adapter for an object of class '{@link org.eclipse.osbp.infogrid.model.gridsource.style.CxGridPropProgressbarStyle <em>Cx Grid Prop Progressbar Style</em>}'. |
| * <!-- begin-user-doc --> |
| * This default implementation returns null so that we can easily ignore cases; |
| * it's useful to ignore a case when inheritance will catch all the cases anyway. |
| * <!-- end-user-doc --> |
| * @return the new adapter. |
| * @see org.eclipse.osbp.infogrid.model.gridsource.style.CxGridPropProgressbarStyle |
| * @generated |
| */ |
| public Adapter createCxGridPropProgressbarStyleAdapter() { |
| return null; |
| } |
| |
| /** |
| * Creates a new adapter for an object of class '{@link org.eclipse.osbp.infogrid.model.gridsource.style.CxGridPropSparklineStyle <em>Cx Grid Prop Sparkline Style</em>}'. |
| * <!-- begin-user-doc --> |
| * This default implementation returns null so that we can easily ignore cases; |
| * it's useful to ignore a case when inheritance will catch all the cases anyway. |
| * <!-- end-user-doc --> |
| * @return the new adapter. |
| * @see org.eclipse.osbp.infogrid.model.gridsource.style.CxGridPropSparklineStyle |
| * @generated |
| */ |
| public Adapter createCxGridPropSparklineStyleAdapter() { |
| return null; |
| } |
| |
| /** |
| * Creates a new adapter for an object of class '{@link org.eclipse.osbp.infogrid.model.gridsource.style.CxGridPropBooleanStyle <em>Cx Grid Prop Boolean Style</em>}'. |
| * <!-- begin-user-doc --> |
| * This default implementation returns null so that we can easily ignore cases; |
| * it's useful to ignore a case when inheritance will catch all the cases anyway. |
| * <!-- end-user-doc --> |
| * @return the new adapter. |
| * @see org.eclipse.osbp.infogrid.model.gridsource.style.CxGridPropBooleanStyle |
| * @generated |
| */ |
| public Adapter createCxGridPropBooleanStyleAdapter() { |
| return null; |
| } |
| |
| /** |
| * Creates a new adapter for an object of class '{@link org.eclipse.osbp.infogrid.model.gridsource.style.CxGridPropNumberStyle <em>Cx Grid Prop Number Style</em>}'. |
| * <!-- begin-user-doc --> |
| * This default implementation returns null so that we can easily ignore cases; |
| * it's useful to ignore a case when inheritance will catch all the cases anyway. |
| * <!-- end-user-doc --> |
| * @return the new adapter. |
| * @see org.eclipse.osbp.infogrid.model.gridsource.style.CxGridPropNumberStyle |
| * @generated |
| */ |
| public Adapter createCxGridPropNumberStyleAdapter() { |
| return null; |
| } |
| |
| /** |
| * Creates a new adapter for an object of class '{@link org.eclipse.osbp.infogrid.model.gridsource.style.CxGridPropBlobImageStyle <em>Cx Grid Prop Blob Image Style</em>}'. |
| * <!-- begin-user-doc --> |
| * This default implementation returns null so that we can easily ignore cases; |
| * it's useful to ignore a case when inheritance will catch all the cases anyway. |
| * <!-- end-user-doc --> |
| * @return the new adapter. |
| * @see org.eclipse.osbp.infogrid.model.gridsource.style.CxGridPropBlobImageStyle |
| * @generated |
| */ |
| public Adapter createCxGridPropBlobImageStyleAdapter() { |
| return null; |
| } |
| |
| /** |
| * Creates a new adapter for an object of class '{@link org.eclipse.osbp.infogrid.model.gridsource.style.CxGridPropImageStyle <em>Cx Grid Prop Image Style</em>}'. |
| * <!-- begin-user-doc --> |
| * This default implementation returns null so that we can easily ignore cases; |
| * it's useful to ignore a case when inheritance will catch all the cases anyway. |
| * <!-- end-user-doc --> |
| * @return the new adapter. |
| * @see org.eclipse.osbp.infogrid.model.gridsource.style.CxGridPropImageStyle |
| * @generated |
| */ |
| public Adapter createCxGridPropImageStyleAdapter() { |
| return null; |
| } |
| |
| /** |
| * Creates a new adapter for an object of class '{@link org.eclipse.osbp.infogrid.model.gridsource.style.CxGridPropIndicatorStyle <em>Cx Grid Prop Indicator Style</em>}'. |
| * <!-- begin-user-doc --> |
| * This default implementation returns null so that we can easily ignore cases; |
| * it's useful to ignore a case when inheritance will catch all the cases anyway. |
| * <!-- end-user-doc --> |
| * @return the new adapter. |
| * @see org.eclipse.osbp.infogrid.model.gridsource.style.CxGridPropIndicatorStyle |
| * @generated |
| */ |
| public Adapter createCxGridPropIndicatorStyleAdapter() { |
| return null; |
| } |
| |
| /** |
| * Creates a new adapter for an object of class '{@link org.eclipse.osbp.infogrid.model.gridsource.style.CxGridPropDateStyle <em>Cx Grid Prop Date Style</em>}'. |
| * <!-- begin-user-doc --> |
| * This default implementation returns null so that we can easily ignore cases; |
| * it's useful to ignore a case when inheritance will catch all the cases anyway. |
| * <!-- end-user-doc --> |
| * @return the new adapter. |
| * @see org.eclipse.osbp.infogrid.model.gridsource.style.CxGridPropDateStyle |
| * @generated |
| */ |
| public Adapter createCxGridPropDateStyleAdapter() { |
| return null; |
| } |
| |
| /** |
| * Creates a new adapter for an object of class '{@link org.eclipse.osbp.infogrid.model.gridsource.style.CxGridStyleConfig <em>Config</em>}'. |
| * <!-- begin-user-doc --> |
| * This default implementation returns null so that we can easily ignore cases; |
| * it's useful to ignore a case when inheritance will catch all the cases anyway. |
| * <!-- end-user-doc --> |
| * @return the new adapter. |
| * @see org.eclipse.osbp.infogrid.model.gridsource.style.CxGridStyleConfig |
| * @generated |
| */ |
| public Adapter createCxGridStyleConfigAdapter() { |
| return null; |
| } |
| |
| /** |
| * Creates a new adapter for an object of class '{@link org.eclipse.osbp.infogrid.model.gridsource.style.CxGridStyleConfigStringToResource <em>Config String To Resource</em>}'. |
| * <!-- begin-user-doc --> |
| * This default implementation returns null so that we can easily ignore cases; |
| * it's useful to ignore a case when inheritance will catch all the cases anyway. |
| * <!-- end-user-doc --> |
| * @return the new adapter. |
| * @see org.eclipse.osbp.infogrid.model.gridsource.style.CxGridStyleConfigStringToResource |
| * @generated |
| */ |
| public Adapter createCxGridStyleConfigStringToResourceAdapter() { |
| return null; |
| } |
| |
| /** |
| * Creates a new adapter for an object of class '{@link org.eclipse.osbp.infogrid.model.gridsource.style.CxGridStyleConfigNumericToResource <em>Config Numeric To Resource</em>}'. |
| * <!-- begin-user-doc --> |
| * This default implementation returns null so that we can easily ignore cases; |
| * it's useful to ignore a case when inheritance will catch all the cases anyway. |
| * <!-- end-user-doc --> |
| * @return the new adapter. |
| * @see org.eclipse.osbp.infogrid.model.gridsource.style.CxGridStyleConfigNumericToResource |
| * @generated |
| */ |
| public Adapter createCxGridStyleConfigNumericToResourceAdapter() { |
| return null; |
| } |
| |
| /** |
| * Creates a new adapter for an object of class '{@link org.eclipse.osbp.infogrid.model.gridsource.style.CxGridEventTopicAble <em>Cx Grid Event Topic Able</em>}'. |
| * <!-- begin-user-doc --> |
| * This default implementation returns null so that we can easily ignore cases; |
| * it's useful to ignore a case when inheritance will catch all the cases anyway. |
| * <!-- end-user-doc --> |
| * @return the new adapter. |
| * @see org.eclipse.osbp.infogrid.model.gridsource.style.CxGridEventTopicAble |
| * @generated |
| */ |
| public Adapter createCxGridEventTopicAbleAdapter() { |
| return null; |
| } |
| |
| /** |
| * Creates a new adapter for an object of class '{@link org.eclipse.osbp.infogrid.model.gridsource.style.CxGridPropQuantityStyle <em>Cx Grid Prop Quantity Style</em>}'. |
| * <!-- begin-user-doc --> |
| * This default implementation returns null so that we can easily ignore cases; |
| * it's useful to ignore a case when inheritance will catch all the cases anyway. |
| * <!-- end-user-doc --> |
| * @return the new adapter. |
| * @see org.eclipse.osbp.infogrid.model.gridsource.style.CxGridPropQuantityStyle |
| * @generated |
| */ |
| public Adapter createCxGridPropQuantityStyleAdapter() { |
| return null; |
| } |
| |
| /** |
| * Creates a new adapter for an object of class '{@link org.eclipse.osbp.infogrid.model.gridsource.style.CxGridPropPriceStyle <em>Cx Grid Prop Price Style</em>}'. |
| * <!-- begin-user-doc --> |
| * This default implementation returns null so that we can easily ignore cases; |
| * it's useful to ignore a case when inheritance will catch all the cases anyway. |
| * <!-- end-user-doc --> |
| * @return the new adapter. |
| * @see org.eclipse.osbp.infogrid.model.gridsource.style.CxGridPropPriceStyle |
| * @generated |
| */ |
| public Adapter createCxGridPropPriceStyleAdapter() { |
| return null; |
| } |
| |
| /** |
| * Creates a new adapter for the default case. |
| * <!-- begin-user-doc --> |
| * This default implementation returns null. |
| * <!-- end-user-doc --> |
| * @return the new adapter. |
| * @generated |
| */ |
| public Adapter createEObjectAdapter() { |
| return null; |
| } |
| |
| } //CxGridStyleAdapterFactory |