Eclipse Platform
Release 3.0

org.eclipse.jface.util
Interface IPropertyChangeListener

All Superinterfaces:
EventListener
All Known Implementing Classes:
FieldEditorPreferencePage, SubscriberParticipant, WorkingSetScope

public interface IPropertyChangeListener
extends EventListener

Listener for property changes.

Usage:

 IPropertyChangeListener listener =
   new IPropertyChangeListener() {
      public void propertyChange(PropertyChangeEvent event) {
         ... // code to deal with occurrence of property change
      }
   };
 emitter.addPropertyChangeListener(listener);
 ...
 emitter.removePropertyChangeListener(listener);
 


Method Summary
 void propertyChange(PropertyChangeEvent event)
          Notification that a property has changed.
 

Method Detail

propertyChange

public void propertyChange(PropertyChangeEvent event)
Notification that a property has changed.

This method gets called when the observed object fires a property change event.

Parameters:
event - the property change event object describing which property changed and how

Eclipse Platform
Release 3.0

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2000, 2004. All rights reserved.