Java Code Examples for org.eclipse.core.resources.IResource.deleteMarkers()

The following are Jave code examples for showing how to use deleteMarkers() of the org.eclipse.core.resources.IResource class. You can vote up the examples you like. Your votes will be used in our system to get more good examples.
Example 1
Project: Equella   File: JPFManifestBuilder.java   Source Code and License Vote up 5 votes
private void cleanProblems(IResource resource, int depth) throws CoreException
{
	if( resource.exists() )
	{
		resource.deleteMarkers(JPFClasspathPlugin.MARKER_ID, true, depth);
	}
}
 
Example 2
Project: gemoc-studio   File: Marker.java   Source Code and License Vote up 4 votes
static public void removeMarkers(IResource resource, String markerType) throws CoreException
{
	resource.deleteMarkers(markerType, true, IResource.DEPTH_INFINITE);
}