Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Copyright (c) 2011 itemis AG ( and others. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at /
 package org.eclipse.xtext.ui.validation;
import  org.eclipse.core.resources.IFile;
import  org.eclipse.core.runtime.IProgressMonitor;
import  org.eclipse.core.runtime.OperationCanceledException;

Michael Clay - Initial contribution and API
public interface IResourceUIValidatorExtension {

Update the validation markers of the given file

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
	void updateValidationMarkers(IFile fileResource resourceCheckMode mode, IProgressMonitor monitorthrows OperationCanceledException;

Delete all validation markers corresponding to the given checkMode on the passed in file

file the file to create validation markers for
checkMode the mode (normal,fast,expensive) of the validation
	void deleteValidationMarkers(IFile fileCheckMode checkMode, IProgressMonitor monitorthrows OperationCanceledException;
New to GrepCode? Check out our FAQ X