uk.ac.kcl.cch.jb.pliny.editors
Class ResourceChangingAnnouncer

java.lang.Object
  extended byuk.ac.kcl.cch.rdb2java.dynData.PropertyChangeObject
      extended byuk.ac.kcl.cch.jb.pliny.editors.ResourceChangingAnnouncer
All Implemented Interfaces:
IPropertyChangeObject

public class ResourceChangingAnnouncer
extends PropertyChangeObject

A convenience class to implement code that provides a service of announcing a property change whenever a Resource changes. Editors that wish to be a IResourceChangeablePart could make use of this class.

Author:
John Bradley

Constructor Summary
ResourceChangingAnnouncer()
           
 
Method Summary
 void announceResource(Resource oldResource, Resource newResource)
          announces to listeners that a Resource change has just happened.
 
Methods inherited from class uk.ac.kcl.cch.rdb2java.dynData.PropertyChangeObject
addPropertyChangeListener, firePropertyChange, firePropertyChange, removePropertyChangeListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceChangingAnnouncer

public ResourceChangingAnnouncer()
Method Detail

announceResource

public void announceResource(Resource oldResource,
                             Resource newResource)
announces to listeners that a Resource change has just happened.

Parameters:
oldResource - Resource in place before the change
newResource - Resource in place after the change.