java.lang.Object | +--com.ibm.lab.soln.resources.ResourceChangeReporter
Resource change listener that will create trace statements for all events
received. The IResourceChangeEvent
is processed with a
visitor that will find and trace the IResourceDelta
included
in the event.
This class supports basic event tracing and event detection for the
WorkspaceSaveParticipant
lifecycle. This class is used to detect
events returned after a save request at shutdown.
See EDUResourcesPlugin.addMy_SaveP()
.
Constructor Summary | |
ResourceChangeReporter()
Default constructor which sets a default mode value. |
|
ResourceChangeReporter(java.lang.String mode)
Alternate constructor to set an alternate prefix mode that will be used for console message tagging. |
Method Summary | |
void |
resourceChanged(org.eclipse.core.resources.IResourceChangeEvent event)
Notifies this listener that some resource changes are happening, or have already happened. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ResourceChangeReporter()
public ResourceChangeReporter(java.lang.String mode)
Method Detail |
public void resourceChanged(org.eclipse.core.resources.IResourceChangeEvent event)
The supplied event gives details. This event object (and the resource delta within it) is valid only for the duration of the invocation of this method.
Note: This method is called by the platform; it is not intended to be called directly by clients.
Note that during resource change event notification, further changes to resources may be disallowed.
resourceChanged
in interface org.eclipse.core.resources.IResourceChangeListener
event
- the resource change eventIResourceDelta