java.lang.Objectcom.ibm.jdg2e.resources.programming.events.ResourceDeltaPrinter
Visitor for IResourceDelta to find content and information
and print trace messages to show this during a testing cycle.
Use this as a visitor for a builder or a resource change listener to find
out more about the content of the IResourceDelta.
| Constructor Summary | |
|---|---|
ResourceDeltaPrinter()
Default constructor which sets a default mode value. |
|
ResourceDeltaPrinter(java.lang.String mode)
Alternate constructor to set an alternate prefix mode that will be used for console message tagging. |
|
| Method Summary | |
|---|---|
void |
processMarkerSet(org.eclipse.core.resources.IResourceDelta delta)
Prints delta marker information messages to the console |
void |
testFlags(int eventFlag)
Prints delta event kind messages to the console |
boolean |
visit(org.eclipse.core.resources.IResourceDelta delta)
Visits the given resource delta and prints trace statements to indicate content of the delta. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ResourceDeltaPrinter()
public ResourceDeltaPrinter(java.lang.String mode)
mode - | Method Detail |
public void processMarkerSet(org.eclipse.core.resources.IResourceDelta delta)
throws org.eclipse.core.runtime.CoreException
delta -
org.eclipse.core.runtime.CoreExceptionpublic void testFlags(int eventFlag)
eventFlag - public boolean visit(org.eclipse.core.resources.IResourceDelta delta)
visit in interface org.eclipse.core.resources.IResourceDeltaVisitortrue if the resource delta's children should be
visited; false if they should be skipped.IResourceDeltaVisitor.visit(org.eclipse.core.resources.IResourceDelta)