Package org.eclipse.emfforms.ide.builder
Interface ValidationDelegate
-
- All Known Implementing Classes:
ValidationServiceDelegate
,ViewModelValidationDelegate
public interface ValidationDelegate
Protocol for delegates that the validation builder invokes to validate workspace resources.
-
-
Field Summary
Fields Modifier and Type Field Description static ValidationDelegate
NULL
A validation delegate that does nothing.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Optional<org.eclipse.emf.common.util.Diagnostic>
validate(org.eclipse.core.resources.IFile file, org.eclipse.core.runtime.IProgressMonitor monitor)
Validate afile
in the workspace.
-
-
-
Field Detail
-
NULL
static final ValidationDelegate NULL
A validation delegate that does nothing.
-
-
Method Detail
-
validate
Optional<org.eclipse.emf.common.util.Diagnostic> validate(org.eclipse.core.resources.IFile file, org.eclipse.core.runtime.IProgressMonitor monitor)
Validate afile
in the workspace.- Parameters:
file
- the file to validatemonitor
- for reporting validation progress- Returns:
- the problems found, if any
-
-