rich client 2.0

A SWT Calendar widget


10. April 2006
Tom Seidel @ 09:47

Today I want to show how to use of the open-source project SWT-Calendar. With a few lines of code you can implement a wonderful small calendar widget for SWT, that is not delivered by default.

calendar_dialog.png

I’ve written a tiny RCP where you can select a date.

calendar_full.png
If you click on the text-field you can edit and save a date. This dialog is very easy to integrate in your RCP, will preselect the date of the text-field and will solve all your problems with the missing calendar-widget. :)
Downloads
Download the Calendar-Demo as Plug-In (Source included - 56kByte)
Download the Calendar-Demo as RCP (Source inluded - 6,2Mbyte)

7 Comments »

  1. hi, can you email me the eclipse rcp code and settings u used to implement the swt calendar? i cannot seem to get it to work in my own rcp application. i’m still a newbie and not quite familiar with the eclipse development environment.

    Comment by steven — 31. August 2006 @ 05:43

  2. hi, can you email me the eclipse rcp code and settings u used to implement the swt calendar? email it to me at neosaybin@gmail.com

    i cannot seem to get it to work in my own rcp application. i’m still a newbie and not quite familiar with the eclipse development environment.

    Comment by steven — 31. August 2006 @ 05:43

  3. Hi, i’m trying to imlement Calendar in my RCP app. I want to have Calendar in a view. When select one date, i want to load information for that date in another view. How can i implement that?

    Thanks in advance, Vlado

    Comment by vlado — 13. March 2007 @ 16:45

  4. hi, can you email me the eclipse rcp code and settings you used to implement the swt calendar? email it to me at antonio.saladini@tiscali.it

    Comment by Antonio — 19. June 2007 @ 12:05

  5. Hallo! Wäre es vielleicht möglich mir den Source-Code für dieses Beispiel zu senden? Ist der verwendete Eclipse-Balken ein ExpandBar oder eine andere Komponente? Das versuche ich schon seit längerer Zeit herauszufinden! ;-)
    Vielen Dank!

    Comment by Bil — 18. July 2007 @ 14:58

  6. Can you also email me the rcp code and settings used to implement this calendar?

    Comment by Dan Johnson — 5. January 2008 @ 00:10

  7. The source code is located in plugins/org.javawiki.calendar_1.0.0.jar/src. Alternatively you can check out the project from cvs. See http://www.richclient2.eu/cvs/

    Comment by Tom Seidel — 11. January 2008 @ 16:26

RSS feed for comments on this post. TrackBack URI

Leave a comment

Powered by WordPress