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, adaptNewpublic 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 AdapterFactoryisFactoryForType in class AdapterFactoryImplpublic Adapter createAdapter(Notifier target)
target.
createAdapter in class AdapterFactoryImpltarget - 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.
Assignmentpublic 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.
Expressionpublic 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.
FormalParameterListpublic 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.
Jumppublic 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.
Labelpublic 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.
Literalpublic 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.
ParameterListpublic 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.
PositionalParameterListpublic 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.
Rangepublic 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.
ProgramConfigElementpublic 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.
Statementpublic 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.
SignalSinkpublic 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.
LDElementpublic Adapter createEObjectAdapter()