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 adaptercreateXXX
method for each class of the model.- See Also:
OperatorsPackage
- Generated class or method.
-
-
Field Summary
Fields Modifier and Type Field Description protected static OperatorsPackage
modelPackage
The cached model package.protected OperatorsSwitch<Adapter>
modelSwitch
The switch that delegates to thecreateXXX
methods.
-
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 Adapter
createAdapter(Notifier target)
Creates an adapter for thetarget
.Adapter
createAdditionAdapter()
Creates a new adapter for an object of class 'Addition
'.Adapter
createAdditiveOperatorAdapter()
Creates a new adapter for an object of class 'Additive Operator
'.Adapter
createAssignmentAdapter()
Creates a new adapter for an object of class 'Assignment
'.Adapter
createAssignmentAndAdapter()
Creates a new adapter for an object of class 'Assignment And
'.Adapter
createAssignmentDivisionAdapter()
Creates a new adapter for an object of class 'Assignment Division
'.Adapter
createAssignmentExclusiveOrAdapter()
Creates a new adapter for an object of class 'Assignment Exclusive Or
'.Adapter
createAssignmentLeftShiftAdapter()
Creates a new adapter for an object of class 'Assignment Left Shift
'.Adapter
createAssignmentMinusAdapter()
Creates a new adapter for an object of class 'Assignment Minus
'.Adapter
createAssignmentModuloAdapter()
Creates a new adapter for an object of class 'Assignment Modulo
'.Adapter
createAssignmentMultiplicationAdapter()
Creates a new adapter for an object of class 'Assignment Multiplication
'.Adapter
createAssignmentOperatorAdapter()
Creates a new adapter for an object of class 'Assignment Operator
'.Adapter
createAssignmentOrAdapter()
Creates a new adapter for an object of class 'Assignment Or
'.Adapter
createAssignmentPlusAdapter()
Creates a new adapter for an object of class 'Assignment Plus
'.Adapter
createAssignmentRightShiftAdapter()
Creates a new adapter for an object of class 'Assignment Right Shift
'.Adapter
createAssignmentUnsignedRightShiftAdapter()
Creates a new adapter for an object of class 'Assignment Unsigned Right Shift
'.Adapter
createCommentableAdapter()
Creates a new adapter for an object of class 'Commentable
'.Adapter
createComplementAdapter()
Creates a new adapter for an object of class 'Complement
'.Adapter
createDivisionAdapter()
Creates a new adapter for an object of class 'Division
'.Adapter
createEObjectAdapter()
Creates a new adapter for the default case.Adapter
createEqualAdapter()
Creates a new adapter for an object of class 'Equal
'.Adapter
createEqualityOperatorAdapter()
Creates a new adapter for an object of class 'Equality Operator
'.Adapter
createGreaterThanAdapter()
Creates a new adapter for an object of class 'Greater Than
'.Adapter
createGreaterThanOrEqualAdapter()
Creates a new adapter for an object of class 'Greater Than Or Equal
'.Adapter
createLeftShiftAdapter()
Creates a new adapter for an object of class 'Left Shift
'.Adapter
createLessThanAdapter()
Creates a new adapter for an object of class 'Less Than
'.Adapter
createLessThanOrEqualAdapter()
Creates a new adapter for an object of class 'Less Than Or Equal
'.Adapter
createMinusMinusAdapter()
Creates a new adapter for an object of class 'Minus Minus
'.Adapter
createMultiplicationAdapter()
Creates a new adapter for an object of class 'Multiplication
'.Adapter
createMultiplicativeOperatorAdapter()
Creates a new adapter for an object of class 'Multiplicative Operator
'.Adapter
createNegateAdapter()
Creates a new adapter for an object of class 'Negate
'.Adapter
createNotEqualAdapter()
Creates a new adapter for an object of class 'Not Equal
'.Adapter
createOperatorAdapter()
Creates a new adapter for an object of class 'Operator
'.Adapter
createPlusPlusAdapter()
Creates a new adapter for an object of class 'Plus Plus
'.Adapter
createRelationOperatorAdapter()
Creates a new adapter for an object of class 'Relation Operator
'.Adapter
createRemainderAdapter()
Creates a new adapter for an object of class 'Remainder
'.Adapter
createRightShiftAdapter()
Creates a new adapter for an object of class 'Right Shift
'.Adapter
createShiftOperatorAdapter()
Creates a new adapter for an object of class 'Shift Operator
'.Adapter
createSubtractionAdapter()
Creates a new adapter for an object of class 'Subtraction
'.Adapter
createUnaryModificationOperatorAdapter()
Creates a new adapter for an object of class 'Unary Modification Operator
'.Adapter
createUnaryOperatorAdapter()
Creates a new adapter for an object of class 'Unary Operator
'.Adapter
createUnsignedRightShiftAdapter()
Creates a new adapter for an object of class 'Unsigned Right Shift
'.boolean
isFactoryForType(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 thecreateXXX
methods.- 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 returnstrue
if the object is either the model's package or is an instance object of the model.- Specified by:
isFactoryForType
in interfaceAdapterFactory
- Overrides:
isFactoryForType
in 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:
createAdapter
in 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.
-
-