Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » JFace » [Data Binding] Binding depends on another binding
[Data Binding] Binding depends on another binding [message #987609] Tue, 27 November 2012 10:27 Go to next message
Ted Mosby is currently offline Ted MosbyFriend
Messages: 9
Registered: April 2012
Junior Member

I have a question. Is it possible that a binding depends on another binding? I have a combobox which contains profile names. If i choose a profile name some other widgets will be filled with the values of the chosen profile. I wanted to know if it is possible to fill the other widgets when a profile is selected in the combobox with data binding? I bound the combobox to a model property, when the user select another profile, the value will be changed and the other widgets should be updated. Can i do this only with data binding? Or must i call the setter for all widgets manually?

Re: [Data Binding] Binding depends on another binding [message #991328 is a reply to message #987609] Tue, 18 December 2012 14:33 Go to previous message
Simon Scholz is currently offline Simon ScholzFriend
Messages: 73
Registered: April 2012
Location: Germany
Hi Ted(I guess this is not your real name->"How I met your mother" fan?),

you should have a look at

I myself use a org.eclipse.core.databinding.observable.set.ComputedSet, because I do not know why there should be the same value two or more times in a ComboViewer.

If there is something unclear concerning the given snippet do not hesitate to ask.

Best regards,

Previous Topic:JFace TableViewer/Table setitemcount() slow
Next Topic:CheckedTreeSelectionDialog no children are return when trying to access treeviewer
Goto Forum:

Current Time: Tue May 22 06:24:22 GMT 2018

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

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

Back to the top