Class RtAdapterFactory
- java.lang.Object
-
- org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
-
- com._1c.g5.v8.dt.right.templates.model.util.RtAdapterFactory
-
- All Implemented Interfaces:
org.eclipse.emf.common.notify.AdapterFactory
public class RtAdapterFactory extends org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
The Adapter Factory for the model. It provides an adaptercreateXXX
method for each class of the model.- See Also:
RtPackage
-
-
Field Summary
Fields Modifier and Type Field Description protected static RtPackage
modelPackage
The cached model package.protected RtSwitch<org.eclipse.emf.common.notify.Adapter>
modelSwitch
The switch that delegates to thecreateXXX
methods.
-
Constructor Summary
Constructors Constructor Description RtAdapterFactory()
Creates an instance of the adapter factory.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.emf.common.notify.Adapter
createAdapter(org.eclipse.emf.common.notify.Notifier target)
Creates an adapter for thetarget
.org.eclipse.emf.common.notify.Adapter
createBinaryExpressionAdapter()
Creates a new adapter for an object of class 'Binary Expression
'.org.eclipse.emf.common.notify.Adapter
createBooleanLiteralAdapter()
Creates a new adapter for an object of class 'Boolean Literal
'.org.eclipse.emf.common.notify.Adapter
createConditionalAdapter()
Creates a new adapter for an object of class 'Conditional
'.org.eclipse.emf.common.notify.Adapter
createEObjectAdapter()
Creates a new adapter for the default case.org.eclipse.emf.common.notify.Adapter
createExpressionAdapter()
Creates a new adapter for an object of class 'Expression
'.org.eclipse.emf.common.notify.Adapter
createFunctionAdapter()
Creates a new adapter for an object of class 'Function
'.org.eclipse.emf.common.notify.Adapter
createIfStatementAdapter()
Creates a new adapter for an object of class 'If Statement
'.org.eclipse.emf.common.notify.Adapter
createLiteralAdapter()
Creates a new adapter for an object of class 'Literal
'.org.eclipse.emf.common.notify.Adapter
createNumberLiteralAdapter()
Creates a new adapter for an object of class 'Number Literal
'.org.eclipse.emf.common.notify.Adapter
createOuterParameterAdapter()
Creates a new adapter for an object of class 'Outer Parameter
'.org.eclipse.emf.common.notify.Adapter
createRootTemplateAdapter()
Creates a new adapter for an object of class 'Root Template
'.org.eclipse.emf.common.notify.Adapter
createStatementAdapter()
Creates a new adapter for an object of class 'Statement
'.org.eclipse.emf.common.notify.Adapter
createStrContainsAdapter()
Creates a new adapter for an object of class 'Str Contains
'.org.eclipse.emf.common.notify.Adapter
createStringLiteralAdapter()
Creates a new adapter for an object of class 'String Literal
'.org.eclipse.emf.common.notify.Adapter
createTemplateAdapter()
Creates a new adapter for an object of class 'Template
'.org.eclipse.emf.common.notify.Adapter
createTemplateParameterAdapter()
Creates a new adapter for an object of class 'Template Parameter
'.org.eclipse.emf.common.notify.Adapter
createTextStatementAdapter()
Creates a new adapter for an object of class 'Text Statement
'.org.eclipse.emf.common.notify.Adapter
createUnaryExpressionAdapter()
Creates a new adapter for an object of class 'Unary Expression
'.org.eclipse.emf.common.notify.Adapter
createValueLiteralAdapter()
Creates a new adapter for an object of class 'Value Literal
'.boolean
isFactoryForType(Object object)
Returns whether this factory is applicable for the type of the object.
-
-
-
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 interfaceorg.eclipse.emf.common.notify.AdapterFactory
- Overrides:
isFactoryForType
in classorg.eclipse.emf.common.notify.impl.AdapterFactoryImpl
- Returns:
- whether this factory is applicable for the type of the object.
-
createAdapter
public org.eclipse.emf.common.notify.Adapter createAdapter(org.eclipse.emf.common.notify.Notifier target)
Creates an adapter for thetarget
.- Overrides:
createAdapter
in classorg.eclipse.emf.common.notify.impl.AdapterFactoryImpl
- Parameters:
target
- the object to adapt.- Returns:
- the adapter for the
target
.
-
createRootTemplateAdapter
public org.eclipse.emf.common.notify.Adapter createRootTemplateAdapter()
Creates a new adapter for an object of class 'Root Template
'. 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:
RootTemplate
-
createTemplateAdapter
public org.eclipse.emf.common.notify.Adapter createTemplateAdapter()
Creates a new adapter for an object of class 'Template
'. 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:
Template
-
createStatementAdapter
public org.eclipse.emf.common.notify.Adapter createStatementAdapter()
Creates a new adapter for an object of class 'Statement
'. 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:
Statement
-
createTextStatementAdapter
public org.eclipse.emf.common.notify.Adapter createTextStatementAdapter()
Creates a new adapter for an object of class 'Text Statement
'. 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:
TextStatement
-
createIfStatementAdapter
public org.eclipse.emf.common.notify.Adapter createIfStatementAdapter()
Creates a new adapter for an object of class 'If Statement
'. 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:
IfStatement
-
createConditionalAdapter
public org.eclipse.emf.common.notify.Adapter createConditionalAdapter()
Creates a new adapter for an object of class 'Conditional
'. 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:
Conditional
-
createExpressionAdapter
public org.eclipse.emf.common.notify.Adapter createExpressionAdapter()
Creates a new adapter for an object of class '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.- Returns:
- the new adapter.
- See Also:
Expression
-
createOuterParameterAdapter
public org.eclipse.emf.common.notify.Adapter createOuterParameterAdapter()
Creates a new adapter for an object of class 'Outer Parameter
'. 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:
OuterParameter
-
createFunctionAdapter
public org.eclipse.emf.common.notify.Adapter createFunctionAdapter()
Creates a new adapter for an object of class 'Function
'. 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:
Function
-
createTemplateParameterAdapter
public org.eclipse.emf.common.notify.Adapter createTemplateParameterAdapter()
Creates a new adapter for an object of class 'Template Parameter
'. 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:
TemplateParameter
-
createStrContainsAdapter
public org.eclipse.emf.common.notify.Adapter createStrContainsAdapter()
Creates a new adapter for an object of class 'Str Contains
'. 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:
StrContains
-
createBinaryExpressionAdapter
public org.eclipse.emf.common.notify.Adapter createBinaryExpressionAdapter()
Creates a new adapter for an object of class 'Binary 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.- Returns:
- the new adapter.
- See Also:
BinaryExpression
-
createUnaryExpressionAdapter
public org.eclipse.emf.common.notify.Adapter createUnaryExpressionAdapter()
Creates a new adapter for an object of class 'Unary 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.- Returns:
- the new adapter.
- See Also:
UnaryExpression
-
createLiteralAdapter
public org.eclipse.emf.common.notify.Adapter createLiteralAdapter()
Creates a new adapter for an object of class 'Literal
'. 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:
Literal
-
createBooleanLiteralAdapter
public org.eclipse.emf.common.notify.Adapter createBooleanLiteralAdapter()
Creates a new adapter for an object of class 'Boolean Literal
'. 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:
BooleanLiteral
-
createNumberLiteralAdapter
public org.eclipse.emf.common.notify.Adapter createNumberLiteralAdapter()
Creates a new adapter for an object of class 'Number Literal
'. 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:
NumberLiteral
-
createStringLiteralAdapter
public org.eclipse.emf.common.notify.Adapter createStringLiteralAdapter()
Creates a new adapter for an object of class 'String Literal
'. 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:
StringLiteral
-
createValueLiteralAdapter
public org.eclipse.emf.common.notify.Adapter createValueLiteralAdapter()
Creates a new adapter for an object of class 'Value Literal
'. 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:
ValueLiteral
-
createEObjectAdapter
public org.eclipse.emf.common.notify.Adapter createEObjectAdapter()
Creates a new adapter for the default case. This default implementation returns null.- Returns:
- the new adapter.
-
-