/** Singleton class providing single sources infos about the UI context. */
public class UiContext {
+ @Deprecated
public static HttpServletRequest getHttpRequest() {
return null;
}
+ @Deprecated
public static HttpServletResponse getHttpResponse() {
return null;
}
display.setData(key, value);
}
+ public static void killDisplay(Display display) {
+ display.dispose();
+ }
+
private static Display getDisplay() {
return Display.getCurrent();
}