Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » JFace » [Databinding] DateTime
[Databinding] DateTime [message #517477] Sun, 28 February 2010 05:28 Go to next message
CharlieKelly  is currently offline CharlieKelly
Messages: 274
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] Wed, 03 March 2010 20:16 Go to previous message
Matthew Hall is currently offline Matthew Hall
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: Wed Apr 23 02:54:39 EDT 2014

Powered by FUDForum. Page generated in 0.04289 seconds