org.eclipse.jface.databinding.util
public class JFaceProperties extends Object
IObservableValue instances for properties
of an object that fires property changes events to an
IPropertyChangeListener.| Constructor and Description |
|---|
JFaceProperties() |
| Modifier and Type | Method and Description |
|---|---|
static IValueProperty |
value(Class clazz,
String fieldName,
String propertyName)
Returns a property for observing the property of the given model object
whose getter and setter use the suffix fieldName in the same manner as a
Java bean and which fires events to an
IPropertyChangeListener
for the given propertyName when the value of the field changes. |
public static IValueProperty value(Class clazz, String fieldName, String propertyName)
IPropertyChangeListener
for the given propertyName when the value of the field changes.clazz - the class defining the getter and setterfieldName - the field namepropertyName - the property nameGuidelines for using Eclipse APIs. Copyright (c) Eclipse contributors and others 2000, 2011. All rights reserved.