org.mockcentral.editor
Class ResourceChangeListener

java.lang.Object
  extended by org.mockcentral.editor.ResourceChangeListener
All Implemented Interfaces:
java.util.EventListener, org.eclipse.core.resources.IResourceChangeListener

public class ResourceChangeListener
extends java.lang.Object
implements org.eclipse.core.resources.IResourceChangeListener

An IResourceChangeListener used to handle renaming and deleting of open Mock Central configuration files and to respond to changes to the current project's classpath entries in order to update the MockCentralApplication's mockable object class loader.

Author:
David Hutchinson

Constructor Summary
ResourceChangeListener(IMockCentralPluginEditor editor)
          Creates a new instance.
 
Method Summary
 void resourceChanged(org.eclipse.core.resources.IResourceChangeEvent event)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceChangeListener

public ResourceChangeListener(IMockCentralPluginEditor editor)
Creates a new instance.

Parameters:
editor - the IMockCentralPluginEditor associated with this listener.
Method Detail

resourceChanged

public void resourceChanged(org.eclipse.core.resources.IResourceChangeEvent event)
Specified by:
resourceChanged in interface org.eclipse.core.resources.IResourceChangeListener