strategyModel.setContextValidationStrategy(ErrorStrategyType.IGNORE);
strategyModel.setContextValidationDevice(CONTEXT_VALIDATION_ATTRIBUTE_DEFAULT);
}
errorStrategy = scanAddOns.getErrorStrategy();
if (errorStrategy.getActuatorsErrorStrategy() == null) {
errorStrategy.setActuatorsErrorStrategy(new ErrorStrategyItemModel());
setDefaultValues(errorStrategy.getActuatorsErrorStrategy());
}
if (errorStrategy.getSensorsErrorStrategy() == null) {
errorStrategy.setSensorsErrorStrategy(new ErrorStrategyItemModel());
setDefaultValues(errorStrategy.getSensorsErrorStrategy());
}
if (errorStrategy.getHooksErrorStrategy() == null) {
errorStrategy.setHooksErrorStrategy(new ErrorStrategyItemModel());
setDefaultValues(errorStrategy.getHooksErrorStrategy());
}
if (errorStrategy.getTimebasesErrorStrategy() == null) {
errorStrategy.setTimebasesErrorStrategy(new ErrorStrategyItemModel());
setDefaultValues(errorStrategy.getTimebasesErrorStrategy());
}
refresh();