Class BslCancelableDiagnostician

  • All Implemented Interfaces:
    org.eclipse.emf.ecore.EValidator, org.eclipse.emf.ecore.EValidator.SubstitutionLabelProvider

    public class BslCancelableDiagnostician
    extends CustomCancelableDiagnostician
    Special CancelableDiagnostician for Bsl module. This class contains some improvements of validation process - faster processing objects in Bsl module
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.EValidator

        org.eclipse.emf.ecore.EValidator.Descriptor, org.eclipse.emf.ecore.EValidator.PatternMatcher, org.eclipse.emf.ecore.EValidator.Registry, org.eclipse.emf.ecore.EValidator.SubstitutionLabelProvider, org.eclipse.emf.ecore.EValidator.ValidationDelegate
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static org.eclipse.xtext.validation.CheckMode ALL_FOR_FULL_MODULE
      Special CheckMode.
      • Fields inherited from class org.eclipse.xtext.validation.CancelableDiagnostician

        CANCEL_INDICATOR
      • Fields inherited from class org.eclipse.emf.ecore.util.Diagnostician

        eValidatorRegistry, INSTANCE, VALIDATE_RECURSIVELY
      • Fields inherited from interface org.eclipse.emf.ecore.EValidator

        MARKER, RELATED_URIS_ATTRIBUTE, URI_ATTRIBUTE
    • Constructor Summary

      Constructors 
      Constructor Description
      BslCancelableDiagnostician​(org.eclipse.emf.ecore.EValidator.Registry registry)
      Constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected boolean doValidateContents​(org.eclipse.emf.ecore.EObject eObject, org.eclipse.emf.common.util.DiagnosticChain diagnostics, Map<Object,​Object> context)  
      • Methods inherited from class org.eclipse.xtext.validation.CancelableDiagnostician

        checkCanceled, getCancelIndicator, isCanceled
      • Methods inherited from class org.eclipse.emf.ecore.util.Diagnostician

        createDefaultContext, createDefaultDiagnostic, createDefaultDiagnostic, doValidate, doValidate, getFeatureLabel, getObjectLabel, getValueLabel, handleThrowable, isValidateContentsRecursively, validate, validate, validate, validate, validate
    • Field Detail

      • ALL_FOR_FULL_MODULE

        public static final org.eclipse.xtext.validation.CheckMode ALL_FOR_FULL_MODULE
        Special CheckMode. It is the same as CheckMode.ALL and ignoring PartialParseResult in BslResource
    • Constructor Detail

      • BslCancelableDiagnostician

        @Inject
        public BslCancelableDiagnostician​(org.eclipse.emf.ecore.EValidator.Registry registry)
        Constructor
        Parameters:
        registry - special validator registry for registered this class as validotator
    • Method Detail

      • doValidateContents

        protected boolean doValidateContents​(org.eclipse.emf.ecore.EObject eObject,
                                             org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                             Map<Object,​Object> context)
        Overrides:
        doValidateContents in class org.eclipse.emf.ecore.util.Diagnostician