Tony CHEMIT pushed to branch develop at ultreiaio / ird-observe
Commits:
-
c0707507
by Tony CHEMIT at 2018-05-02T13:03:07Z
1 changed file:
Changes:
| ... | ... | @@ -27,6 +27,7 @@ import fr.ird.observe.client.configuration.ClientConfig; |
| 27 | 27 |
import fr.ird.observe.client.ui.ObserveMainUI;
|
| 28 | 28 |
import fr.ird.observe.client.ui.ObserveUICallback;
|
| 29 | 29 |
import fr.ird.observe.client.ui.actions.main.menu.MenuActionSupport;
|
| 30 |
+import fr.ird.observe.dto.referential.ReferentialLocale;
|
|
| 30 | 31 |
import org.apache.commons.logging.Log;
|
| 31 | 32 |
import org.apache.commons.logging.LogFactory;
|
| 32 | 33 |
|
| ... | ... | @@ -65,7 +66,9 @@ public abstract class ChangeLanguageActionSupport extends MenuActionSupport { |
| 65 | 66 |
config.setLocale(newLocale);
|
| 66 | 67 |
config.setDbLocale(newLocale);
|
| 67 | 68 |
config.saveForUser();
|
| 68 |
- ObserveUICallback.ui.run();
|
|
| 69 |
+// ObserveSwingApplicationContext.get().getDecoratorService().setReferentialLocale(ReferentialLocale.valueOf(newLocale));
|
|
| 70 |
+// ObserveSwingApplicationContext.get().getDecoratorService().reload();
|
|
| 71 |
+ ObserveUICallback.application.run();
|
|
| 69 | 72 |
}
|
| 70 | 73 |
|
| 71 | 74 |
}
|