Class BslCancelableDiagnostician

java.lang.Object
org.eclipse.emf.ecore.util.Diagnostician
org.eclipse.xtext.validation.CancelableDiagnostician
com._1c.g5.modeling.xtext.validation.CustomCancelableDiagnostician
com._1c.g5.v8.dt.bsl.validation.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 final org.eclipse.xtext.validation.CheckMode
    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

    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 com._1c.g5.modeling.xtext.validation.CustomCancelableDiagnostician

    validate, validate

    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • 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 Details

    • BslCancelableDiagnostician

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

    • 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