Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: FEST-Swing 1.2a4
-
Fix Version/s: FEST-Swing 1.2rc
-
Component/s: Swing
-
Labels:None
-
Number of attachments :
Description
Keyboard Mapping depend on the Locale and the OS, so for a particular language, it can have multiple keyboard mapping.
Hi Olivier,
Mappings are now selected by OS and locale. How the mapping is selected:
The picker will try one by one, if none if found it will load the default mappings for English.
I thought about doing the same for parsing files, not only loading mapping classes. What I thought is that parsing files is more of a "testing" activity, I mean testing that a mapping for a OS + locale is correct. Once the content of the file is correct, it can be converted to a mapping class, to avoid parsing during the execution of the test suite. WDYT?
Thanks!
-Alex
- Try OS-Family + country + language: KeyStrokeMappingProvider_win_en_us
- Try OS-Family + language: KeyStrokeMappingProvider_win_en
- Try language: KeyStrokeMappingProvider_en
The picker will try one by one, if none if found it will load the default mappings for English. I thought about doing the same for parsing files, not only loading mapping classes. What I thought is that parsing files is more of a "testing" activity, I mean testing that a mapping for a OS + locale is correct. Once the content of the file is correct, it can be converted to a mapping class, to avoid parsing during the execution of the test suite. WDYT? Thanks! -Alex