Deletes all markers on this resource of the given type, and, optionally, deletes such markers from its children. If
includeSubtypes
is
false
, only markers whose type exactly matches the given type are deleted.
This method changes resources; these changes will be reported in a subsequent resource change event.
@param type the type of marker to consider, or
null
to indicate all types
@param includeSubtypes whether or not to consider sub-types of the given type
@param depth how far to recurse (see
IResource.DEPTH_*
)
@exception CoreException if this method fails. Reasons include:
- This resource does not exist.
- This resource is a project that is not open.
- Resource changes are disallowed during certain types of resource change event notification. See
IResourceChangeEvent
for more details.
@see IResource#DEPTH_ZERO
@see IResource#DEPTH_ONE
@see IResource#DEPTH_INFINITE
@see IResourceRuleFactory#markerRule(IResource)