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, adaptNew
public 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 AdapterFactory
isFactoryForType
in class AdapterFactoryImpl
public Adapter createAdapter(Notifier target)
target
.
createAdapter
in class AdapterFactoryImpl
target
- 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.
Case
public 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.
CaseElement
public 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.
Exit
public 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.
For
public 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.
If
public 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.
Iteration
public 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.
NilValue
public 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.
Repeat
public 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.
Return
public 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.
SimpleIteration
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 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.
StatementList
public 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.
While
public 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.
FunctionBodySpecification
public 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.
FunctionBlockBodySpecification
public Adapter createEObjectAdapter()