Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Data Binding Question
Data Binding Question [message #728200] Thu, 22 September 2011 17:55 Go to next message
RD  is currently offline RD Friend
Messages: 10
Registered: September 2011
Junior Member
Hi, I am trying to bind a text control to a String variable. Not sure I'm using the correct terms, but basically I want my String variable to update automatically when I change the text control and vice versa.

I'm using windowbuilder pro and I haven't found an example or tutorial that helps. What do I set as target, target property, model, and model property?

Thanks.

[Updated on: Thu, 22 September 2011 17:56]

Report message to a moderator

Re: Data Binding [message #728303 is a reply to message #728200] Thu, 22 September 2011 22:41 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 26287
Registered: July 2009
Senior Member
Did you intend to ask this on the eclipse.windowbuilder forum/newsgroup?


On 22/09/2011 1:55 PM, RD wrote:
> Hi, I am trying to bind a text control to a String variable. Not sure
> I'm using the correct terms, but basically I want my String variable
> to update automatically when I change the text control and vice versa.
>
> I'm using windowbuilder pro and I haven't found an example or tutorial
> that helps. What do I set as target, target property, model, and model
> property?
>
> Thanks.
Re: Data Binding [message #728347 is a reply to message #728200] Fri, 23 September 2011 04:24 Go to previous message
Matthew Hall is currently offline Matthew HallFriend
Messages: 368
Registered: July 2009
Senior Member
Have you looked at WritableValue?

-Matthew

On 09/22/2011 11:55 AM, RD wrote:
> Hi, I am trying to bind a text control to a String variable. Not sure
> I'm using the correct terms, but basically I want my String variable to
> update automatically when I change the text control and vice versa.
>
> I'm using windowbuilder pro and I haven't found an example or tutorial
> that helps. What do I set as target, target property, model, and model
> property?
>
> Thanks.
Previous Topic:Seeing SWT warnings on lion with jruby
Next Topic:[closed]
Goto Forum:
  


Current Time: Sun Dec 21 19:30:18 GMT 2014

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

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