public class ValidationService extends AbstractCachedService<ValidationResult>
| Constructor and Description |
|---|
ValidationService() |
| Modifier and Type | Method and Description |
|---|---|
ValidationResult |
compute(IXtextWebDocument it,
org.eclipse.xtext.util.CancelIndicator cancelIndicator)
Compute the validation result for the given document.
|
protected java.lang.String |
translate(org.eclipse.xtext.diagnostics.Severity severity) |
getResultpublic ValidationResult compute(IXtextWebDocument it, org.eclipse.xtext.util.CancelIndicator cancelIndicator)
AbstractCachedService.getResult(XtextWebDocumentAccess) instead
in order to avoid duplicate computations.compute in class AbstractCachedService<ValidationResult>protected java.lang.String translate(org.eclipse.xtext.diagnostics.Severity severity)