javauis/eswt_qt/org.eclipse.swt/Eclipse_SWT_PI/common_j2se/org/eclipse/swt/internal/ExitNotificationWrapper.java
--- a/javauis/eswt_qt/org.eclipse.swt/Eclipse_SWT_PI/common_j2se/org/eclipse/swt/internal/ExitNotificationWrapper.java Wed Jun 23 18:07:10 2010 +0300
+++ b/javauis/eswt_qt/org.eclipse.swt/Eclipse_SWT_PI/common_j2se/org/eclipse/swt/internal/ExitNotificationWrapper.java Tue Jul 06 14:10:26 2010 +0300
@@ -12,13 +12,16 @@
import org.eclipse.swt.widgets.Display;
-public class ExitNotificationWrapper {
-
- public static void notifyExit() {
- Display display = Display.getCurrent();
- if(display != null) {
- display.dispose();
- }
- }
-
+public final class ExitNotificationWrapper {
+
+ public static void notifyExit() {
+ Display display = Display.getCurrent();
+ if(display != null) {
+ display.dispose();
+ }
+ }
+
+ public static void uiDisposed() {
+ notifyExit();
+ }
}