Skip to main content



      Home
Home » Newcomers » Newcomers » SWT internationalization support
SWT internationalization support [message #247415] Fri, 01 February 2008 04:46 Go to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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
------------------------------------------------------------ --------
Previous Topic:How to find out what editor is opened?
Next Topic:using eclipse in Jboss environment..
Goto Forum:
  


Current Time: Sun May 04 05:26:55 EDT 2025

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

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

Back to the top