Class BslNotifyingResourceValidator

  • All Implemented Interfaces:
    org.eclipse.xtext.validation.IResourceValidator

    public class BslNotifyingResourceValidator
    extends NotifyingResourceValidator
    Delegating IResourceValidator implementation that notifies its listeners upon validation completion.
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.eclipse.xtext.validation.ResourceValidatorImpl

        org.eclipse.xtext.validation.ResourceValidatorImpl.ListBasedMarkerAcceptor
    • Field Summary

      • Fields inherited from interface org.eclipse.xtext.validation.IResourceValidator

        NULL
    • 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)
      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
    • Constructor Detail

      • BslNotifyingResourceValidator

        @Inject
        public BslNotifyingResourceValidator​(com.google.inject.Injector injector)
        Constructor
        Parameters:
        injector - actual plugin injector, can't be null
    • 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 interface org.eclipse.xtext.validation.IResourceValidator
        Overrides:
        validate in class NotifyingResourceValidator
      • resolveProxies

        protected void resolveProxies​(org.eclipse.emf.ecore.resource.Resource resource,
                                      org.eclipse.xtext.util.CancelIndicator monitor)
        Overrides:
        resolveProxies in class org.eclipse.xtext.validation.ResourceValidatorImpl