DataBinding DateTime? [message #516690] |
Wed, 24 February 2010 09:10  |
Eclipse User |
|
|
|
What is the correct method for databinding a DateTime ?
Are there any snippets, or documentation, available ?
Thanks
Charlie
|
|
|
|
Re: DataBinding DateTime? [message #518676 is a reply to message #518428] |
Thu, 04 March 2010 12:44  |
Eclipse User |
|
|
|
Hi Matthew,
Yes, this helps.
Thank you
Charlie
Matthew Hall wrote:
> This should work for you:
>
> bindingContext.bindValue(WidgetProperties.selection().observ e(dateTime),
> modelObservable);
>
> or
>
> bindingContext.bindValue(SWTObservables.observeSelection(dat eTime),
> modelObservable);
>
> See also DateAndTimeObservableValue if you have separate widgets for
> date and time, and you need to combine the date and time components into
> a single timestamp-style observable.
>
> Hope this helps,
>
> Matthew
>
> exquisitus wrote:
>> What is the correct method for databinding a DateTime ?
>>
>> Are there any snippets, or documentation, available ?
>>
>> Thanks
>>
>> Charlie
|
|
|
Powered by
FUDForum. Page generated in 0.04820 seconds