dsto.dfc.swt.util
Class PropertyBinding

java.lang.Object
  extended by dsto.dfc.swt.util.PropertyBinding
All Implemented Interfaces:
EventListener, org.eclipse.jface.util.IPropertyChangeListener

public class PropertyBinding
extends Object
implements org.eclipse.jface.util.IPropertyChangeListener

Binds the value of a property from a source object to the value of a property on a target object via the JFace IPropertyChangeListener interface. The value of the target property will always be the value of the source property.

Version:
$Revision$
Author:
mpp

Constructor Summary
PropertyBinding(Object source, String sourceProperty, Object target, String targetProperty)
           
 
Method Summary
 void dispose()
           
 void propertyChange(org.eclipse.jface.util.PropertyChangeEvent e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyBinding

public PropertyBinding(Object source,
                       String sourceProperty,
                       Object target,
                       String targetProperty)
Method Detail

dispose

public void dispose()

propertyChange

public void propertyChange(org.eclipse.jface.util.PropertyChangeEvent e)
Specified by:
propertyChange in interface org.eclipse.jface.util.IPropertyChangeListener


Copyright © 2008 Commonwealth of Australia