Comments on Eclipse plugin: SWTCalendar widget
add comment plugin-details
Anonymous on Oct 25, 2006 1:07 PM
Once the Calendar is displayed any of the key strokes have their default defined for this control.
When I press a <- or -> key, I would like to first navigate on the Calendar instead of just picking the same date on the next or previous months.
Likewise, when I press up or down arrow keys, I would like to navigate to a different date on the Calendar, as opposed to just selecting the immediate neighboring date displayed.
The Enter key could be used to *select* the date.
Jonathan on Mar 5, 2004 11:00 AM
I like it! Nice job.
I have a few comments for small changes which would make it more consistent, however:
1) Define a constructor with arguments
(Composite parent, int style), instead of just a single-argument constructor.
2) change the addCalendarListeners method to addSWTCalendarListener (ie, no "s" on the end, and make the name "add"+<name of listener>
3) similarly, change removeCalendarListener to removeSWTCalendarListener.
4) Change SWTCalendarListener to extend EventListener, insead of just Object, and define an SWTCalendarEvent which will be passed through the dateChanged method.
I have tried out this control in Jigloo and it works great (though I first have to define a subclass of SWTCalendar which has the above changes, which I then include in Jigloo - I cannot include the original class - which is why I'm suggesting these changes :-)

