public class DefaultResourceUIValidatorExtension extends MarkerEraser implements IResourceUIValidatorExtension
| Constructor and Description |
|---|
DefaultResourceUIValidatorExtension() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addMarkers(org.eclipse.core.resources.IFile file,
org.eclipse.emf.ecore.resource.Resource resource,
CheckMode mode,
org.eclipse.core.runtime.IProgressMonitor monitor) |
protected void |
createMarkers(org.eclipse.core.resources.IFile file,
List<Issue> list,
org.eclipse.core.runtime.IProgressMonitor monitor) |
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
|
protected CancelIndicator |
getCancelIndicator(org.eclipse.core.runtime.IProgressMonitor monitor) |
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
|
deleteMarkers, shouldProcesspublic void updateValidationMarkers(org.eclipse.core.resources.IFile file,
org.eclipse.emf.ecore.resource.Resource resource,
CheckMode mode,
org.eclipse.core.runtime.IProgressMonitor monitor)
throws org.eclipse.core.runtime.OperationCanceledException
IResourceUIValidatorExtensionupdateValidationMarkers in interface IResourceUIValidatorExtensionfile - the file to create validation markers forresource - the resource corresponding to the given filemode - the mode (normal,fast,expensive) of the validationorg.eclipse.core.runtime.OperationCanceledExceptionpublic void deleteValidationMarkers(org.eclipse.core.resources.IFile file,
CheckMode checkMode,
org.eclipse.core.runtime.IProgressMonitor monitor)
deleteValidationMarkers in interface IResourceUIValidatorExtensiondeleteValidationMarkers in class MarkerEraserfile - the file to create validation markers forcheckMode - the mode (normal,fast,expensive) of the validationprotected void addMarkers(org.eclipse.core.resources.IFile file,
org.eclipse.emf.ecore.resource.Resource resource,
CheckMode mode,
org.eclipse.core.runtime.IProgressMonitor monitor)
throws org.eclipse.core.runtime.OperationCanceledException
org.eclipse.core.runtime.OperationCanceledExceptionprotected void createMarkers(org.eclipse.core.resources.IFile file,
List<Issue> list,
org.eclipse.core.runtime.IProgressMonitor monitor)
throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreExceptionprotected CancelIndicator getCancelIndicator(org.eclipse.core.runtime.IProgressMonitor monitor)
Copyright © 2016. All Rights Reserved.