Class XtextAdapterFactory

  • All Implemented Interfaces:
    org.eclipse.emf.common.notify.AdapterFactory

    public class XtextAdapterFactory
    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:
    XtextPackage
    Generated:
    • Field Detail

      • modelPackage

        protected static XtextPackage modelPackage
        The cached model package.
        Generated:
      • modelSwitch

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

      • XtextAdapterFactory

        public XtextAdapterFactory()
        Creates an instance of the adapter factory.
        Generated:
    • Method Detail

      • isFactoryForType

        public boolean isFactoryForType​(java.lang.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.
        Generated:
      • 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.
        Generated:
      • createGrammarAdapter

        public org.eclipse.emf.common.notify.Adapter createGrammarAdapter()
        Creates a new adapter for an object of class 'Grammar'. 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:
        Grammar
        Generated:
      • createAbstractRuleAdapter

        public org.eclipse.emf.common.notify.Adapter createAbstractRuleAdapter()
        Creates a new adapter for an object of class 'Abstract Rule'. 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:
        AbstractRule
        Generated:
      • createAbstractMetamodelDeclarationAdapter

        public org.eclipse.emf.common.notify.Adapter createAbstractMetamodelDeclarationAdapter()
        Creates a new adapter for an object of class 'Abstract Metamodel Declaration'. 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:
        AbstractMetamodelDeclaration
        Generated:
      • createGeneratedMetamodelAdapter

        public org.eclipse.emf.common.notify.Adapter createGeneratedMetamodelAdapter()
        Creates a new adapter for an object of class 'Generated Metamodel'. 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:
        GeneratedMetamodel
        Generated:
      • createReferencedMetamodelAdapter

        public org.eclipse.emf.common.notify.Adapter createReferencedMetamodelAdapter()
        Creates a new adapter for an object of class 'Referenced Metamodel'. 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:
        ReferencedMetamodel
        Generated:
      • createParserRuleAdapter

        public org.eclipse.emf.common.notify.Adapter createParserRuleAdapter()
        Creates a new adapter for an object of class 'Parser Rule'. 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:
        ParserRule
        Generated:
      • createTypeRefAdapter

        public org.eclipse.emf.common.notify.Adapter createTypeRefAdapter()
        Creates a new adapter for an object of class 'Type Ref'. 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:
        TypeRef
        Generated:
      • createAbstractElementAdapter

        public org.eclipse.emf.common.notify.Adapter createAbstractElementAdapter()
        Creates a new adapter for an object of class 'Abstract 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.
        Returns:
        the new adapter.
        See Also:
        AbstractElement
        Generated:
      • createActionAdapter

        public org.eclipse.emf.common.notify.Adapter createActionAdapter()
        Creates a new adapter for an object of class 'Action'. 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:
        Action
        Generated:
      • createKeywordAdapter

        public org.eclipse.emf.common.notify.Adapter createKeywordAdapter()
        Creates a new adapter for an object of class 'Keyword'. 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:
        Keyword
        Generated:
      • createRuleCallAdapter

        public org.eclipse.emf.common.notify.Adapter createRuleCallAdapter()
        Creates a new adapter for an object of class 'Rule Call'. 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:
        RuleCall
        Generated:
      • createAssignmentAdapter

        public org.eclipse.emf.common.notify.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:
      • createCrossReferenceAdapter

        public org.eclipse.emf.common.notify.Adapter createCrossReferenceAdapter()
        Creates a new adapter for an object of class 'Cross 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.
        Returns:
        the new adapter.
        See Also:
        CrossReference
        Generated:
      • createTerminalRuleAdapter

        public org.eclipse.emf.common.notify.Adapter createTerminalRuleAdapter()
        Creates a new adapter for an object of class 'Terminal Rule'. 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:
        TerminalRule
        Generated:
      • createAbstractNegatedTokenAdapter

        public org.eclipse.emf.common.notify.Adapter createAbstractNegatedTokenAdapter()
        Creates a new adapter for an object of class 'Abstract Negated Token'. 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:
        AbstractNegatedToken
        Generated:
      • createNegatedTokenAdapter

        public org.eclipse.emf.common.notify.Adapter createNegatedTokenAdapter()
        Creates a new adapter for an object of class 'Negated Token'. 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:
        NegatedToken
        Generated:
      • createUntilTokenAdapter

        public org.eclipse.emf.common.notify.Adapter createUntilTokenAdapter()
        Creates a new adapter for an object of class 'Until Token'. 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:
        UntilToken
        Generated:
      • createWildcardAdapter

        public org.eclipse.emf.common.notify.Adapter createWildcardAdapter()
        Creates a new adapter for an object of class 'Wildcard'. 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:
        Wildcard
        Generated:
      • createEnumRuleAdapter

        public org.eclipse.emf.common.notify.Adapter createEnumRuleAdapter()
        Creates a new adapter for an object of class 'Enum Rule'. 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:
        EnumRule
        Generated:
      • createEnumLiteralDeclarationAdapter

        public org.eclipse.emf.common.notify.Adapter createEnumLiteralDeclarationAdapter()
        Creates a new adapter for an object of class 'Enum Literal Declaration'. 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:
        EnumLiteralDeclaration
        Generated:
      • createAlternativesAdapter

        public org.eclipse.emf.common.notify.Adapter createAlternativesAdapter()
        Creates a new adapter for an object of class 'Alternatives'. 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:
        Alternatives
        Generated:
      • createUnorderedGroupAdapter

        public org.eclipse.emf.common.notify.Adapter createUnorderedGroupAdapter()
        Creates a new adapter for an object of class 'Unordered Group'. 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:
        UnorderedGroup
        Generated:
      • createGroupAdapter

        public org.eclipse.emf.common.notify.Adapter createGroupAdapter()
        Creates a new adapter for an object of class 'Group'. 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:
        Group
        Generated:
      • createCharacterRangeAdapter

        public org.eclipse.emf.common.notify.Adapter createCharacterRangeAdapter()
        Creates a new adapter for an object of class 'Character Range'. 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:
        CharacterRange
        Generated:
      • createCompoundElementAdapter

        public org.eclipse.emf.common.notify.Adapter createCompoundElementAdapter()
        Creates a new adapter for an object of class 'Compound 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.
        Returns:
        the new adapter.
        See Also:
        CompoundElement
        Generated:
      • createEOFAdapter

        public org.eclipse.emf.common.notify.Adapter createEOFAdapter()
        Creates a new adapter for an object of class 'EOF'. 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:
        EOF
        Generated:
      • createParameterAdapter

        public org.eclipse.emf.common.notify.Adapter createParameterAdapter()
        Creates a new adapter for an object of class '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.
        Since:
        2.9
        See Also:
        Parameter
        Generated:
      • createNamedArgumentAdapter

        public org.eclipse.emf.common.notify.Adapter createNamedArgumentAdapter()
        Creates a new adapter for an object of class 'Named Argument'. 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.
        Since:
        2.9
        See Also:
        NamedArgument
        Generated:
      • createConditionAdapter

        public org.eclipse.emf.common.notify.Adapter createConditionAdapter()
        Creates a new adapter for an object of class 'Condition'. 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.
        Since:
        2.9
        See Also:
        Condition
        Generated:
      • createConjunctionAdapter

        public org.eclipse.emf.common.notify.Adapter createConjunctionAdapter()
        Creates a new adapter for an object of class 'Conjunction'. 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.
        Since:
        2.9
        See Also:
        Conjunction
        Generated:
      • createNegationAdapter

        public org.eclipse.emf.common.notify.Adapter createNegationAdapter()
        Creates a new adapter for an object of class 'Negation'. 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.
        Since:
        2.9
        See Also:
        Negation
        Generated:
      • createDisjunctionAdapter

        public org.eclipse.emf.common.notify.Adapter createDisjunctionAdapter()
        Creates a new adapter for an object of class 'Disjunction'. 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.
        Since:
        2.9
        See Also:
        Disjunction
        Generated:
      • createCompositeConditionAdapter

        public org.eclipse.emf.common.notify.Adapter createCompositeConditionAdapter()
        Creates a new adapter for an object of class 'Composite Condition'. 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.
        Since:
        2.9
        See Also:
        CompositeCondition
        Generated:
      • createParameterReferenceAdapter

        public org.eclipse.emf.common.notify.Adapter createParameterReferenceAdapter()
        Creates a new adapter for an object of class 'Parameter 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.
        Returns:
        the new adapter.
        Since:
        2.9
        See Also:
        ParameterReference
        Generated:
      • createLiteralConditionAdapter

        public org.eclipse.emf.common.notify.Adapter createLiteralConditionAdapter()
        Creates a new adapter for an object of class 'Literal Condition'. 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.
        Since:
        2.9
        See Also:
        LiteralCondition
        Generated:
      • createAnnotationAdapter

        public org.eclipse.emf.common.notify.Adapter createAnnotationAdapter()
        Creates a new adapter for an object of class 'Annotation'. 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:
        Annotation
        Generated:
      • 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.
        Generated: