Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Nebula » CDateTime: Some thoughts and qeustions
CDateTime: Some thoughts and qeustions [message #38938] Mon, 27 August 2007 19:48 Go to next message
Marc Schlegel is currently offline Marc SchlegelFriend
Messages: 92
Registered: July 2009
Member
Hi

I am using the latest release of the CDateTime widget in my RCP and it's quite nice. Thank you guys.

Right now, I would need to know if there is a possibility to have a date-selection only for month and year in the
DROP_DOWN style? I am using this style at different ui-locations and switching to a spinner would be kind of
inconsistent. I couldn't find a flag for this. Is is planned to include a similar feature? (I am not confident to do it
by my own)

In addition there seem to be a bug when using the calendar and time style. Its sounds strange but when initiating my
widgets with date-objects (master details pattern) and changing the selection later on, the date is set right but the
time is still the one from the former selection . I solved it quite dirty with setting the date-value twice

protected void initWidgets() {
if(tia != null){
dateField.setSelection(tia.getDate());
dateField.setSelection(tia.getDate());

Finally: Is there a new release in the near future? I am using 0.9.0 since more than a year now and I haven't heard
anything about a new release.

best regards
-- Marc
Re: CDateTime: Some thoughts and qeustions [message #39116 is a reply to message #38938] Tue, 28 August 2007 16:35 Go to previous message
Peter Centgraf is currently offline Peter CentgrafFriend
Messages: 52
Registered: July 2009
Member
> I am using the latest release of the CDateTime widget in my RCP and it's quite nice. Thank you guys.

Thanks for your feedback. It's good to know the code is useful.

> Right now, I would need to know if there is a possibility to have a date-selection only for month and year in the
> DROP_DOWN style? I am using this style at different ui-locations and switching to a spinner would be kind of
> inconsistent. I couldn't find a flag for this. Is is planned to include a similar feature? (I am not confident to do it
> by my own)

Interesting idea. I don't think that this has been considered yet.
Please post a bugzilla entry so we can discuss this in more detail.
Jeremy wrote the pickers as separate classes, so it should be possible
to write a custom picker for your situation and use it instead of the
standard ones. How would the user confirm their selection? Currently,
this is done by clicking on the button for a specific day. Would you
expect the entire month area to be one giant button?

> In addition there seem to be a bug when using the calendar and time style. Its sounds strange but when initiating my
> widgets with date-objects (master details pattern) and changing the selection later on, the date is set right but the
> time is still the one from the former selection . I solved it quite dirty with setting the date-value twice

There are a number of bugs with initialization and propagation of values
between the date and time pickers. I just haven't had the solid day
I'll need to go through the code and exterminate.

> Finally: Is there a new release in the near future? I am using 0.9.0 since more than a year now and I haven't heard
> anything about a new release.

It depends on your definition of "near". ;-) Jeremy handed over the
maintainer role to me a couple of months ago. I've committed a handful
of fixes and enhancements, but I haven't been confident about posting
another release quite yet. I'd like to hammer out the init bugs before
I get people's hopes up.

I'm currently using CVS HEAD in my active development work, and it is
more correct than 0.9.0. I also posted a copy of the jar on this
newsgroup a couple of weeks ago, if you're nervous about building it
yourself. If you're having an issue with one of the bugs that I closed
recently, try that.

Thanks again for your comments.

--
Peter
Re: CDateTime: Some thoughts and qeustions [message #584281 is a reply to message #38938] Tue, 28 August 2007 16:35 Go to previous message
Peter Centgraf is currently offline Peter CentgrafFriend
Messages: 52
Registered: July 2009
Member
> I am using the latest release of the CDateTime widget in my RCP and it's quite nice. Thank you guys.

Thanks for your feedback. It's good to know the code is useful.

> Right now, I would need to know if there is a possibility to have a date-selection only for month and year in the
> DROP_DOWN style? I am using this style at different ui-locations and switching to a spinner would be kind of
> inconsistent. I couldn't find a flag for this. Is is planned to include a similar feature? (I am not confident to do it
> by my own)

Interesting idea. I don't think that this has been considered yet.
Please post a bugzilla entry so we can discuss this in more detail.
Jeremy wrote the pickers as separate classes, so it should be possible
to write a custom picker for your situation and use it instead of the
standard ones. How would the user confirm their selection? Currently,
this is done by clicking on the button for a specific day. Would you
expect the entire month area to be one giant button?

> In addition there seem to be a bug when using the calendar and time style. Its sounds strange but when initiating my
> widgets with date-objects (master details pattern) and changing the selection later on, the date is set right but the
> time is still the one from the former selection . I solved it quite dirty with setting the date-value twice

There are a number of bugs with initialization and propagation of values
between the date and time pickers. I just haven't had the solid day
I'll need to go through the code and exterminate.

> Finally: Is there a new release in the near future? I am using 0.9.0 since more than a year now and I haven't heard
> anything about a new release.

It depends on your definition of "near". ;-) Jeremy handed over the
maintainer role to me a couple of months ago. I've committed a handful
of fixes and enhancements, but I haven't been confident about posting
another release quite yet. I'd like to hammer out the init bugs before
I get people's hopes up.

I'm currently using CVS HEAD in my active development work, and it is
more correct than 0.9.0. I also posted a copy of the jar on this
newsgroup a couple of weeks ago, if you're nervous about building it
yourself. If you're having an issue with one of the bugs that I closed
recently, try that.

Thanks again for your comments.

--
Peter
Previous Topic:SWT Ribbon any alpha release ?
Next Topic:Drag and Drop in CTableTree
Goto Forum:
  


Current Time: Thu Apr 18 10:03:05 GMT 2024

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

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

Back to the top