Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » [DataBinding] Binding Text Vs Label
[DataBinding] Binding Text Vs Label [message #444089] Thu, 09 February 2006 07:10 Go to next message
Eclipse UserFriend
Hi!

I have a code :

dbc.bind( new Property(text, "text"),
new Property(label, "text"),
null);

the problem is as I unedrstand binding must be two way, but when I`m in my
prgramm changing text attribute of label, text widget stays the same.
Re: [DataBinding] Binding Text Vs Label [message #444090 is a reply to message #444089] Thu, 09 February 2006 07:44 Go to previous messageGo to next message
Eclipse UserFriend
Andrey Bondarenko wrote:

> dbc.bind( new Property(text, "text"),
> new Property(label, "text"), null);
>
> the problem is as I unedrstand binding must be two way, but when I`m in
> my prgramm changing text attribute of label, text widget stays the same.

AFAIK there are no event for changing text in Label, so DBF can not
listen for it. Just look in TextUpdatableValue and LabelUpdatableValue
to see difference.

--
SY, Konstantin.
Advanced Eclipse SWT Designer (http://www.swt-designer.com)
Re: [DataBinding] Binding Text Vs Label [message #444120 is a reply to message #444090] Fri, 10 February 2006 01:21 Go to previous message
Eclipse UserFriend
Thanks
Previous Topic:Thread problem
Next Topic:Multiple views with single Model
Goto Forum:
  


Current Time: Sun Jul 20 23:59:21 EDT 2025

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

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

Back to the top