public class IlAdapterFactory extends AdapterFactoryImpl
createXXX
method for each class of the model.
IlPackage
Constructor and Description |
---|
IlAdapterFactory()
Creates an instance of the adapter factory.
|
Modifier and Type | Method and Description |
---|---|
Adapter |
createAdapter(Notifier target)
Creates an adapter for the
target . |
Adapter |
createComplexInstructionAdapter()
Creates a new adapter for an object of class '
Complex Instruction '. |
Adapter |
createEObjectAdapter()
Creates a new adapter for the default case.
|
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 |
createInstructionAdapter()
Creates a new adapter for an object of class '
Instruction '. |
Adapter |
createInstructionListAdapter()
Creates a new adapter for an object of class '
Instruction List '. |
Adapter |
createJumpInstructionAdapter()
Creates a new adapter for an object of class '
Jump Instruction '. |
Adapter |
createReturnInstructionAdapter()
Creates a new adapter for an object of class '
Return Instruction '. |
Adapter |
createSimpleInstructionAdapter()
Creates a new adapter for an object of class '
Simple Instruction '. |
boolean |
isFactoryForType(Object object)
Returns whether this factory is applicable for the type of the object.
|
adapt, adapt, adaptAllNew, adaptNew
public IlAdapterFactory()
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 createComplexInstructionAdapter()
Complex Instruction
'.
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.
ComplexInstruction
public Adapter createInstructionAdapter()
Instruction
'.
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.
Instruction
public Adapter createInstructionListAdapter()
Instruction 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.
InstructionList
public Adapter createJumpInstructionAdapter()
Jump Instruction
'.
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.
JumpInstruction
public Adapter createReturnInstructionAdapter()
Return Instruction
'.
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.
ReturnInstruction
public Adapter createSimpleInstructionAdapter()
Simple Instruction
'.
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.
SimpleInstruction
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()