Package org.activiti.designer.eclipse.extension.validation

Examples of org.activiti.designer.eclipse.extension.validation.ProcessValidator


      for (final IConfigurationElement e : validatorConfiguration) {

        try {
          final Object o = e.createExecutableExtension("class");
          if (o instanceof ProcessValidator) {
            final ProcessValidator processValidator = (ProcessValidator) o;
            result.put(processValidator.getValidatorId(), processValidator);
          }
        } catch (CoreException e1) {
          e1.printStackTrace();
        }
View Full Code Here


      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;
            }
          }
View Full Code Here

TOP

Related Classes of org.activiti.designer.eclipse.extension.validation.ProcessValidator

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.