public class CommonAdapterFactory extends AdapterFactoryImpl
createXXX
method for each class of the model.
CommonPackage
Constructor and Description |
---|
CommonAdapterFactory()
Creates an instance of the adapter factory.
|
Modifier and Type | Method and Description |
---|---|
Adapter |
createAdapter(Notifier target)
Creates an adapter for the
target . |
Adapter |
createAssignmentAdapter()
Creates a new adapter for an object of class '
Assignment '. |
Adapter |
createEObjectAdapter()
Creates a new adapter for the default case.
|
Adapter |
createExpressionAdapter()
Creates a new adapter for an object of class '
Expression '. |
Adapter |
createFormalParameterListAdapter()
Creates a new adapter for an object of class '
Formal Parameter List '. |
Adapter |
createJumpAdapter()
Creates a new adapter for an object of class '
Jump '. |
Adapter |
createLabelAdapter()
Creates a new adapter for an object of class '
Label '. |
Adapter |
createLDElementAdapter()
Creates a new adapter for an object of class '
LD Element '. |
Adapter |
createLiteralAdapter()
Creates a new adapter for an object of class '
Literal '. |
Adapter |
createParameterListAdapter()
Creates a new adapter for an object of class '
Parameter List '. |
Adapter |
createPositionalParameterListAdapter()
Creates a new adapter for an object of class '
Positional Parameter List '. |
Adapter |
createProgramConfigElementAdapter()
Creates a new adapter for an object of class '
Program Config Element '. |
Adapter |
createRangeAdapter()
Creates a new adapter for an object of class '
Range '. |
Adapter |
createSignalSinkAdapter()
Creates a new adapter for an object of class '
Signal Sink '. |
Adapter |
createStatementAdapter()
Creates a new adapter for an object of class '
Statement '. |
boolean |
isFactoryForType(Object object)
Returns whether this factory is applicable for the type of the object.
|
adapt, adapt, adaptAllNew, adaptNew
public CommonAdapterFactory()
public boolean isFactoryForType(Object object)
true
if the object is either the model's package or is an instance object of the model.
isFactoryForType
in interface AdapterFactory
isFactoryForType
in class AdapterFactoryImpl
public Adapter createAdapter(Notifier target)
target
.
createAdapter
in class AdapterFactoryImpl
target
- the object to adapt.target
.public 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 Adapter createExpressionAdapter()
Expression
'.
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.
Expression
public Adapter createFormalParameterListAdapter()
Formal Parameter List
'.
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.
FormalParameterList
public Adapter createJumpAdapter()
Jump
'.
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.
Jump
public Adapter createLabelAdapter()
Label
'.
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.
Label
public Adapter createLiteralAdapter()
Literal
'.
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.
Literal
public Adapter createParameterListAdapter()
Parameter List
'.
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.
ParameterList
public Adapter createPositionalParameterListAdapter()
Positional Parameter List
'.
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.
PositionalParameterList
public Adapter createRangeAdapter()
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.
Range
public Adapter createProgramConfigElementAdapter()
Program Config 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.
ProgramConfigElement
public Adapter createStatementAdapter()
Statement
'.
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.
Statement
public Adapter createSignalSinkAdapter()
Signal Sink
'.
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.
SignalSink
public Adapter createLDElementAdapter()
LD 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.
LDElement
public Adapter createEObjectAdapter()