public class VariablesAdapterFactory
extends AdapterFactoryImpl
createXXX
method for each class of the model.
VariablesPackage
Modifier and Type | Field and Description |
---|---|
protected static VariablesPackage |
modelPackage
The cached model package.
|
protected VariablesSwitch<Adapter> |
modelSwitch
The switch that delegates to the
createXXX methods. |
Constructor and Description |
---|
VariablesAdapterFactory()
Creates an instance of the adapter factory.
|
Modifier and Type | Method and Description |
---|---|
Adapter |
createAdapter(Notifier target)
Creates an adapter for the
target . |
Adapter |
createEObjectAdapter()
Creates a new adapter for the default case.
|
Adapter |
createISynchableAdapter()
Creates a new adapter for an object of class '
ISynchable '. |
Adapter |
createNodeAdapter()
Creates a new adapter for an object of class '
Node '. |
Adapter |
createTypeToValueMapAdapter()
Creates a new adapter for an object of class '
Type To Value Map '. |
Adapter |
createVariableAdapter()
Creates a new adapter for an object of class '
Variable '. |
boolean |
isFactoryForType(java.lang.Object object)
Returns whether this factory is applicable for the type of the object.
|
protected static VariablesPackage modelPackage
protected VariablesSwitch<Adapter> modelSwitch
createXXX
methods.
public VariablesAdapterFactory()
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.
public Adapter createAdapter(Notifier target)
target
.
target
- the object to adapt.target
.public Adapter createVariableAdapter()
Variable
'.
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.
Variable
public Adapter createTypeToValueMapAdapter()
Type To Value Map
'.
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.
Map.Entry
public Adapter createISynchableAdapter()
ISynchable
'.
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.
ISynchable
public Adapter createNodeAdapter()
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.
Node
public Adapter createEObjectAdapter()