Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » JFace » [Databinding] DateTime
[Databinding] DateTime [message #517477] Sun, 28 February 2010 10:28 Go to next message
Charlie Kelly is currently offline Charlie KellyFriend
Messages: 276
Registered: July 2009
Senior Member
What is the correct method for databinding a DateTime ?

Are there any snippets, or documentation, available ?

Thanks

Charlie

P.S. I re-posted this with "[Databinding]" in the header
Re: [Databinding] DateTime [message #518433 is a reply to message #517477] Thu, 04 March 2010 01:16 Go to previous message
Matthew Hall is currently offline Matthew HallFriend
Messages: 368
Registered: July 2009
Senior Member
You can observe the selection of a DateTime with either:

SWTObservables.observeSelection(dateTime)

or

WidgetProperties.selection().observe(dateTime)

Matthew

exquisitus wrote:
> What is the correct method for databinding a DateTime ?
>
> Are there any snippets, or documentation, available ?
>
> Thanks
>
> Charlie
>
> P.S. I re-posted this with "[Databinding]" in the header
Previous Topic:[Databinding] Validate that item only appears once in IObservableList
Next Topic:[Databinding] Transform Boolean value bound to checkbox control into string and save it as a map val
Goto Forum:
  


Current Time: Thu Nov 27 00:14:24 GMT 2014

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

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