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 name
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.