diff options
Diffstat (limited to 'extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp1_datatypes/util/Oarp1_datatypesAdapterFactory.java')
1 files changed, 36 insertions, 22 deletions
diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp1_datatypes/util/Oarp1_datatypesAdapterFactory.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp1_datatypes/util/Oarp1_datatypesAdapterFactory.java index 7bd3aa7a7f4..4f8323cf3ec 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp1_datatypes/util/Oarp1_datatypesAdapterFactory.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp1_datatypes/util/Oarp1_datatypesAdapterFactory.java @@ -16,6 +16,7 @@ import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTyp * The <b>Adapter Factory</b> for the model. * It provides an adapter <code>createXXX</code> method for each class of the model. * <!-- end-user-doc --> + * * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.Oarp1_datatypesPackage * @generated */ @@ -24,6 +25,7 @@ public class Oarp1_datatypesAdapterFactory extends AdapterFactoryImpl { * The cached model package. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ protected static Oarp1_datatypesPackage modelPackage; @@ -32,6 +34,7 @@ public class Oarp1_datatypesAdapterFactory extends AdapterFactoryImpl { * Creates an instance of the adapter factory. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public Oarp1_datatypesAdapterFactory() { @@ -45,6 +48,7 @@ public class Oarp1_datatypesAdapterFactory extends AdapterFactoryImpl { * <!-- begin-user-doc --> * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model. * <!-- end-user-doc --> + * * @return whether this factory is applicable for the type of the object. * @generated */ @@ -54,7 +58,7 @@ public class Oarp1_datatypesAdapterFactory extends AdapterFactoryImpl { return true; } if (object instanceof EObject) { - return ((EObject)object).eClass().getEPackage() == modelPackage; + return ((EObject) object).eClass().getEPackage() == modelPackage; } return false; } @@ -63,39 +67,45 @@ public class Oarp1_datatypesAdapterFactory extends AdapterFactoryImpl { * The switch that delegates to the <code>createXXX</code> methods. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ protected Oarp1_datatypesSwitch<Adapter> modelSwitch = - new Oarp1_datatypesSwitch<Adapter>() { - @Override - public Adapter caseCarLikeCommand(CarLikeCommand object) { - return createCarLikeCommandAdapter(); - } - @Override - public Adapter caseMultiLayerLidarScan(MultiLayerLidarScan object) { - return createMultiLayerLidarScanAdapter(); - } - @Override - public Adapter caseExtentedLidarScan(ExtentedLidarScan object) { - return createExtentedLidarScanAdapter(); - } - @Override - public Adapter defaultCase(EObject object) { - return createEObjectAdapter(); - } - }; + new Oarp1_datatypesSwitch<Adapter>() { + @Override + public Adapter caseCarLikeCommand(CarLikeCommand object) { + return createCarLikeCommandAdapter(); + } + + @Override + public Adapter caseMultiLayerLidarScan(MultiLayerLidarScan object) { + return createMultiLayerLidarScanAdapter(); + } + + @Override + public Adapter caseExtentedLidarScan(ExtentedLidarScan object) { + return createExtentedLidarScanAdapter(); + } + + @Override + public Adapter defaultCase(EObject object) { + return createEObjectAdapter(); + } + }; /** * Creates an adapter for the <code>target</code>. * <!-- begin-user-doc --> * <!-- end-user-doc --> - * @param target the object to adapt. + * + * @param target + * the object to adapt. * @return the adapter for the <code>target</code>. * @generated */ @Override public Adapter createAdapter(Notifier target) { - return modelSwitch.doSwitch((EObject)target); + return modelSwitch.doSwitch((EObject) target); } @@ -105,6 +115,7 @@ public class Oarp1_datatypesAdapterFactory extends AdapterFactoryImpl { * 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. * <!-- end-user-doc --> + * * @return the new adapter. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.CarLikeCommand * @generated @@ -119,6 +130,7 @@ public class Oarp1_datatypesAdapterFactory extends AdapterFactoryImpl { * 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. * <!-- end-user-doc --> + * * @return the new adapter. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.MultiLayerLidarScan * @generated @@ -133,6 +145,7 @@ public class Oarp1_datatypesAdapterFactory extends AdapterFactoryImpl { * 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. * <!-- end-user-doc --> + * * @return the new adapter. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.ExtentedLidarScan * @generated @@ -146,6 +159,7 @@ public class Oarp1_datatypesAdapterFactory extends AdapterFactoryImpl { * <!-- begin-user-doc --> * This default implementation returns null. * <!-- end-user-doc --> + * * @return the new adapter. * @generated */ @@ -153,4 +167,4 @@ public class Oarp1_datatypesAdapterFactory extends AdapterFactoryImpl { return null; } -} //Oarp1_datatypesAdapterFactory +} // Oarp1_datatypesAdapterFactory |