Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Nebula » Date/Calendar widgets - any validation support?
Date/Calendar widgets - any validation support? [message #598562] Mon, 02 November 2009 17:14 Go to next message
Justin Dolezy is currently offline Justin DolezyFriend
Messages: 68
Registered: July 2009
Member
Hi,

I need to provide date selection where non-business days cannot be chosen. I have holiday schedules so I know which days aren't business days...

Do any of the available calendar widgets support being able to disable certain dates? Having some callback to query whether a data is valid or not would be good.

I'm guessing nothing like this is available, is it?

Alternatively maybe one of the widgets supports alernate painting of specific dates, so the user at least would then have a visual clue that they shouldn't select it?

Thanks,
Justin
Re: Date/Calendar widgets - any validation support? [message #598566 is a reply to message #598562] Tue, 03 November 2009 00:44 Go to previous message
Eric Wuillai is currently offline Eric WuillaiFriend
Messages: 27
Registered: July 2009
Junior Member
I'm not able to respond for other Nebula calendars, but this is actually
not possible with DateChooser.
However it should be relatively simple to add. Please post a feature
request in bugzilla if you are interested.

For the alternate painting, DateChooser support the possibility to use a
different foreground color for non-business days. It is implemented by
default in the provided themes (except the new SYSTEM theme I just
commit today). And you can define your own themes with your own colors.

Regards,
Eric

> Hi,
>
> I need to provide date selection where non-business days cannot be
> chosen. I have holiday schedules so I know which days aren't business
> days...
>
> Do any of the available calendar widgets support being able to disable
> certain dates? Having some callback to query whether a data is valid or
> not would be good.
>
> I'm guessing nothing like this is available, is it?
>
> Alternatively maybe one of the widgets supports alernate painting of
> specific dates, so the user at least would then have a visual clue that
> they shouldn't select it?
>
> Thanks,
> Justin
>
Previous Topic:Nebula grid - get selected values
Next Topic:OwnerDrawLabelProvider and PaintItem events for Grid/GridViewer?
Goto Forum:
  


Current Time: Thu Apr 25 14:11:01 GMT 2024

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

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

Back to the top