org.eclipse.xtext.ui.validation
Interface IResourceUIValidatorExtension

All Known Implementing Classes:
DefaultResourceUIValidatorExtension

public interface IResourceUIValidatorExtension

Since:
2.1
Author:
Michael Clay - Initial contribution and API

Method Summary
 void deleteValidationMarkers(org.eclipse.core.resources.IFile file, CheckMode checkMode, org.eclipse.core.runtime.IProgressMonitor monitor)
          Delete all validation markers corresponding to the given checkMode on the passed in file
 void updateValidationMarkers(org.eclipse.core.resources.IFile file, org.eclipse.emf.ecore.resource.Resource resource, CheckMode mode, org.eclipse.core.runtime.IProgressMonitor monitor)
          Update the validation markers of the given file
 

Method Detail

updateValidationMarkers

void updateValidationMarkers(org.eclipse.core.resources.IFile file,
                             org.eclipse.emf.ecore.resource.Resource resource,
                             CheckMode mode,
                             org.eclipse.core.runtime.IProgressMonitor monitor)
Update the validation markers of the given file

Parameters:
file - the file to create validation markers for
resource - the resource corresponding to the given file
mode - the mode (normal,fast,expensive) of the validation

deleteValidationMarkers

void deleteValidationMarkers(org.eclipse.core.resources.IFile file,
                             CheckMode checkMode,
                             org.eclipse.core.runtime.IProgressMonitor monitor)
Delete all validation markers corresponding to the given checkMode on the passed in file

Parameters:
file - the file to create validation markers for
checkMode - the mode (normal,fast,expensive) of the validation