Class QlDcsCustomCancelableDiagnostician

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.internal.ql.dcs.QlDcsCustomCancelableDiagnostician
All Implemented Interfaces:
org.eclipse.emf.ecore.EValidator, org.eclipse.emf.ecore.EValidator.SubstitutionLabelProvider

public class QlDcsCustomCancelableDiagnostician extends CustomCancelableDiagnostician
QL custom diagnostician with BM trancsaction cancelling exception handling
  • 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 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
    QlDcsCustomCancelableDiagnostician(org.eclipse.emf.ecore.EValidator.Registry registry)
    Constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    protected boolean
    doValidate(org.eclipse.emf.ecore.EValidator eValidator, org.eclipse.emf.ecore.EClass eClass, org.eclipse.emf.ecore.EObject eObject, org.eclipse.emf.common.util.DiagnosticChain diagnostics, Map<Object,Object> context)
     
    protected boolean
    doValidateContents(org.eclipse.emf.ecore.EObject eObject, org.eclipse.emf.common.util.DiagnosticChain diagnostics, Map<Object,Object> context)
     
    boolean
    validate(org.eclipse.emf.ecore.EClass eClass, 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

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

    • QlDcsCustomCancelableDiagnostician

      @Inject public QlDcsCustomCancelableDiagnostician(org.eclipse.emf.ecore.EValidator.Registry registry)
      Constructor
      Parameters:
      registry - actual EValidator.Registry, cannot be null
  • Method Details

    • validate

      public boolean validate(org.eclipse.emf.ecore.EClass eClass, org.eclipse.emf.ecore.EObject eObject, org.eclipse.emf.common.util.DiagnosticChain diagnostics, Map<Object,Object> context)
      Specified by:
      validate in interface org.eclipse.emf.ecore.EValidator
      Overrides:
      validate in class CustomCancelableDiagnostician
    • doValidate

      protected boolean doValidate(org.eclipse.emf.ecore.EValidator eValidator, org.eclipse.emf.ecore.EClass eClass, org.eclipse.emf.ecore.EObject eObject, org.eclipse.emf.common.util.DiagnosticChain diagnostics, Map<Object,Object> context)
      Overrides:
      doValidate in class org.eclipse.emf.ecore.util.Diagnostician
    • 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