Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » DataTime Widget on solaries
DataTime Widget on solaries [message #642078] Mon, 29 November 2010 18:22 Go to next message
ash is currently offline ash
Messages: 142
Registered: July 2010
Senior Member
Hi,

DateTime t = new DateTime(parent, SWT.BORDER | SWT.DROP_DOWN );

Widget on windows its display as in form Datachosser
thats calender is displayed when user select dropdown list..
when same app is deployed for solaries platform ,,

Calendar is not displayed .widget displayes the date in the form of spinner widget.

can any once tell how to fix it.. i want
calender to be displayed.... i want eclipse native widget..
is there any way to fix it.....

Thanks
ashok

Re: DataTime Widget on solaries [message #642158 is a reply to message #642078] Tue, 30 November 2010 07:21 Go to previous messageGo to next message
Daniel Krügler is currently offline Daniel Krügler
Messages: 853
Registered: July 2009
Senior Member
On 11/29/2010 19:22, ashok_kumar_rr@yahoo.com wrote:
> Hi,
>
> DateTime t = new DateTime(parent, SWT.BORDER | SWT.DROP_DOWN );
>
> Widget on windows its display as in form Datachosser thats calender is
> displayed when user select dropdown list..
> when same app is deployed for solaries platform ,,
>
> Calendar is not displayed .widget displayes the date in the form of
> spinner widget.
>
> can any once tell how to fix it.. i want calender to be displayed.... i
> want eclipse native widget..
> is there any way to fix it.....

Sorry, I have problems to understand what you want to realize. Have you
looked at the examples from the SWT snippets list, first:

http://www.eclipse.org/swt/snippets/#datetime

?

It is also useful to study the widget documentation. Quoting:

"Styles:
DATE, TIME, CALENDAR, SHORT, MEDIUM, LONG, DROP_DOWN
[..]
Note: Only one of the styles DATE, TIME, or CALENDAR may be specified,
and only one of the styles SHORT, MEDIUM, or LONG may be specified. The
DROP_DOWN style is a HINT, and it is only valid with the DATE style."

HTH & Greetings from Bremen,

Daniel Krügler
Re: DataTime Widget on solaries [message #642241 is a reply to message #642078] Tue, 30 November 2010 14:38 Go to previous message
Grant Gayed is currently offline Grant Gayed
Messages: 2151
Registered: July 2009
Senior Member
Until recently Windows was the only platform that showed the drop-down
calendar because it is the only platform that provides this natively. This
case was recently fixed on the other platforms by showing an emulated
calendar instead. The bug report is
https://bugs.eclipse.org/bugs/show_bug.cgi?id=277638 , which has Target
Milestone is 3.7M4, so it will not appear in an official release until June
2011. If you want to see it in action in the meantime then you can download
a 3.7-stream integration build.

Grant


<ashok_kumar_rr@yahoo.com> wrote in message
news:id0qoj$dpf$1@news.eclipse.org...
> Hi,
>
> DateTime t = new DateTime(parent, SWT.BORDER | SWT.DROP_DOWN );
>
> Widget on windows its display as in form Datachosser thats calender is
> displayed when user select dropdown list..
> when same app is deployed for solaries platform ,,
>
> Calendar is not displayed .widget displayes the date in the form of
> spinner widget.
>
> can any once tell how to fix it.. i want calender to be displayed.... i
> want eclipse native widget..
> is there any way to fix it.....
>
> Thanks
> ashok
>
>
Previous Topic:Different splash screens
Next Topic:Hide ContributionItem but be able to trigger it via accellerator
Goto Forum:
  


Current Time: Thu Oct 23 18:44:05 GMT 2014

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

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