public class MechanicalComponentsAdapterFactory extends AdapterFactoryImpl
createXXX
method for each class of the model.
MechanicalComponentsPackage
Constructor and Description |
---|
MechanicalComponentsAdapterFactory()
Creates an instance of the adapter factory.
|
Modifier and Type | Method and Description |
---|---|
Adapter |
createAdapter(Notifier target)
Creates an adapter for the
target . |
Adapter |
createArmAdapter()
Creates a new adapter for an object of class '
Arm '. |
Adapter |
createComponentAdapter()
Creates a new adapter for an object of class '
Component '. |
Adapter |
createEObjectAdapter()
Creates a new adapter for the default case.
|
Adapter |
createGripperPartAdapter()
Creates a new adapter for an object of class '
Gripper Part '. |
Adapter |
createHousingAdapter()
Creates a new adapter for an object of class '
Housing '. |
Adapter |
createIdentifierAdapter()
Creates a new adapter for an object of class '
Identifier '. |
Adapter |
createMechanicalAssemblyAdapter()
Creates a new adapter for an object of class '
Mechanical Assembly '. |
Adapter |
createMechanicalPartAdapter()
Creates a new adapter for an object of class '
Mechanical Part '. |
Adapter |
createPushheadAdapter()
Creates a new adapter for an object of class '
Pushhead '. |
Adapter |
createRampAdapter()
Creates a new adapter for an object of class '
Ramp '. |
Adapter |
createReturnSpringAdapter()
Creates a new adapter for an object of class '
Return Spring '. |
Adapter |
createRubberBandAdapter()
Creates a new adapter for an object of class '
Rubber Band '. |
Adapter |
createTableAdapter()
Creates a new adapter for an object of class '
Table '. |
boolean |
isFactoryForType(Object object)
Returns whether this factory is applicable for the type of the object.
|
adapt, adapt, adaptAllNew, adaptNew
public MechanicalComponentsAdapterFactory()
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 createMechanicalPartAdapter()
Mechanical Part
'.
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.
MechanicalPart
public Adapter createPushheadAdapter()
Pushhead
'.
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.
Pushhead
public Adapter createHousingAdapter()
Housing
'.
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.
Housing
public Adapter createReturnSpringAdapter()
Return Spring
'.
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.
ReturnSpring
public Adapter createRubberBandAdapter()
Rubber Band
'.
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.
RubberBand
public Adapter createGripperPartAdapter()
Gripper Part
'.
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.
GripperPart
public Adapter createArmAdapter()
Arm
'.
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.
Arm
public Adapter createRampAdapter()
Ramp
'.
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.
Ramp
public Adapter createTableAdapter()
Table
'.
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.
Table
public Adapter createIdentifierAdapter()
Identifier
'.
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.
Identifier
public Adapter createComponentAdapter()
Component
'.
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.
Component
public Adapter createMechanicalAssemblyAdapter()
Mechanical Assembly
'.
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.
MechanicalAssembly
public Adapter createEObjectAdapter()