public class StAdapterFactory extends AdapterFactoryImpl
createXXX method for each class of the model.
StPackage| Constructor and Description |
|---|
StAdapterFactory()
Creates an instance of the adapter factory.
|
| Modifier and Type | Method and Description |
|---|---|
Adapter |
createAdapter(Notifier target)
Creates an adapter for the
target. |
Adapter |
createCaseAdapter()
Creates a new adapter for an object of class '
Case'. |
Adapter |
createCaseElementAdapter()
Creates a new adapter for an object of class '
Case Element'. |
Adapter |
createEObjectAdapter()
Creates a new adapter for the default case.
|
Adapter |
createExitAdapter()
Creates a new adapter for an object of class '
Exit'. |
Adapter |
createForAdapter()
Creates a new adapter for an object of class '
For'. |
Adapter |
createFunctionBlockBodySpecificationAdapter()
Creates a new adapter for an object of class '
Function Block Body Specification'. |
Adapter |
createFunctionBodySpecificationAdapter()
Creates a new adapter for an object of class '
Function Body Specification'. |
Adapter |
createIfAdapter()
Creates a new adapter for an object of class '
If'. |
Adapter |
createIterationAdapter()
Creates a new adapter for an object of class '
Iteration'. |
Adapter |
createNilValueAdapter()
Creates a new adapter for an object of class '
Nil Value'. |
Adapter |
createRepeatAdapter()
Creates a new adapter for an object of class '
Repeat'. |
Adapter |
createReturnAdapter()
Creates a new adapter for an object of class '
Return'. |
Adapter |
createSimpleIterationAdapter()
Creates a new adapter for an object of class '
Simple Iteration'. |
Adapter |
createStatementAdapter()
Creates a new adapter for an object of class '
Statement'. |
Adapter |
createStatementListAdapter()
Creates a new adapter for an object of class '
Statement List'. |
Adapter |
createWhileAdapter()
Creates a new adapter for an object of class '
While'. |
boolean |
isFactoryForType(Object object)
Returns whether this factory is applicable for the type of the object.
|
adapt, adapt, adaptAllNew, adaptNewpublic StAdapterFactory()
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 createCaseAdapter()
Case'.
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.
Casepublic Adapter createCaseElementAdapter()
Case 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.
CaseElementpublic Adapter createExitAdapter()
Exit'.
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.
Exitpublic Adapter createForAdapter()
For'.
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.
Forpublic Adapter createIfAdapter()
If'.
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.
Ifpublic Adapter createIterationAdapter()
Iteration'.
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.
Iterationpublic Adapter createNilValueAdapter()
Nil Value'.
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.
NilValuepublic Adapter createRepeatAdapter()
Repeat'.
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.
Repeatpublic Adapter createReturnAdapter()
Return'.
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.
Returnpublic Adapter createSimpleIterationAdapter()
Simple Iteration'.
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.
SimpleIterationpublic 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 createStatementListAdapter()
Statement 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.
StatementListpublic Adapter createWhileAdapter()
While'.
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.
Whilepublic Adapter createFunctionBodySpecificationAdapter()
Function Body Specification'.
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.
FunctionBodySpecificationpublic Adapter createFunctionBlockBodySpecificationAdapter()
Function Block Body Specification'.
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.
FunctionBlockBodySpecificationpublic Adapter createEObjectAdapter()