Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Nebula » CDateTime: How to set value
CDateTime: How to set value [message #593637] Tue, 17 February 2009 13:10
Christian Hauser is currently offline Christian HauserFriend
Messages: 189
Registered: July 2009
Senior Member
Hi all,

How do I set the default date (or time) when using a CDateTime control?

I'm using the CDateTime widget to set a time within a table (or grid).
Therefore I have a TimeCellEditor (extending CellEditor). Within the
doSetValue(Object value) method I'd like to do something like this:

protected void doSetValue(Object value) {

Where the given 'value' object has the same format as is set on the
CDateTime using cdt.setPattern("HH:mm:ss");

How can I set the time (or date for that matter) to a CDateTime widget?

Thanks in advance for any hint.

Previous Topic:Grid and StyledCellLabelProvider
Next Topic:CompositeTable multi-selection?
Goto Forum:

Current Time: Sun May 20 23:20:45 GMT 2018

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

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

Back to the top