|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.emf.common.notify.impl.AdapterFactoryImpl org.eclipse.xtext.util.XtextAdapterFactory
public class XtextAdapterFactory
The Adapter Factory for the model.
It provides an adapter createXXX
method for each class of the model.
XtextPackage
Field Summary | |
---|---|
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 Summary | |
---|---|
XtextAdapterFactory()
Creates an instance of the adapter factory. |
Method Summary | |
---|---|
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 |
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 |
createCompoundElementAdapter()
Creates a new adapter for an object of class ' Compound Element '. |
org.eclipse.emf.common.notify.Adapter |
createCrossReferenceAdapter()
Creates a new adapter for an object of class ' Cross Reference '. |
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 |
createNegatedTokenAdapter()
Creates a new adapter for an object of class ' Negated Token '. |
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. |
Methods inherited from class org.eclipse.emf.common.notify.impl.AdapterFactoryImpl |
---|
adapt, adapt, adaptAllNew, adaptNew, associate, createAdapter, resolve |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static XtextPackage modelPackage
protected XtextSwitch<org.eclipse.emf.common.notify.Adapter> modelSwitch
createXXX
methods.
Constructor Detail |
---|
public XtextAdapterFactory()
Method Detail |
---|
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.AdapterFactory
isFactoryForType
in class org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
public org.eclipse.emf.common.notify.Adapter createAdapter(org.eclipse.emf.common.notify.Notifier target)
target
.
createAdapter
in class org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
target
- 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.
Grammar
public 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.
AbstractRule
public 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.
AbstractMetamodelDeclaration
public 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.
GeneratedMetamodel
public 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.
ReferencedMetamodel
public 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.
ParserRule
public 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.
TypeRef
public 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.
AbstractElement
public 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.
Action
public 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.
Keyword
public 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.
RuleCall
public 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.
Assignment
public 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.
CrossReference
public 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.
TerminalRule
public 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.
AbstractNegatedToken
public 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.
NegatedToken
public 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.
UntilToken
public 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.
Wildcard
public 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.
EOF
public 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.
EnumRule
public 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.
EnumLiteralDeclaration
public 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.
Alternatives
public 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.
UnorderedGroup
public 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.
Group
public 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.
CharacterRange
public 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.
CompoundElement
public org.eclipse.emf.common.notify.Adapter createEObjectAdapter()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |