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 class
Adapter that holds the provided context. -
Method Summary
Modifier and TypeMethodDescriptionvoid
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 concreteEObject
from 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 concreteEObject
from Bsl language model- Parameters:
eObject
- validating object, cannot benull
diagnostic
- actualDiagnosticChain
for accumulateIssue
, cannot benull
context
- The context of the validation. Stores the externally provided data that affects the called validation scenarios. Cannot benull
project
- the project, can benull
progressMonitor
- canсel indicator, can benull
-