public class XtextAdapterFactory
extends org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
createXXX method for each class of the model.
XtextPackage| Modifier and Type | Field and Description |
|---|---|
protected static XtextPackage |
modelPackage
The cached model package.
|
protected XtextSwitch<org.eclipse.emf.common.notify.Adapter> |
modelSwitch
The switch that delegates to the
createXXX methods. |
| Constructor and Description |
|---|
XtextAdapterFactory()
Creates an instance of the adapter factory.
|
| Modifier and Type | Method and Description |
|---|---|
org.eclipse.emf.common.notify.Adapter |
createAbstractElementAdapter()
Creates a new adapter for an object of class '
Abstract Element'. |
org.eclipse.emf.common.notify.Adapter |
createAbstractMetamodelDeclarationAdapter()
Creates a new adapter for an object of class '
Abstract Metamodel Declaration'. |
org.eclipse.emf.common.notify.Adapter |
createAbstractNegatedTokenAdapter()
Creates a new adapter for an object of class '
Abstract Negated Token'. |
org.eclipse.emf.common.notify.Adapter |
createAbstractRuleAdapter()
Creates a new adapter for an object of class '
Abstract Rule'. |
org.eclipse.emf.common.notify.Adapter |
createActionAdapter()
Creates a new adapter for an object of class '
Action'. |
org.eclipse.emf.common.notify.Adapter |
createAdapter(org.eclipse.emf.common.notify.Notifier target)
Creates an adapter for the
target. |
org.eclipse.emf.common.notify.Adapter |
createAlternativesAdapter()
Creates a new adapter for an object of class '
Alternatives'. |
org.eclipse.emf.common.notify.Adapter |
createAnnotationAdapter()
Creates a new adapter for an object of class '
Annotation'. |
org.eclipse.emf.common.notify.Adapter |
createAssignmentAdapter()
Creates a new adapter for an object of class '
Assignment'. |
org.eclipse.emf.common.notify.Adapter |
createCharacterRangeAdapter()
Creates a new adapter for an object of class '
Character Range'. |
org.eclipse.emf.common.notify.Adapter |
createCompositeConditionAdapter()
Creates a new adapter for an object of class '
Composite Condition'. |
org.eclipse.emf.common.notify.Adapter |
createCompoundElementAdapter()
Creates a new adapter for an object of class '
Compound Element'. |
org.eclipse.emf.common.notify.Adapter |
createConditionAdapter()
Creates a new adapter for an object of class '
Condition'. |
org.eclipse.emf.common.notify.Adapter |
createConjunctionAdapter()
Creates a new adapter for an object of class '
Conjunction'. |
org.eclipse.emf.common.notify.Adapter |
createCrossReferenceAdapter()
Creates a new adapter for an object of class '
Cross Reference'. |
org.eclipse.emf.common.notify.Adapter |
createDisjunctionAdapter()
Creates a new adapter for an object of class '
Disjunction'. |
org.eclipse.emf.common.notify.Adapter |
createEnumLiteralDeclarationAdapter()
Creates a new adapter for an object of class '
Enum Literal Declaration'. |
org.eclipse.emf.common.notify.Adapter |
createEnumRuleAdapter()
Creates a new adapter for an object of class '
Enum Rule'. |
org.eclipse.emf.common.notify.Adapter |
createEObjectAdapter()
Creates a new adapter for the default case.
|
org.eclipse.emf.common.notify.Adapter |
createEOFAdapter()
Creates a new adapter for an object of class '
EOF'. |
org.eclipse.emf.common.notify.Adapter |
createGeneratedMetamodelAdapter()
Creates a new adapter for an object of class '
Generated Metamodel'. |
org.eclipse.emf.common.notify.Adapter |
createGrammarAdapter()
Creates a new adapter for an object of class '
Grammar'. |
org.eclipse.emf.common.notify.Adapter |
createGroupAdapter()
Creates a new adapter for an object of class '
Group'. |
org.eclipse.emf.common.notify.Adapter |
createKeywordAdapter()
Creates a new adapter for an object of class '
Keyword'. |
org.eclipse.emf.common.notify.Adapter |
createLiteralConditionAdapter()
Creates a new adapter for an object of class '
Literal Condition'. |
org.eclipse.emf.common.notify.Adapter |
createNamedArgumentAdapter()
Creates a new adapter for an object of class '
Named Argument'. |
org.eclipse.emf.common.notify.Adapter |
createNegatedTokenAdapter()
Creates a new adapter for an object of class '
Negated Token'. |
org.eclipse.emf.common.notify.Adapter |
createNegationAdapter()
Creates a new adapter for an object of class '
Negation'. |
org.eclipse.emf.common.notify.Adapter |
createParameterAdapter()
Creates a new adapter for an object of class '
Parameter'. |
org.eclipse.emf.common.notify.Adapter |
createParameterReferenceAdapter()
Creates a new adapter for an object of class '
Parameter Reference'. |
org.eclipse.emf.common.notify.Adapter |
createParserRuleAdapter()
Creates a new adapter for an object of class '
Parser Rule'. |
org.eclipse.emf.common.notify.Adapter |
createReferencedMetamodelAdapter()
Creates a new adapter for an object of class '
Referenced Metamodel'. |
org.eclipse.emf.common.notify.Adapter |
createRuleCallAdapter()
Creates a new adapter for an object of class '
Rule Call'. |
org.eclipse.emf.common.notify.Adapter |
createTerminalRuleAdapter()
Creates a new adapter for an object of class '
Terminal Rule'. |
org.eclipse.emf.common.notify.Adapter |
createTypeRefAdapter()
Creates a new adapter for an object of class '
Type Ref'. |
org.eclipse.emf.common.notify.Adapter |
createUnorderedGroupAdapter()
Creates a new adapter for an object of class '
Unordered Group'. |
org.eclipse.emf.common.notify.Adapter |
createUntilTokenAdapter()
Creates a new adapter for an object of class '
Until Token'. |
org.eclipse.emf.common.notify.Adapter |
createWildcardAdapter()
Creates a new adapter for an object of class '
Wildcard'. |
boolean |
isFactoryForType(java.lang.Object object)
Returns whether this factory is applicable for the type of the object.
|
protected static XtextPackage modelPackage
protected XtextSwitch<org.eclipse.emf.common.notify.Adapter> modelSwitch
createXXX methods.
public XtextAdapterFactory()
public boolean isFactoryForType(java.lang.Object object)
true if the object is either the model's package or is an instance object of the model.
isFactoryForType in interface org.eclipse.emf.common.notify.AdapterFactoryisFactoryForType in class org.eclipse.emf.common.notify.impl.AdapterFactoryImplpublic org.eclipse.emf.common.notify.Adapter createAdapter(org.eclipse.emf.common.notify.Notifier target)
target.
createAdapter in class org.eclipse.emf.common.notify.impl.AdapterFactoryImpltarget - the object to adapt.target.public org.eclipse.emf.common.notify.Adapter createGrammarAdapter()
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.
Grammarpublic org.eclipse.emf.common.notify.Adapter createAbstractRuleAdapter()
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.
AbstractRulepublic org.eclipse.emf.common.notify.Adapter createAbstractMetamodelDeclarationAdapter()
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.
AbstractMetamodelDeclarationpublic org.eclipse.emf.common.notify.Adapter createGeneratedMetamodelAdapter()
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.
GeneratedMetamodelpublic org.eclipse.emf.common.notify.Adapter createReferencedMetamodelAdapter()
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.
ReferencedMetamodelpublic org.eclipse.emf.common.notify.Adapter createParserRuleAdapter()
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.
ParserRulepublic org.eclipse.emf.common.notify.Adapter createTypeRefAdapter()
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.
TypeRefpublic org.eclipse.emf.common.notify.Adapter createAbstractElementAdapter()
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.
AbstractElementpublic org.eclipse.emf.common.notify.Adapter createActionAdapter()
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.
Actionpublic org.eclipse.emf.common.notify.Adapter createKeywordAdapter()
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.
Keywordpublic org.eclipse.emf.common.notify.Adapter createRuleCallAdapter()
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.
RuleCallpublic org.eclipse.emf.common.notify.Adapter createAssignmentAdapter()
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.
Assignmentpublic org.eclipse.emf.common.notify.Adapter createCrossReferenceAdapter()
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.
CrossReferencepublic org.eclipse.emf.common.notify.Adapter createTerminalRuleAdapter()
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.
TerminalRulepublic org.eclipse.emf.common.notify.Adapter createAbstractNegatedTokenAdapter()
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.
AbstractNegatedTokenpublic org.eclipse.emf.common.notify.Adapter createNegatedTokenAdapter()
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.
NegatedTokenpublic org.eclipse.emf.common.notify.Adapter createUntilTokenAdapter()
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.
UntilTokenpublic org.eclipse.emf.common.notify.Adapter createWildcardAdapter()
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.
Wildcardpublic org.eclipse.emf.common.notify.Adapter createEnumRuleAdapter()
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.
EnumRulepublic org.eclipse.emf.common.notify.Adapter createEnumLiteralDeclarationAdapter()
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.
EnumLiteralDeclarationpublic org.eclipse.emf.common.notify.Adapter createAlternativesAdapter()
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.
Alternativespublic org.eclipse.emf.common.notify.Adapter createUnorderedGroupAdapter()
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.
UnorderedGrouppublic org.eclipse.emf.common.notify.Adapter createGroupAdapter()
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.
Grouppublic org.eclipse.emf.common.notify.Adapter createCharacterRangeAdapter()
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.
CharacterRangepublic org.eclipse.emf.common.notify.Adapter createCompoundElementAdapter()
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.
CompoundElementpublic org.eclipse.emf.common.notify.Adapter createEOFAdapter()
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.
EOFpublic org.eclipse.emf.common.notify.Adapter createParameterAdapter()
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.Parameterpublic org.eclipse.emf.common.notify.Adapter createNamedArgumentAdapter()
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.NamedArgumentpublic org.eclipse.emf.common.notify.Adapter createConditionAdapter()
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.Conditionpublic org.eclipse.emf.common.notify.Adapter createConjunctionAdapter()
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.Conjunctionpublic org.eclipse.emf.common.notify.Adapter createNegationAdapter()
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.Negationpublic org.eclipse.emf.common.notify.Adapter createDisjunctionAdapter()
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.Disjunctionpublic org.eclipse.emf.common.notify.Adapter createCompositeConditionAdapter()
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.CompositeConditionpublic org.eclipse.emf.common.notify.Adapter createParameterReferenceAdapter()
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.ParameterReferencepublic org.eclipse.emf.common.notify.Adapter createLiteralConditionAdapter()
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.LiteralConditionpublic org.eclipse.emf.common.notify.Adapter createAnnotationAdapter()
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.
Annotationpublic org.eclipse.emf.common.notify.Adapter createEObjectAdapter()