Class OperatorsAdapterFactory
- java.lang.Object
-
- org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
-
- org.emftext.language.java.operators.util.OperatorsAdapterFactory
-
- All Implemented Interfaces:
AdapterFactory
- Direct Known Subclasses:
OperatorsItemProviderAdapterFactory
public class OperatorsAdapterFactory extends AdapterFactoryImpl
The Adapter Factory for the model. It provides an adaptercreateXXXmethod for each class of the model.- See Also:
OperatorsPackage- Generated class or method.
-
-
Field Summary
Fields Modifier and Type Field Description protected static OperatorsPackagemodelPackageThe cached model package.protected OperatorsSwitch<Adapter>modelSwitchThe switch that delegates to thecreateXXXmethods.
-
Constructor Summary
Constructors Constructor Description OperatorsAdapterFactory()Creates an instance of the adapter factory.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AdaptercreateAdapter(Notifier target)Creates an adapter for thetarget.AdaptercreateAdditionAdapter()Creates a new adapter for an object of class 'Addition'.AdaptercreateAdditiveOperatorAdapter()Creates a new adapter for an object of class 'Additive Operator'.AdaptercreateAssignmentAdapter()Creates a new adapter for an object of class 'Assignment'.AdaptercreateAssignmentAndAdapter()Creates a new adapter for an object of class 'Assignment And'.AdaptercreateAssignmentDivisionAdapter()Creates a new adapter for an object of class 'Assignment Division'.AdaptercreateAssignmentExclusiveOrAdapter()Creates a new adapter for an object of class 'Assignment Exclusive Or'.AdaptercreateAssignmentLeftShiftAdapter()Creates a new adapter for an object of class 'Assignment Left Shift'.AdaptercreateAssignmentMinusAdapter()Creates a new adapter for an object of class 'Assignment Minus'.AdaptercreateAssignmentModuloAdapter()Creates a new adapter for an object of class 'Assignment Modulo'.AdaptercreateAssignmentMultiplicationAdapter()Creates a new adapter for an object of class 'Assignment Multiplication'.AdaptercreateAssignmentOperatorAdapter()Creates a new adapter for an object of class 'Assignment Operator'.AdaptercreateAssignmentOrAdapter()Creates a new adapter for an object of class 'Assignment Or'.AdaptercreateAssignmentPlusAdapter()Creates a new adapter for an object of class 'Assignment Plus'.AdaptercreateAssignmentRightShiftAdapter()Creates a new adapter for an object of class 'Assignment Right Shift'.AdaptercreateAssignmentUnsignedRightShiftAdapter()Creates a new adapter for an object of class 'Assignment Unsigned Right Shift'.AdaptercreateCommentableAdapter()Creates a new adapter for an object of class 'Commentable'.AdaptercreateComplementAdapter()Creates a new adapter for an object of class 'Complement'.AdaptercreateDivisionAdapter()Creates a new adapter for an object of class 'Division'.AdaptercreateEObjectAdapter()Creates a new adapter for the default case.AdaptercreateEqualAdapter()Creates a new adapter for an object of class 'Equal'.AdaptercreateEqualityOperatorAdapter()Creates a new adapter for an object of class 'Equality Operator'.AdaptercreateGreaterThanAdapter()Creates a new adapter for an object of class 'Greater Than'.AdaptercreateGreaterThanOrEqualAdapter()Creates a new adapter for an object of class 'Greater Than Or Equal'.AdaptercreateLeftShiftAdapter()Creates a new adapter for an object of class 'Left Shift'.AdaptercreateLessThanAdapter()Creates a new adapter for an object of class 'Less Than'.AdaptercreateLessThanOrEqualAdapter()Creates a new adapter for an object of class 'Less Than Or Equal'.AdaptercreateMinusMinusAdapter()Creates a new adapter for an object of class 'Minus Minus'.AdaptercreateMultiplicationAdapter()Creates a new adapter for an object of class 'Multiplication'.AdaptercreateMultiplicativeOperatorAdapter()Creates a new adapter for an object of class 'Multiplicative Operator'.AdaptercreateNegateAdapter()Creates a new adapter for an object of class 'Negate'.AdaptercreateNotEqualAdapter()Creates a new adapter for an object of class 'Not Equal'.AdaptercreateOperatorAdapter()Creates a new adapter for an object of class 'Operator'.AdaptercreatePlusPlusAdapter()Creates a new adapter for an object of class 'Plus Plus'.AdaptercreateRelationOperatorAdapter()Creates a new adapter for an object of class 'Relation Operator'.AdaptercreateRemainderAdapter()Creates a new adapter for an object of class 'Remainder'.AdaptercreateRightShiftAdapter()Creates a new adapter for an object of class 'Right Shift'.AdaptercreateShiftOperatorAdapter()Creates a new adapter for an object of class 'Shift Operator'.AdaptercreateSubtractionAdapter()Creates a new adapter for an object of class 'Subtraction'.AdaptercreateUnaryModificationOperatorAdapter()Creates a new adapter for an object of class 'Unary Modification Operator'.AdaptercreateUnaryOperatorAdapter()Creates a new adapter for an object of class 'Unary Operator'.AdaptercreateUnsignedRightShiftAdapter()Creates a new adapter for an object of class 'Unsigned Right Shift'.booleanisFactoryForType(Object object)Returns whether this factory is applicable for the type of the object.-
Methods inherited from class org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
adapt, adapt, adaptAllNew, adaptNew, associate, createAdapter, resolve
-
-
-
-
Field Detail
-
modelPackage
protected static OperatorsPackage modelPackage
The cached model package.- Generated class or method.
-
modelSwitch
protected OperatorsSwitch<Adapter> modelSwitch
The switch that delegates to thecreateXXXmethods.- Generated class or method.
-
-
Method Detail
-
isFactoryForType
public boolean isFactoryForType(Object object)
Returns whether this factory is applicable for the type of the object. This implementation returnstrueif the object is either the model's package or is an instance object of the model.- Specified by:
isFactoryForTypein interfaceAdapterFactory- Overrides:
isFactoryForTypein classAdapterFactoryImpl- Returns:
- whether this factory is applicable for the type of the object.
- Generated class or method.
-
createAdapter
public Adapter createAdapter(Notifier target)
Creates an adapter for thetarget.- Overrides:
createAdapterin classAdapterFactoryImpl- Parameters:
target- the object to adapt.- Returns:
- the adapter for the
target. - Generated class or method.
-
createOperatorAdapter
public Adapter createOperatorAdapter()
Creates a new adapter for an object of class '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.- Returns:
- the new adapter.
- See Also:
Operator- Generated class or method.
-
createAdditiveOperatorAdapter
public Adapter createAdditiveOperatorAdapter()
Creates a new adapter for an object of class 'Additive 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.- Returns:
- the new adapter.
- See Also:
AdditiveOperator- Generated class or method.
-
createAssignmentOperatorAdapter
public Adapter createAssignmentOperatorAdapter()
Creates a new adapter for an object of class 'Assignment 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.- Returns:
- the new adapter.
- See Also:
AssignmentOperator- Generated class or method.
-
createEqualityOperatorAdapter
public Adapter createEqualityOperatorAdapter()
Creates a new adapter for an object of class 'Equality 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.- Returns:
- the new adapter.
- See Also:
EqualityOperator- Generated class or method.
-
createMultiplicativeOperatorAdapter
public Adapter createMultiplicativeOperatorAdapter()
Creates a new adapter for an object of class 'Multiplicative 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.- Returns:
- the new adapter.
- See Also:
MultiplicativeOperator- Generated class or method.
-
createRelationOperatorAdapter
public Adapter createRelationOperatorAdapter()
Creates a new adapter for an object of class 'Relation 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.- Returns:
- the new adapter.
- See Also:
RelationOperator- Generated class or method.
-
createShiftOperatorAdapter
public Adapter createShiftOperatorAdapter()
Creates a new adapter for an object of class 'Shift 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.- Returns:
- the new adapter.
- See Also:
ShiftOperator- Generated class or method.
-
createUnaryOperatorAdapter
public Adapter createUnaryOperatorAdapter()
Creates a new adapter for an object of class 'Unary 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.- Returns:
- the new adapter.
- See Also:
UnaryOperator- Generated class or method.
-
createUnaryModificationOperatorAdapter
public Adapter createUnaryModificationOperatorAdapter()
Creates a new adapter for an object of class 'Unary Modification 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.- Returns:
- the new adapter.
- See Also:
UnaryModificationOperator- Generated class or method.
-
createAssignmentAdapter
public Adapter createAssignmentAdapter()
Creates a new adapter for an object of class 'Assignment'. 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.- Returns:
- the new adapter.
- See Also:
Assignment- Generated class or method.
-
createAssignmentAndAdapter
public Adapter createAssignmentAndAdapter()
Creates a new adapter for an object of class 'Assignment And'. 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.- Returns:
- the new adapter.
- See Also:
AssignmentAnd- Generated class or method.
-
createAssignmentDivisionAdapter
public Adapter createAssignmentDivisionAdapter()
Creates a new adapter for an object of class 'Assignment Division'. 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.- Returns:
- the new adapter.
- See Also:
AssignmentDivision- Generated class or method.
-
createAssignmentExclusiveOrAdapter
public Adapter createAssignmentExclusiveOrAdapter()
Creates a new adapter for an object of class 'Assignment Exclusive Or'. 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.- Returns:
- the new adapter.
- See Also:
AssignmentExclusiveOr- Generated class or method.
-
createAssignmentMinusAdapter
public Adapter createAssignmentMinusAdapter()
Creates a new adapter for an object of class 'Assignment Minus'. 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.- Returns:
- the new adapter.
- See Also:
AssignmentMinus- Generated class or method.
-
createAssignmentModuloAdapter
public Adapter createAssignmentModuloAdapter()
Creates a new adapter for an object of class 'Assignment Modulo'. 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.- Returns:
- the new adapter.
- See Also:
AssignmentModulo- Generated class or method.
-
createAssignmentMultiplicationAdapter
public Adapter createAssignmentMultiplicationAdapter()
Creates a new adapter for an object of class 'Assignment Multiplication'. 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.- Returns:
- the new adapter.
- See Also:
AssignmentMultiplication- Generated class or method.
-
createAssignmentLeftShiftAdapter
public Adapter createAssignmentLeftShiftAdapter()
Creates a new adapter for an object of class 'Assignment Left Shift'. 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.- Returns:
- the new adapter.
- See Also:
AssignmentLeftShift- Generated class or method.
-
createAssignmentOrAdapter
public Adapter createAssignmentOrAdapter()
Creates a new adapter for an object of class 'Assignment Or'. 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.- Returns:
- the new adapter.
- See Also:
AssignmentOr- Generated class or method.
-
createAssignmentPlusAdapter
public Adapter createAssignmentPlusAdapter()
Creates a new adapter for an object of class 'Assignment Plus'. 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.- Returns:
- the new adapter.
- See Also:
AssignmentPlus- Generated class or method.
-
createAssignmentRightShiftAdapter
public Adapter createAssignmentRightShiftAdapter()
Creates a new adapter for an object of class 'Assignment Right Shift'. 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.- Returns:
- the new adapter.
- See Also:
AssignmentRightShift- Generated class or method.
-
createAssignmentUnsignedRightShiftAdapter
public Adapter createAssignmentUnsignedRightShiftAdapter()
Creates a new adapter for an object of class 'Assignment Unsigned Right Shift'. 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.- Returns:
- the new adapter.
- See Also:
AssignmentUnsignedRightShift- Generated class or method.
-
createEqualAdapter
public Adapter createEqualAdapter()
Creates a new adapter for an object of class 'Equal'. 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.- Returns:
- the new adapter.
- See Also:
Equal- Generated class or method.
-
createNotEqualAdapter
public Adapter createNotEqualAdapter()
Creates a new adapter for an object of class 'Not Equal'. 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.- Returns:
- the new adapter.
- See Also:
NotEqual- Generated class or method.
-
createGreaterThanAdapter
public Adapter createGreaterThanAdapter()
Creates a new adapter for an object of class 'Greater Than'. 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.- Returns:
- the new adapter.
- See Also:
GreaterThan- Generated class or method.
-
createGreaterThanOrEqualAdapter
public Adapter createGreaterThanOrEqualAdapter()
Creates a new adapter for an object of class 'Greater Than Or Equal'. 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.- Returns:
- the new adapter.
- See Also:
GreaterThanOrEqual- Generated class or method.
-
createLessThanAdapter
public Adapter createLessThanAdapter()
Creates a new adapter for an object of class 'Less Than'. 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.- Returns:
- the new adapter.
- See Also:
LessThan- Generated class or method.
-
createLessThanOrEqualAdapter
public Adapter createLessThanOrEqualAdapter()
Creates a new adapter for an object of class 'Less Than Or Equal'. 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.- Returns:
- the new adapter.
- See Also:
LessThanOrEqual- Generated class or method.
-
createAdditionAdapter
public Adapter createAdditionAdapter()
Creates a new adapter for an object of class 'Addition'. 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.- Returns:
- the new adapter.
- See Also:
Addition- Generated class or method.
-
createSubtractionAdapter
public Adapter createSubtractionAdapter()
Creates a new adapter for an object of class 'Subtraction'. 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.- Returns:
- the new adapter.
- See Also:
Subtraction- Generated class or method.
-
createDivisionAdapter
public Adapter createDivisionAdapter()
Creates a new adapter for an object of class 'Division'. 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.- Returns:
- the new adapter.
- See Also:
Division- Generated class or method.
-
createMultiplicationAdapter
public Adapter createMultiplicationAdapter()
Creates a new adapter for an object of class 'Multiplication'. 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.- Returns:
- the new adapter.
- See Also:
Multiplication- Generated class or method.
-
createRemainderAdapter
public Adapter createRemainderAdapter()
Creates a new adapter for an object of class 'Remainder'. 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.- Returns:
- the new adapter.
- See Also:
Remainder- Generated class or method.
-
createComplementAdapter
public Adapter createComplementAdapter()
Creates a new adapter for an object of class 'Complement'. 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.- Returns:
- the new adapter.
- See Also:
Complement- Generated class or method.
-
createMinusMinusAdapter
public Adapter createMinusMinusAdapter()
Creates a new adapter for an object of class 'Minus Minus'. 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.- Returns:
- the new adapter.
- See Also:
MinusMinus- Generated class or method.
-
createNegateAdapter
public Adapter createNegateAdapter()
Creates a new adapter for an object of class 'Negate'. 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.- Returns:
- the new adapter.
- See Also:
Negate- Generated class or method.
-
createPlusPlusAdapter
public Adapter createPlusPlusAdapter()
Creates a new adapter for an object of class 'Plus Plus'. 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.- Returns:
- the new adapter.
- See Also:
PlusPlus- Generated class or method.
-
createLeftShiftAdapter
public Adapter createLeftShiftAdapter()
Creates a new adapter for an object of class 'Left Shift'. 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.- Returns:
- the new adapter.
- See Also:
LeftShift- Generated class or method.
-
createRightShiftAdapter
public Adapter createRightShiftAdapter()
Creates a new adapter for an object of class 'Right Shift'. 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.- Returns:
- the new adapter.
- See Also:
RightShift- Generated class or method.
-
createUnsignedRightShiftAdapter
public Adapter createUnsignedRightShiftAdapter()
Creates a new adapter for an object of class 'Unsigned Right Shift'. 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.- Returns:
- the new adapter.
- See Also:
UnsignedRightShift- Generated class or method.
-
createCommentableAdapter
public Adapter createCommentableAdapter()
Creates a new adapter for an object of class 'Commentable'. 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.- Returns:
- the new adapter.
- See Also:
Commentable- Generated class or method.
-
createEObjectAdapter
public Adapter createEObjectAdapter()
Creates a new adapter for the default case. This default implementation returns null.- Returns:
- the new adapter.
- Generated class or method.
-
-