ResourceEventResolver
instead.@Deprecated
public abstract class ResourceDeltaResolver
extends java.lang.Object
implements org.eclipse.core.resources.IResourceDeltaVisitor
Modifier | Constructor and Description |
---|---|
protected |
ResourceDeltaResolver()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected void |
postVisitOrProbe()
Deprecated.
|
protected void |
preVisitOrProbe()
Deprecated.
|
boolean |
probe(org.eclipse.core.resources.IResource resource)
Deprecated.
Resolves supplied resource.
|
protected abstract boolean |
resolveDelta(org.eclipse.core.resources.IResourceDelta delta,
org.eclipse.core.resources.IResource resource)
Deprecated.
|
protected abstract boolean |
resolveResource(org.eclipse.core.resources.IResource resource)
Deprecated.
|
boolean |
visit(org.eclipse.core.resources.IResourceDelta delta)
Deprecated.
Resolves supplied resource delta.
|
void |
visitOrProbe(org.eclipse.core.resources.IResourceDelta delta,
org.eclipse.core.resources.IResource resource)
Deprecated.
Resolves supplied resource delta or resource of a change event.
|
void |
visitOrProbe(org.eclipse.core.resources.IResourceDelta delta,
org.eclipse.core.resources.IResourceChangeEvent event)
Deprecated.
Resolves supplied resource delta or resource change event.
|
public final boolean visit(org.eclipse.core.resources.IResourceDelta delta) throws org.eclipse.core.runtime.CoreException
resolveDelta(delta, delta.getResource())
and returns its result.visit
in interface org.eclipse.core.resources.IResourceDeltaVisitor
true
if the resource delta's children should
be visited, false
if they should be skippedorg.eclipse.core.runtime.CoreException
- if the visit fails for some reasonpublic final boolean probe(@Nullable org.eclipse.core.resources.IResource resource) throws org.eclipse.core.runtime.CoreException
resolveResource(resource)
and returns its result.true
if the resource delta's children should
be visited, false
if they should be skippedorg.eclipse.core.runtime.CoreException
- if the probe fails for some reasonprotected abstract boolean resolveDelta(org.eclipse.core.resources.IResourceDelta delta, org.eclipse.core.resources.IResource resource) throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException
protected abstract boolean resolveResource(org.eclipse.core.resources.IResource resource) throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException
public final void visitOrProbe(@Nullable org.eclipse.core.resources.IResourceDelta delta, @Nullable org.eclipse.core.resources.IResource resource)
null
then this method
visits it, otherwise it probes the specified resource.
This method always invokes preVisitOrProbe()
before
resolving specified arguments but invokes postVisitOrProbe()
only after successful resolving (post hook is not invoked in case of
an exception).
RuntimeCoreException
- if the visit or probe fail for some reasonpublic final void visitOrProbe(@Nullable org.eclipse.core.resources.IResourceDelta delta, @Nullable org.eclipse.core.resources.IResourceChangeEvent event)
See visitOrProbe(IResourceDelta, IResource)
for more details.
RuntimeCoreException
- if the visit or probe fail for some reasonprotected void preVisitOrProbe()
protected void postVisitOrProbe()