Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Copyright (c) 2011 itemis AG (http://www.itemis.eu) 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 http://www.eclipse.org/legal/epl-v10.html /
 
 package org.eclipse.xtext.ui.validation;
 
import  org.eclipse.core.resources.IFile;
import  org.eclipse.core.runtime.IProgressMonitor;
import  org.eclipse.core.runtime.OperationCanceledException;

Author(s):
Michael Clay - Initial contribution and API
Since:
2.1
public interface IResourceUIValidatorExtension {

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

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
	void deleteValidationMarkers(IFile fileCheckMode checkMode, IProgressMonitor monitorthrows OperationCanceledException;
New to GrepCode? Check out our FAQ X