Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » Retrieving a binding source
Retrieving a binding source [message #578708] Sat, 10 July 2010 23:32 Go to next message
St Clair Clarke is currently offline St Clair Clarke
Messages: 118
Registered: March 2010
Senior Member
Hello,

I have managed to bind a Text widget in XWT to a model using a DataContext with a StaticResource as a property of a Shell.



Question: How to I retrieve the model in the code-behind class?

Thanks
Re: Retrieving a binding source [message #578744 is a reply to message #578708] Tue, 13 July 2010 16:55 Go to previous message
Yves YANG is currently offline Yves YANG
Messages: 687
Registered: July 2009
Senior Member
You can call XWT getDataContext() by providing the Text field

Best regards
Yves YANG
"St Clair Clarke" <st_clair@flowja.com> wrote in message
news:i1avus$c4h$1@build.eclipse.org...
> Hello,
>
> I have managed to bind a Text widget in XWT to a model using a DataContext
> with a StaticResource as a property of a Shell.
>
>
>
> Question: How to I retrieve the model in the code-behind class?
>
> Thanks
Previous Topic:Retrieving a binding source
Next Topic:XWT Meta Model
Goto Forum:
  


Current Time: Thu Oct 23 05:23:29 GMT 2014

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

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