[brailleblaster] [brailleblaster.newdesign] push by RandomCh...@xxxxxxxxx - StyleEditUpdate on 2013-05-02 12:39 GMT

  • From: brailleblaster@xxxxxxxxxxxxxx
  • To: brailleblaster@xxxxxxxxxxxxx
  • Date: Thu, 02 May 2013 12:40:06 +0000

Revision: f3d02140f725
Branch:   default
Author:   cmyers@xxxxxxxxxxxxxxxxx
Date:     Thu May  2 06:45:04 2013
Log:      StyleEditUpdate
http://code.google.com/p/brailleblaster/source/detail?r=f3d02140f725&repo=newdesign

Modified:
 /src/main/org/brailleblaster/wordprocessor/Style.java

=======================================
--- /src/main/org/brailleblaster/wordprocessor/Style.java Thu May 2 06:14:42 2013 +++ /src/main/org/brailleblaster/wordprocessor/Style.java Thu May 2 06:45:04 2013
@@ -72,15 +72,14 @@
         * @param styleName
         */
        public Style(String styleName){
- // TODO: Get this working again. Can't find language files for some raisin.
-//             this.styleName = styleName;
-//             ResourceBundle labels = ResourceBundle.getBundle(styleName);
-//             Enumeration bundleKeys = labels.getKeys();
-//             while (bundleKeys.hasMoreElements()) {
-//                     String key = (String)bundleKeys.nextElement();
-//                     String value = labels.getString(key);
-//                     styleSet.put(key, value);
-//             }
+               this.styleName = styleName;
+               ResourceBundle labels = ResourceBundle.getBundle(styleName);
+               Enumeration bundleKeys = labels.getKeys();
+               while (bundleKeys.hasMoreElements()) {
+                       String key = (String)bundleKeys.nextElement();
+                       String value = labels.getString(key);
+                       styleSet.put(key, value);
+               }
                this.isBuildIn = false;
        }


Other related posts:

  • » [brailleblaster] [brailleblaster.newdesign] push by RandomCh...@xxxxxxxxx - StyleEditUpdate on 2013-05-02 12:39 GMT - brailleblaster