Package com._1c.g5.v8.dt.bsl.validation
Class BslNotifyingResourceValidator
- java.lang.Object
-
- org.eclipse.xtext.validation.ResourceValidatorImpl
-
- com._1c.g5.v8.dt.lcore.validation.NotifyingResourceValidator
-
- com._1c.g5.v8.dt.bsl.validation.BslNotifyingResourceValidator
-
- All Implemented Interfaces:
org.eclipse.xtext.validation.IResourceValidator
public class BslNotifyingResourceValidator extends NotifyingResourceValidator
DelegatingIResourceValidator
implementation that notifies its listeners upon validation completion.
-
-
Constructor Summary
Constructors Constructor Description BslNotifyingResourceValidator(com.google.inject.Injector injector)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
notifyListeners(org.eclipse.emf.ecore.resource.Resource resource, List<org.eclipse.xtext.validation.Issue> issues)
Notifies allIResourceValidatorListener
protected void
resolveProxies(org.eclipse.emf.ecore.resource.Resource resource, org.eclipse.xtext.util.CancelIndicator monitor)
List<org.eclipse.xtext.validation.Issue>
validate(org.eclipse.emf.ecore.resource.Resource resource, org.eclipse.xtext.validation.CheckMode mode, org.eclipse.xtext.util.CancelIndicator indicator)
-
Methods inherited from class org.eclipse.xtext.validation.ResourceValidatorImpl
collectResourceDiagnostics, createAcceptor, getDiagnosticConverter, getDiagnostician, getOperationCanceledManager, issueFromEValidatorDiagnostic, issueFromXtextResourceDiagnostic, setDiagnosticConverter, setDiagnostician, validate, validate
-
-
-
-
Method Detail
-
validate
public List<org.eclipse.xtext.validation.Issue> validate(org.eclipse.emf.ecore.resource.Resource resource, org.eclipse.xtext.validation.CheckMode mode, org.eclipse.xtext.util.CancelIndicator indicator)
- Specified by:
validate
in interfaceorg.eclipse.xtext.validation.IResourceValidator
- Overrides:
validate
in classNotifyingResourceValidator
-
resolveProxies
protected void resolveProxies(org.eclipse.emf.ecore.resource.Resource resource, org.eclipse.xtext.util.CancelIndicator monitor)
- Overrides:
resolveProxies
in classorg.eclipse.xtext.validation.ResourceValidatorImpl
-
notifyListeners
protected void notifyListeners(org.eclipse.emf.ecore.resource.Resource resource, List<org.eclipse.xtext.validation.Issue> issues)
Description copied from class:NotifyingResourceValidator
Notifies allIResourceValidatorListener
- Overrides:
notifyListeners
in classNotifyingResourceValidator
- Parameters:
resource
- actual validating resource, can't benull
issues
- foundIssue
, can't benull
-
-