Java Code Examples for org.eclipse.core.resources.IResource.DEPTH_INFINITE

The following are Jave code examples for showing how to use DEPTH_INFINITE 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: gw4e.project   File: NoMarkerCondition.java   Source Code and License Vote up 5 votes
@Override
public boolean checkCondition() throws Exception {
	IMarker[] problems = null;
	   int depth = IResource.DEPTH_INFINITE;
	   problems = project.findMarkers(IMarker.PROBLEM, true, depth);
	   return problems == null || problems.length == 0;
}