SWT internationalization support [message #247415] |
Fri, 01 February 2008 04:46  |
Eclipse User |
|
|
|
Originally posted by: th.burgard.googlemail.com
Hello,
i'm a newscomer in Eclipse and i want to develop a
"Dental-Management-Software (JDentMan)" on basis of Eclipse RCP. Now i
have seen, that Eclipse RCP using SWT instead of Swing. My question now:
In my new application the user have to enter currency values (e.g. for
germany 1.000,00) and date values (e.g. for germany 01.02.2003). How can
i verify these inputs. I think for date SWT support a datepicker
component, which supports internationalization. How can i verify currency
inputs for different locale?
Can anybody help me?
Best regards
Thomas
|
|
|
Re: SWT internationalization support [message #247420 is a reply to message #247415] |
Fri, 01 February 2008 06:21  |
Eclipse User |
|
|
|
I think doesn't has a Currency-Widget, or does it? I would have used
DecimalFormat to transform from/to String/Number.
If you want a solution where you bind your model to your UI-Element
(=Eclipse Databinding you would simply define a new currency converter).
Tom
Thomas Burgard schrieb:
> Hello,
>
> i'm a newscomer in Eclipse and i want to develop a
> "Dental-Management-Software (JDentMan)" on basis of Eclipse RCP. Now i
> have seen, that Eclipse RCP using SWT instead of Swing. My question now:
> In my new application the user have to enter currency values (e.g. for
> germany 1.000,00�) and date values (e.g. for germany 01.02.2003). How
> can i verify these inputs. I think for date SWT support a datepicker
> component, which supports internationalization. How can i verify
> currency inputs for different locale?
>
> Can anybody help me?
>
> Best regards
> Thomas
--
B e s t S o l u t i o n . at
------------------------------------------------------------ --------
Tom Schindl JFace-Committer
------------------------------------------------------------ --------
|
|
|
Powered by
FUDForum. Page generated in 0.07498 seconds