Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kurtakov2015-12-18 06:14:17 +0000
committerAlexander Kurtakov2015-12-18 06:15:35 +0000
commit971702072d3a583643cce28ee4c01191cf2083d3 (patch)
treef441545b676f02f49b2ec0c20d42b28a8e390d42 /bundles/org.eclipse.swt/Eclipse SWT AWT
parentc9754749744dc29a3f39ccdec08730e874ce10e9 (diff)
downloadeclipse.platform.swt-971702072d3a583643cce28ee4c01191cf2083d3.tar.gz
eclipse.platform.swt-971702072d3a583643cce28ee4c01191cf2083d3.tar.xz
eclipse.platform.swt-971702072d3a583643cce28ee4c01191cf2083d3.zip
Bug 484484 - Remove org.eclipse.swt.internal.Compatibility class
Forgotten Mac/Win conversions. Change-Id: I9236b2bf5a516279077da5969e08ce99662f0078 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT AWT')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT AWT/win32/org/eclipse/swt/awt/SWT_AWT.java28
1 files changed, 8 insertions, 20 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT AWT/win32/org/eclipse/swt/awt/SWT_AWT.java b/bundles/org.eclipse.swt/Eclipse SWT AWT/win32/org/eclipse/swt/awt/SWT_AWT.java
index 38ab9594f3..3d12f1b96a 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT AWT/win32/org/eclipse/swt/awt/SWT_AWT.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT AWT/win32/org/eclipse/swt/awt/SWT_AWT.java
@@ -10,33 +10,21 @@
*******************************************************************************/
package org.eclipse.swt.awt;
-import java.lang.reflect.Constructor;
-import java.lang.reflect.Field;
-import java.lang.reflect.Method;
+/* AWT Imports */
+import java.awt.*;
+import java.awt.Canvas;
+import java.awt.event.*;
+import java.lang.reflect.*;
/* SWT Imports */
import org.eclipse.swt.*;
+import org.eclipse.swt.graphics.Rectangle;
import org.eclipse.swt.internal.*;
import org.eclipse.swt.internal.win32.*;
-import org.eclipse.swt.graphics.Rectangle;
-import org.eclipse.swt.widgets.Shell;
+import org.eclipse.swt.widgets.*;
import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.Display;
-import org.eclipse.swt.widgets.Listener;
import org.eclipse.swt.widgets.Event;
-/* AWT Imports */
-import java.awt.Dimension;
-import java.awt.EventQueue;
-import java.awt.Canvas;
-import java.awt.Frame;
-import java.awt.Toolkit;
-import java.awt.event.ComponentAdapter;
-import java.awt.event.ComponentEvent;
-import java.awt.event.ComponentListener;
-import java.awt.event.WindowEvent;
-import java.awt.event.FocusEvent;
-
/**
* This class provides a bridge between SWT and AWT, so that it
* is possible to embed AWT components in SWT and vice versa.
@@ -218,7 +206,7 @@ public static Frame new_Frame (final Composite parent) {
}
}
if (interrupted) {
- Compatibility.interrupt();
+ Thread.currentThread().interrupt();
}
}
if (exception[0] != null) {

Back to the top