/**
*/
package rba.view.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 rba.core.AbstractAllocatable;
import rba.core.AbstractContent;
import rba.core.Allocatable;
import rba.core.AllocatableOperator;
import rba.core.AllocatableSet;
import rba.core.Content;
import rba.core.ContentOperator;
import rba.core.ContentSet;
import rba.core.ContentState;
import rba.core.Expression;
import rba.core.ModelElement;
import rba.core.NamedElement;
import rba.core.Operator;
import rba.core.PackagableElement;
import rba.core.RuleObject;
import rba.core.SetExpression;
import rba.core.SugarExpression;
import rba.core.SugarExpressionBase;
import rba.view.*;
/**
* The Adapter Factory for the model. It provides an adapter createXXX
method for
* each class of the model.
* @see rba.view.RBAViewPackage
* @generated
*/
public class RBAViewAdapterFactory extends AdapterFactoryImpl {
/**
* The cached model package.
*
* @generated
*/
protected static RBAViewPackage modelPackage;
/**
* Creates an instance of the adapter factory.
*
* @generated
*/
public RBAViewAdapterFactory() {
if (modelPackage == null) {
modelPackage = RBAViewPackage.eINSTANCE;
}
}
/**
* Returns whether this factory is applicable for the type of the object.
* This implementation
* returns true
if the object is either the model's package or is an instance object of the model.
* @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 createXXX
methods.
*
* @generated
*/
protected RBAViewSwitch modelSwitch = new RBAViewSwitch() {
@Override
public Adapter caseViewContent(ViewContent object) {
return createViewContentAdapter();
}
@Override
public Adapter caseViewContentSet(ViewContentSet object) {
return createViewContentSetAdapter();
}
@Override
public Adapter caseViewContentState(ViewContentState object) {
return createViewContentStateAdapter();
}
@Override
public Adapter caseLayoutManager(LayoutManager object) {
return createLayoutManagerAdapter();
}
@Override
public Adapter caseAlignedLayout(AlignedLayout object) {
return createAlignedLayoutAdapter();
}
@Override
public Adapter caseVerticalLayout(VerticalLayout object) {
return createVerticalLayoutAdapter();
}
@Override
public Adapter caseHorizontalLayout(HorizontalLayout object) {
return createHorizontalLayoutAdapter();
}
@Override
public Adapter caseFixedPositionLayout(FixedPositionLayout object) {
return createFixedPositionLayoutAdapter();
}
@Override
public Adapter casePositionContainer(PositionContainer object) {
return createPositionContainerAdapter();
}
@Override
public Adapter caseDisplay(Display object) {
return createDisplayAdapter();
}
@Override
public Adapter caseCompositeArea(CompositeArea object) {
return createCompositeAreaAdapter();
}
@Override
public Adapter caseArea(Area object) {
return createAreaAdapter();
}
@Override
public Adapter caseAreaSet(AreaSet object) {
return createAreaSetAdapter();
}
@Override
public Adapter caseSizeIdentifier(SizeIdentifier object) {
return createSizeIdentifierAdapter();
}
@Override
public Adapter caseSize(Size object) {
return createSizeAdapter();
}
@Override
public Adapter caseSizeReference(SizeReference object) {
return createSizeReferenceAdapter();
}
@Override
public Adapter caseOffset(Offset object) {
return createOffsetAdapter();
}
@Override
public Adapter caseAreaOperator(AreaOperator object) {
return createAreaOperatorAdapter();
}
@Override
public Adapter caseIsDisplayed(IsDisplayed object) {
return createIsDisplayedAdapter();
}
@Override
public Adapter caseDisplayingContent(DisplayingContent object) {
return createDisplayingContentAdapter();
}
@Override
public Adapter caseIsHidden(IsHidden object) {
return createIsHiddenAdapter();
}
@Override
public Adapter caseViewContentOperator(ViewContentOperator object) {
return createViewContentOperatorAdapter();
}
@Override
public Adapter caseIsVisible(IsVisible object) {
return createIsVisibleAdapter();
}
@Override
public Adapter caseAllInstanceOfArea(AllInstanceOfArea object) {
return createAllInstanceOfAreaAdapter();
}
@Override
public Adapter caseAllInstanceOfViewContent(AllInstanceOfViewContent object) {
return createAllInstanceOfViewContentAdapter();
}
@Override
public Adapter caseIsDisplayedOn(IsDisplayedOn object) {
return createIsDisplayedOnAdapter();
}
@Override
public Adapter caseIsChangedDisplay(IsChangedDisplay object) {
return createIsChangedDisplayAdapter();
}
@Override
public Adapter caseIsTranslatedViewTo(IsTranslatedViewTo object) {
return createIsTranslatedViewToAdapter();
}
@Override
public Adapter caseHideLowerPriority(HideLowerPriority object) {
return createHideLowerPriorityAdapter();
}
@Override
public Adapter caseModelElement(ModelElement object) {
return createModelElementAdapter();
}
@Override
public Adapter caseNamedElement(NamedElement object) {
return createNamedElementAdapter();
}
@Override
public Adapter casePackagableElement(PackagableElement object) {
return createPackagableElementAdapter();
}
@Override
public Adapter caseRuleObject(RuleObject object) {
return createRuleObjectAdapter();
}
@Override
public Adapter caseAbstractContent(AbstractContent object) {
return createAbstractContentAdapter();
}
@Override
public Adapter caseContent(Content object) {
return createContentAdapter();
}
@Override
public Adapter caseContentSet(ContentSet object) {
return createContentSetAdapter();
}
@Override
public Adapter caseContentState(ContentState object) {
return createContentStateAdapter();
}
@Override
public Adapter caseAbstractAllocatable(AbstractAllocatable object) {
return createAbstractAllocatableAdapter();
}
@Override
public Adapter caseAllocatable(Allocatable object) {
return createAllocatableAdapter();
}
@Override
public Adapter caseAllocatableSet(AllocatableSet object) {
return createAllocatableSetAdapter();
}
@Override
public Adapter caseExpression(Expression object) {
return createExpressionAdapter();
}
@Override
public Adapter caseOperator(Operator object) {
return createOperatorAdapter();
}
@Override
public Adapter caseAllocatableOperator(AllocatableOperator object) {
return createAllocatableOperatorAdapter();
}
@Override
public Adapter caseContentOperator(ContentOperator object) {
return createContentOperatorAdapter();
}
@Override
public Adapter caseSetExpression(SetExpression object) {
return createSetExpressionAdapter();
}
@Override
public Adapter caseSugarExpression(SugarExpression object) {
return createSugarExpressionAdapter();
}
@Override
public Adapter caseSugarExpressionBase(SugarExpressionBase object) {
return createSugarExpressionBaseAdapter();
}
@Override
public Adapter defaultCase(EObject object) {
return createEObjectAdapter();
}
};
/**
* Creates an adapter for the target
.
*
* @param target the object to adapt.
* @return the adapter for the target
.
* @generated
*/
@Override
public Adapter createAdapter(Notifier target) {
return modelSwitch.doSwitch((EObject) target);
}
/**
* Creates a new adapter for an object of class '{@link rba.view.ViewContent View Content}'.
* 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.
* @return the new adapter.
* @see rba.view.ViewContent
* @generated
*/
public Adapter createViewContentAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link rba.view.ViewContentSet View Content Set}'. 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.
* @return the new adapter.
* @see rba.view.ViewContentSet
* @generated
*/
public Adapter createViewContentSetAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link rba.view.ViewContentState View Content State}'. 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.
* @return the new adapter.
* @see rba.view.ViewContentState
* @generated
*/
public Adapter createViewContentStateAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link rba.view.LayoutManager Layout Manager}'. 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.
* @return the new adapter.
* @see rba.view.LayoutManager
* @generated
*/
public Adapter createLayoutManagerAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link rba.view.AlignedLayout Aligned Layout}'. 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.
* @return the new adapter.
* @see rba.view.AlignedLayout
* @generated
*/
public Adapter createAlignedLayoutAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link rba.view.VerticalLayout Vertical Layout}'. 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.
* @return the new adapter.
* @see rba.view.VerticalLayout
* @generated
*/
public Adapter createVerticalLayoutAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link rba.view.HorizontalLayout Horizontal Layout}'. 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.
* @return the new adapter.
* @see rba.view.HorizontalLayout
* @generated
*/
public Adapter createHorizontalLayoutAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link rba.view.FixedPositionLayout Fixed Position Layout}'. 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.
* @return the new adapter.
* @see rba.view.FixedPositionLayout
* @generated
*/
public Adapter createFixedPositionLayoutAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link rba.view.PositionContainer Position Container}'. 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.
* @return the new adapter.
* @see rba.view.PositionContainer
* @generated
*/
public Adapter createPositionContainerAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link rba.view.Display Display}'.
* 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.
* @return the new adapter.
* @see rba.view.Display
* @generated
*/
public Adapter createDisplayAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link rba.view.CompositeArea Composite Area}'. 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.
* @return the new adapter.
* @see rba.view.CompositeArea
* @generated
*/
public Adapter createCompositeAreaAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link rba.view.Area Area}'.
* 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.
* @return the new adapter.
* @see rba.view.Area
* @generated
*/
public Adapter createAreaAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link rba.view.AreaSet Area Set}'.
* 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.
* @return the new adapter.
* @see rba.view.AreaSet
* @generated
*/
public Adapter createAreaSetAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link rba.view.SizeIdentifier Size Identifier}'. 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.
* @return the new adapter.
* @see rba.view.SizeIdentifier
* @generated
*/
public Adapter createSizeIdentifierAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link rba.view.Size Size}'.
* 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.
* @return the new adapter.
* @see rba.view.Size
* @generated
*/
public Adapter createSizeAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link rba.view.SizeReference Size Reference}'. 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.
* @return the new adapter.
* @see rba.view.SizeReference
* @generated
*/
public Adapter createSizeReferenceAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link rba.view.Offset Offset}'.
* 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.
* @return the new adapter.
* @see rba.view.Offset
* @generated
*/
public Adapter createOffsetAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link rba.view.AreaOperator Area Operator}'.
* 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.
* @return the new adapter.
* @see rba.view.AreaOperator
* @generated
*/
public Adapter createAreaOperatorAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link rba.view.IsDisplayed Is Displayed}'.
* 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.
* @return the new adapter.
* @see rba.view.IsDisplayed
* @generated
*/
public Adapter createIsDisplayedAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link rba.view.DisplayingContent Displaying Content}'. 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.
* @return the new adapter.
* @see rba.view.DisplayingContent
* @generated
*/
public Adapter createDisplayingContentAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link rba.view.IsHidden Is Hidden}'.
* 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.
* @return the new adapter.
* @see rba.view.IsHidden
* @generated
*/
public Adapter createIsHiddenAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link rba.view.ViewContentOperator View Content Operator}'. 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.
* @return the new adapter.
* @see rba.view.ViewContentOperator
* @generated
*/
public Adapter createViewContentOperatorAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link rba.view.IsVisible Is Visible}'.
*
* 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.
* @return the new adapter.
* @see rba.view.IsVisible
* @generated
*/
public Adapter createIsVisibleAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link rba.view.AllInstanceOfArea All Instance Of Area}'. 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.
* @return the new adapter.
* @see rba.view.AllInstanceOfArea
* @generated
*/
public Adapter createAllInstanceOfAreaAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link rba.view.AllInstanceOfViewContent All Instance Of View Content}'.
* 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.
* @return the new adapter.
* @see rba.view.AllInstanceOfViewContent
* @generated
*/
public Adapter createAllInstanceOfViewContentAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link rba.view.IsDisplayedOn Is Displayed On}'. 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.
* @return the new adapter.
* @see rba.view.IsDisplayedOn
* @generated
*/
public Adapter createIsDisplayedOnAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link rba.view.IsChangedDisplay Is Changed Display}'. 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.
* @return the new adapter.
* @see rba.view.IsChangedDisplay
* @generated
*/
public Adapter createIsChangedDisplayAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link rba.view.IsTranslatedViewTo Is Translated View To}'. 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.
* @return the new adapter.
* @see rba.view.IsTranslatedViewTo
* @generated
*/
public Adapter createIsTranslatedViewToAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link rba.view.HideLowerPriority Hide Lower Priority}'. 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.
* @return the new adapter.
* @see rba.view.HideLowerPriority
* @generated
*/
public Adapter createHideLowerPriorityAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link rba.core.ModelElement Model Element}'.
* 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.
* @return the new adapter.
* @see rba.core.ModelElement
* @generated
*/
public Adapter createModelElementAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link rba.core.NamedElement Named Element}'.
* 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.
* @return the new adapter.
* @see rba.core.NamedElement
* @generated
*/
public Adapter createNamedElementAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link rba.core.PackagableElement Packagable Element}'. 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.
* @return the new adapter.
* @see rba.core.PackagableElement
* @generated
*/
public Adapter createPackagableElementAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link rba.core.RuleObject Rule Object}'.
*
* 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.
* @return the new adapter.
* @see rba.core.RuleObject
* @generated
*/
public Adapter createRuleObjectAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link rba.core.AbstractContent Abstract Content}'. 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.
* @return the new adapter.
* @see rba.core.AbstractContent
* @generated
*/
public Adapter createAbstractContentAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link rba.core.Content Content}'.
* 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.
* @return the new adapter.
* @see rba.core.Content
* @generated
*/
public Adapter createContentAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link rba.core.ContentSet Content Set}'.
*
* 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.
* @return the new adapter.
* @see rba.core.ContentSet
* @generated
*/
public Adapter createContentSetAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link rba.core.ContentState Content State}'.
* 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.
* @return the new adapter.
* @see rba.core.ContentState
* @generated
*/
public Adapter createContentStateAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link rba.core.AbstractAllocatable Abstract Allocatable}'. 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.
* @return the new adapter.
* @see rba.core.AbstractAllocatable
* @generated
*/
public Adapter createAbstractAllocatableAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link rba.core.Allocatable Allocatable}'.
*
* 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.
* @return the new adapter.
* @see rba.core.Allocatable
* @generated
*/
public Adapter createAllocatableAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link rba.core.AllocatableSet Allocatable Set}'. 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.
* @return the new adapter.
* @see rba.core.AllocatableSet
* @generated
*/
public Adapter createAllocatableSetAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link rba.core.Expression Expression}'.
*
* 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.
* @return the new adapter.
* @see rba.core.Expression
* @generated
*/
public Adapter createExpressionAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link rba.core.Operator Operator}'.
* 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.
* @return the new adapter.
* @see rba.core.Operator
* @generated
*/
public Adapter createOperatorAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link rba.core.AllocatableOperator Allocatable Operator}'. 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.
* @return the new adapter.
* @see rba.core.AllocatableOperator
* @generated
*/
public Adapter createAllocatableOperatorAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link rba.core.ContentOperator Content Operator}'. 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.
* @return the new adapter.
* @see rba.core.ContentOperator
* @generated
*/
public Adapter createContentOperatorAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link rba.core.SetExpression Set Expression}'. 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.
* @return the new adapter.
* @see rba.core.SetExpression
* @generated
*/
public Adapter createSetExpressionAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link rba.core.SugarExpression Sugar Expression}'. 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.
* @return the new adapter.
* @see rba.core.SugarExpression
* @generated
*/
public Adapter createSugarExpressionAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link rba.core.SugarExpressionBase Sugar Expression Base}'. 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.
* @return the new adapter.
* @see rba.core.SugarExpressionBase
* @generated
*/
public Adapter createSugarExpressionBaseAdapter() {
return null;
}
/**
* Creates a new adapter for the default case.
* This default implementation returns null.
* @return the new adapter.
* @generated
*/
public Adapter createEObjectAdapter() {
return null;
}
} // RBAViewAdapterFactory