return allActuators;
}
@Override
protected IConfig<IDimension2DX> initModel() {
Config2DModel config2DModel = new Config2DModel(this);
IDimension2DX dimension2DX = (IDimension2DX) getDimensionX();
if (dimension2DX != null && dimension2DX instanceof IObjectImpl<?>) {
IDimension2DX dimensionModel = (IDimension2DX) ((IObjectImpl<?>) dimension2DX)
.toModel();
List<IActuator> actuatorList = dimension2DX.getActuatorsList();
List<IActuator> actuatorListModel = convertActuatorListToModel(actuatorList);
dimensionModel.setActuatorsList(actuatorListModel);
config2DModel.setDimensionX(dimensionModel);
}
if (dimensionY != null && dimensionY instanceof IObjectImpl<?>) {
IDimension2DY dimensionModel = (IDimension2DY) ((IObjectImpl<?>) dimensionY).toModel();
List<IActuator> actuatorList = dimensionY.getActuatorsList();
List<IActuator> actuatorListModel = convertActuatorListToModel(actuatorList);
dimensionModel.setActuatorsList(actuatorListModel);
config2DModel.setDimensionY(dimensionModel);
}
return config2DModel;
}