public class TypesAdapterFactory
extends org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
createXXX
method for each class of the model.
TypesPackage
Modifier and Type | Field and Description |
---|---|
protected static TypesPackage |
modelPackage
The cached model package.
|
protected TypesSwitch<org.eclipse.emf.common.notify.Adapter> |
modelSwitch
The switch that delegates to the
createXXX methods. |
Constructor and Description |
---|
TypesAdapterFactory()
Creates an instance of the adapter factory.
|
Modifier and Type | Method and Description |
---|---|
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 |
createAnyTypeAdapter()
Creates a new adapter for an object of class '
Any Type '. |
org.eclipse.emf.common.notify.Adapter |
createASTNodeAdapter()
Creates a new adapter for an object of class '
AST Node '. |
org.eclipse.emf.common.notify.Adapter |
createBagTypeAdapter()
Creates a new adapter for an object of class '
Bag Type '. |
org.eclipse.emf.common.notify.Adapter |
createCollectionTypeAdapter()
Creates a new adapter for an object of class '
Collection Type '. |
org.eclipse.emf.common.notify.Adapter |
createElementTypeAdapter()
Creates a new adapter for an object of class '
Element Type '. |
org.eclipse.emf.common.notify.Adapter |
createEObjectAdapter()
Creates a new adapter for the default case.
|
org.eclipse.emf.common.notify.Adapter |
createInvalidTypeAdapter()
Creates a new adapter for an object of class '
Invalid Type '. |
org.eclipse.emf.common.notify.Adapter |
createMessageTypeAdapter()
Creates a new adapter for an object of class '
Message Type '. |
org.eclipse.emf.common.notify.Adapter |
createOrderedSetTypeAdapter()
Creates a new adapter for an object of class '
Ordered Set Type '. |
org.eclipse.emf.common.notify.Adapter |
createPredefinedTypeAdapter()
Creates a new adapter for an object of class '
Predefined Type '. |
org.eclipse.emf.common.notify.Adapter |
createPrimitiveTypeAdapter()
Creates a new adapter for an object of class '
Primitive Type '. |
org.eclipse.emf.common.notify.Adapter |
createSequenceTypeAdapter()
Creates a new adapter for an object of class '
Sequence Type '. |
org.eclipse.emf.common.notify.Adapter |
createSetTypeAdapter()
Creates a new adapter for an object of class '
Set Type '. |
org.eclipse.emf.common.notify.Adapter |
createTemplateParameterTypeAdapter()
Creates a new adapter for an object of class '
Template Parameter Type '. |
org.eclipse.emf.common.notify.Adapter |
createTupleTypeAdapter()
Creates a new adapter for an object of class '
Tuple Type '. |
org.eclipse.emf.common.notify.Adapter |
createTypedASTNodeAdapter()
Creates a new adapter for an object of class '
Typed AST Node '. |
org.eclipse.emf.common.notify.Adapter |
createTypeTypeAdapter()
Creates a new adapter for an object of class '
Type Type '. |
org.eclipse.emf.common.notify.Adapter |
createVoidTypeAdapter()
Creates a new adapter for an object of class '
Void Type '. |
boolean |
isFactoryForType(java.lang.Object object)
Returns whether this factory is applicable for the type of the object.
|
protected static TypesPackage modelPackage
protected TypesSwitch<org.eclipse.emf.common.notify.Adapter> modelSwitch
createXXX
methods.
public TypesAdapterFactory()
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 createAnyTypeAdapter()
Any Type
'.
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.
AnyType
public org.eclipse.emf.common.notify.Adapter createBagTypeAdapter()
Bag Type
'.
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.
BagType
public org.eclipse.emf.common.notify.Adapter createCollectionTypeAdapter()
Collection Type
'.
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.
CollectionType
public org.eclipse.emf.common.notify.Adapter createElementTypeAdapter()
Element Type
'.
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.
ElementType
public org.eclipse.emf.common.notify.Adapter createInvalidTypeAdapter()
Invalid Type
'.
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.
InvalidType
public org.eclipse.emf.common.notify.Adapter createMessageTypeAdapter()
Message Type
'.
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.
MessageType
public org.eclipse.emf.common.notify.Adapter createOrderedSetTypeAdapter()
Ordered Set Type
'.
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.
OrderedSetType
public org.eclipse.emf.common.notify.Adapter createPrimitiveTypeAdapter()
Primitive Type
'.
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.
PrimitiveType
public org.eclipse.emf.common.notify.Adapter createSequenceTypeAdapter()
Sequence Type
'.
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.
SequenceType
public org.eclipse.emf.common.notify.Adapter createSetTypeAdapter()
Set Type
'.
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.
SetType
public org.eclipse.emf.common.notify.Adapter createTupleTypeAdapter()
Tuple Type
'.
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.
TupleType
public org.eclipse.emf.common.notify.Adapter createTypeTypeAdapter()
Type Type
'.
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.
TypeType
public org.eclipse.emf.common.notify.Adapter createVoidTypeAdapter()
Void Type
'.
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.
VoidType
public org.eclipse.emf.common.notify.Adapter createTemplateParameterTypeAdapter()
Template Parameter Type
'.
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.TemplateParameterType
public org.eclipse.emf.common.notify.Adapter createPredefinedTypeAdapter()
Predefined Type
'.
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.
PredefinedType
public org.eclipse.emf.common.notify.Adapter createASTNodeAdapter()
AST Node
'.
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.
ASTNode
public org.eclipse.emf.common.notify.Adapter createTypedASTNodeAdapter()
Typed AST Node
'.
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.
TypedASTNode
public org.eclipse.emf.common.notify.Adapter createEObjectAdapter()