package org.argeo.eclipse.ui.specific;
+import java.util.Locale;
+
import javax.servlet.http.HttpServletRequest;
import org.eclipse.rap.rwt.RWT;
return RWT.getRequest();
}
+ public static Locale getLocale() {
+ return RWT.getUISession().getLocale();
+ }
+
+ public static void setLocale(Locale locale) {
+ RWT.getUISession().setLocale(locale);
+ }
+
/** Can always be null */
@SuppressWarnings("unchecked")
public static <T> T getData(String key) {