Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » JFace » How to use ComputedValue for content assistance?
How to use ComputedValue for content assistance? [message #487181] Tue, 22 September 2009 10:51
Eclipse UserFriend
Originally posted by:


what I want to do is something like this:
I have three text-fields for values a, b and c where the user can input his
The "formula" is a + b = c

Now I want to use ComputedValues to calculate missing or wrong values.
e.g. user set a = 1, b = 1 - now I want to automatically set c = 2 and I
want to do this for all variants.

Currently I've attached a PropertyChangeListener to my bean and depending on
the changed value I calculate one of the others.

Does anybody knows a better way to do this (e.g. with ComputedValues)?


Previous Topic:Re: How to enable tooltips for each Table cell?
Next Topic:[Databinding] ValueChangeListers on MultiValidator ValidationStatus don't fire
Goto Forum:

Current Time: Wed May 23 13:16:48 GMT 2018

Powered by FUDForum. Page generated in 0.01684 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top