Package com._1c.g5.v8.dt.bsl.validation
Interface IBslValidationContributor
- All Known Implementing Classes:
BslValidationContributor
public interface IBslValidationContributor
Extension for call
IValidationContributor for checking Bsl language objects.
Extension provides API for validate EObject from Bsl language model and add Issue to actual DiagnosticChain-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classAdapter that holds the provided context. -
Method Summary
Modifier and TypeMethodDescriptionvoidvalidate(org.eclipse.emf.ecore.EObject eObject, org.eclipse.emf.common.util.DiagnosticChain diagnostic, Map<Object, Object> context, org.eclipse.core.resources.IProject project, org.eclipse.core.runtime.IProgressMonitor progressMonitor) Validates concreteEObjectfrom Bsl language model
-
Method Details
-
validate
void validate(org.eclipse.emf.ecore.EObject eObject, org.eclipse.emf.common.util.DiagnosticChain diagnostic, Map<Object, Object> context, org.eclipse.core.resources.IProject project, org.eclipse.core.runtime.IProgressMonitor progressMonitor) Validates concreteEObjectfrom Bsl language model- Parameters:
eObject- validating object, cannot benulldiagnostic- actualDiagnosticChainfor accumulateIssue, cannot benullcontext- The context of the validation. Stores the externally provided data that affects the called validation scenarios. Cannot benullproject- the project, can benullprogressMonitor- canсel indicator, can benull
-