Interface ValidationDelegate

    • 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 a file in the workspace.
    • Method Detail

      • validate

        Optional<org.eclipse.emf.common.util.Diagnostic> validate​(org.eclipse.core.resources.IFile file,
                                                                  org.eclipse.core.runtime.IProgressMonitor monitor)
        Validate a file in the workspace.
        Parameters:
        file - the file to validate
        monitor - for reporting validation progress
        Returns:
        the problems found, if any