if (validatorIds.size() > 0) {
for (final String validatorId : validatorIds) {
// get validator, else skip
final ProcessValidator processValidator = ExtensionPointUtil.getProcessValidator(validatorId);
if (processValidator != null) {
monitor.subTask("Invoking " + processValidator.getValidatorName());
if (!(processValidator.validateDiagram(diagram, new SubProgressMonitor(activeMonitor, WORK_INVOKE_VALIDATORS_VALIDATOR)))) {
// don't break if one result is false: keep validating to get
// all of the problems
overallResult = false;
}
}