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