Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » [DataBinding] Binding Text Vs Label
[DataBinding] Binding Text Vs Label [message #444089] Thu, 09 February 2006 12:10 Go to next message
Andrey Bondarenko is currently offline Andrey BondarenkoFriend
Messages: 84
Registered: July 2009
Member
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 12:44 Go to previous messageGo to next message
Konstantin Scheglov is currently offline Konstantin ScheglovFriend
Messages: 555
Registered: July 2009
Senior Member
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)


Konstantin Scheglov,
Google, Inc.
Re: [DataBinding] Binding Text Vs Label [message #444120 is a reply to message #444090] Fri, 10 February 2006 06:21 Go to previous message
Andrey Bondarenko is currently offline Andrey BondarenkoFriend
Messages: 84
Registered: July 2009
Member
Thanks
Previous Topic:Thread problem
Next Topic:Multiple views with single Model
Goto Forum:
  


Current Time: Fri Jan 03 02:31:15 GMT 2025

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

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

Back to the top