|
Eclipse Platform Release 3.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jface.databinding.util.JFaceProperties
public class JFaceProperties
Helper class for providing IObservableValue
instances for properties
of an object that fires property changes events to an
IPropertyChangeListener
.
Constructor Summary | |
---|---|
JFaceProperties()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JFaceProperties()
Method Detail |
---|
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
|
Eclipse Platform Release 3.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2010. All rights reserved.