uk.ac.kcl.cch.jb.pliny.editors
Class ResourceChangingAnnouncer
java.lang.Object
uk.ac.kcl.cch.rdb2java.dynData.PropertyChangeObject
uk.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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResourceChangingAnnouncer
public ResourceChangingAnnouncer()
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 changenewResource
- Resource in place after the change.