Package org.eclipse.xtext.validation

Examples of org.eclipse.xtext.validation.AbstractValidationDiagnostic


    }

    public boolean apply(Diagnostic d) {
      if(msg != null && d.getMessage() != null && !d.getMessage().contains(msg))
        return false;
      AbstractValidationDiagnostic issue = null;
      if(d instanceof AbstractValidationDiagnostic)
        issue = (AbstractValidationDiagnostic) d;

      if(issueCode != null && (issue == null || !issue.getIssueCode().equals(issueCode)))
        return false;
      return true;
    }
View Full Code Here

TOP

Related Classes of org.eclipse.xtext.validation.AbstractValidationDiagnostic

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.