Class 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 adapter createXXX method for each class of the model.
    See Also:
    RtPackage
    • Field Detail

      • modelPackage

        protected static RtPackage modelPackage
        The cached model package.
      • modelSwitch

        protected RtSwitch<org.eclipse.emf.common.notify.Adapter> modelSwitch
        The switch that delegates to the createXXX methods.
    • Constructor Detail

      • RtAdapterFactory

        public RtAdapterFactory()
        Creates an instance of the adapter factory.
    • Method Detail

      • isFactoryForType

        public boolean isFactoryForType​(Object object)
        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.
        Specified by:
        isFactoryForType in interface org.eclipse.emf.common.notify.AdapterFactory
        Overrides:
        isFactoryForType in class org.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 the target.
        Overrides:
        createAdapter in class org.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.