Hacked version to support CLDC
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/common/org/eclipse/swt/dnd/DNDListener.java b/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/common/org/eclipse/swt/dnd/DNDListener.java
index b3d529c..5acc850 100755
--- a/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/common/org/eclipse/swt/dnd/DNDListener.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/common/org/eclipse/swt/dnd/DNDListener.java
@@ -5,13 +5,14 @@
  * All Rights Reserved

  */

 import org.eclipse.swt.widgets.Event;

+import org.eclipse.swt.internal.EventListenerCompatability;

 

 class DNDListener extends org.eclipse.swt.widgets.TypedListener {

 /**

  * DNDListener constructor comment.

  * @param listener java.util.EventListener

  */

-DNDListener(java.util.EventListener listener) {

+DNDListener(EventListenerCompatability listener) {

 	super(listener);

 }

 public void handleEvent (Event e) {

diff --git a/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/common/org/eclipse/swt/dnd/DragSourceListener.java b/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/common/org/eclipse/swt/dnd/DragSourceListener.java
index ea57526..6f07119 100755
--- a/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/common/org/eclipse/swt/dnd/DragSourceListener.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/common/org/eclipse/swt/dnd/DragSourceListener.java
@@ -4,7 +4,7 @@
  * (c) Copyright IBM Corp. 2000, 2001.

  * All Rights Reserved

  */

-import java.util.EventListener;

+import org.eclipse.swt.internal.EventListenerCompatability;

 

 /**

  * The <code>DragSourceListener</code> class provides event notification to the application for DragSource events.

@@ -17,7 +17,7 @@
  * <b>move</b> operation, the application must remove the data that was transferred.</p>

  *

  */

-public interface DragSourceListener extends EventListener {

+public interface DragSourceListener extends EventListenerCompatability {

 

 /**

  * The user has begun the actions required to drag the widget. This event gives the application 

diff --git a/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/common/org/eclipse/swt/dnd/DropTargetListener.java b/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/common/org/eclipse/swt/dnd/DropTargetListener.java
index 1423674..1f903a0 100755
--- a/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/common/org/eclipse/swt/dnd/DropTargetListener.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/common/org/eclipse/swt/dnd/DropTargetListener.java
@@ -5,7 +5,7 @@
  * All Rights Reserved

  */

 import org.eclipse.swt.graphics.*;

-import java.util.EventListener;

+import org.eclipse.swt.internal.EventListenerCompatability;

 

 /**

  * The <code>DropTargetListener</code> class provides event notification to the application for DropTarget events.

@@ -21,7 +21,7 @@
  * operation that is performed but the data type is fixed.</p>

  *

  */

-public interface DropTargetListener extends EventListener {

+public interface DropTargetListener extends EventListenerCompatability {

 /**

  * The cursor has entered the drop target boundaries.

  *

diff --git a/bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/events/VerifyListener.java b/bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/events/VerifyListener.java
index 5990666..ea8593b 100755
--- a/bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/events/VerifyListener.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/events/VerifyListener.java
@@ -5,7 +5,7 @@
  * All Rights Reserved

  */

 

-import java.util.EventListener;

+import org.eclipse.swt.internal.EventListenerCompatability;

 

 /**

  * Classes which implement this interface provide a method

@@ -22,7 +22,7 @@
  *

  * @see VerifyEvent

  */

-public interface VerifyListener extends EventListener {

+public interface VerifyListener extends EventListenerCompatability {

 

 /**

  * Sent when the text is about to be modified.

diff --git a/bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/widgets/EventTable.java b/bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/widgets/EventTable.java
index 483e5a8..f858fc5 100755
--- a/bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/widgets/EventTable.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/widgets/EventTable.java
@@ -5,7 +5,7 @@
  * All Rights Reserved

  */

 

-import java.util.EventListener;

+import org.eclipse.swt.internal.EventListenerCompatability;

 

 /**

  * Instances of this class implement a simple

@@ -66,7 +66,7 @@
 	}

 }

 

-public void unhook (int eventType, EventListener handler) {

+public void unhook (int eventType, EventListenerCompatability handler) {

 	if (handlers == null) return;

 	for (int i=0; i<types.length; i++) {

 		if (types [i] == eventType) {

diff --git a/bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/widgets/TypedListener.java b/bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/widgets/TypedListener.java
index 1460719..ea00ab4 100755
--- a/bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/widgets/TypedListener.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/widgets/TypedListener.java
@@ -5,9 +5,9 @@
  * All Rights Reserved

  */

 

-import java.util.EventListener;

 import org.eclipse.swt.*;

 import org.eclipse.swt.events.*;

+import org.eclipse.swt.internal.EventListenerCompatability;

 

 /**	 

  * Instances of this class are <em>internal SWT implementation</em>

@@ -29,7 +29,7 @@
 	/**

 	 * The receiver's event listener

 	 */

-	protected EventListener eventListener;

+	protected EventListenerCompatability eventListener;

 

 /**

  * Constructs a new instance of this class for the given event listener.

@@ -42,7 +42,7 @@
  *

  * @param listener the event listener to store in the receiver

  */

-public TypedListener (EventListener listener) {

+public TypedListener (EventListenerCompatability listener) {

 	eventListener = listener;

 }

 

@@ -57,7 +57,7 @@
  *

  * @return the receiver's event listener

  */

-public EventListener getEventListener () {

+public EventListenerCompatability getEventListener () {

 	return eventListener;

 }

 

diff --git a/bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Widget.java b/bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Widget.java
index 6a47728..30508a4 100755
--- a/bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Widget.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Widget.java
@@ -10,7 +10,7 @@
 import org.eclipse.swt.*;

 import org.eclipse.swt.graphics.*;

 import org.eclipse.swt.events.*;

-import java.util.EventListener;

+import org.eclipse.swt.internal.EventListenerCompatability;

 

 /**

  * This class is the abstract superclass of all user interface objects.  

@@ -682,7 +682,7 @@
 /**

 * Warning: API under construction.

 */

-protected void removeListener (int eventType, EventListener handler) {

+protected void removeListener (int eventType, EventListenerCompatability handler) {

 	checkWidget();

 	if (handler == null) error (SWT.ERROR_NULL_ARGUMENT);

 	if (eventTable == null) return;

diff --git a/bundles/org.eclipse.swt/build.properties.common b/bundles/org.eclipse.swt/build.properties.common
deleted file mode 100755
index 2af74c3..0000000
--- a/bundles/org.eclipse.swt/build.properties.common
+++ /dev/null
@@ -1,8 +0,0 @@
-build.vaj.Eclipse\ SWT\ Custom\ Widgets=Eclipse SWT Custom Widgets/common

-build.includes=plugin.xml,plugin.jars,build.properties,buildnotes_swt.html

-

-source.ws/win32/swt.jar=Eclipse SWT/win32,Eclipse SWT/common,Eclipse SWT AWT/win32,Eclipse SWT Custom Widgets/common,Eclipse SWT Drag and Drop/win32,Eclipse SWT Drag and Drop/common,Eclipse SWT OLE Win32/win32,Eclipse SWT Printing/win32,Eclipse SWT Printing/common,Eclipse SWT Program/win32,Eclipse SWT Program/common

-source.ws/motif/swt.jar=Eclipse SWT/motif,Eclipse SWT/common,Eclipse SWT Custom Widgets/common,Eclipse SWT Drag and Drop/motif,Eclipse SWT Drag and Drop/common,Eclipse SWT Printing/motif,Eclipse SWT Printing/common,Eclipse SWT Program/motif,Eclipse SWT Program/common

-source.ws/gtk/swt.jar=Eclipse SWT/gtk,Eclipse SWT/common,Eclipse SWT Custom Widgets/common,Eclipse SWT Drag and Drop/gtk,Eclipse SWT Drag and Drop/common,Eclipse SWT Printing/gtk,Eclipse SWT Printing/common,Eclipse SWT Program/gtk,Eclipse SWT Program/common

-source.ws/photon/swt.jar=Eclipse SWT/photon,Eclipse SWT/common,Eclipse SWT Custom Widgets/common,Eclipse SWT Drag and Drop/photon,Eclipse SWT Drag and Drop/common,Eclipse SWT Printing/photon,Eclipse SWT Printing/common,Eclipse SWT Program/photon,Eclipse SWT Program/common

-bin.includes=plugin.xml,ws/

diff --git a/bundles/org.eclipse.swt/build.properties.motif b/bundles/org.eclipse.swt/build.properties.motif
deleted file mode 100755
index 9096484..0000000
--- a/bundles/org.eclipse.swt/build.properties.motif
+++ /dev/null
@@ -1,5 +0,0 @@
-build.vaj.Eclipse\ SWT=Eclipse SWT/common,Eclipse SWT/motif

-build.vaj.Eclipse\ SWT\ Drag\ and\ Drop=Eclipse SWT Drag and Drop/common,Eclipse SWT Drag and Drop/motif

-build.vaj.Eclipse\ SWT\ Printing=Eclipse SWT Printing/common,Eclipse SWT Printing/motif

-build.vaj.Eclipse\ SWT\ Program=Eclipse SWT Program/common,Eclipse SWT Program/motif

-build.includes=ws/motif
\ No newline at end of file
diff --git a/bundles/org.eclipse.swt/build.properties.photon b/bundles/org.eclipse.swt/build.properties.photon
deleted file mode 100755
index 072feb6..0000000
--- a/bundles/org.eclipse.swt/build.properties.photon
+++ /dev/null
@@ -1,5 +0,0 @@
-build.vaj.Eclipse\ SWT=Eclipse SWT/common,Eclipse SWT/photon

-build.vaj.Eclipse\ SWT\ Drag\ and\ Drop=Eclipse SWT Drag and Drop/common,Eclipse SWT Drag and Drop/photon

-build.vaj.Eclipse\ SWT\ Printing=Eclipse SWT Printing/common,Eclipse SWT Printing/photon

-build.vaj.Eclipse\ SWT\ Program=Eclipse SWT Program/common,Eclipse SWT Program/photon

-build.includes=ws/photon
\ No newline at end of file
diff --git a/bundles/org.eclipse.swt/build.properties.win32 b/bundles/org.eclipse.swt/build.properties.win32
deleted file mode 100755
index d87bb99..0000000
--- a/bundles/org.eclipse.swt/build.properties.win32
+++ /dev/null
@@ -1,7 +0,0 @@
-build.vaj.Eclipse\ SWT=Eclipse SWT/common,Eclipse SWT/win32

-build.vaj.Eclipse\ SWT\ AWT=Eclipse SWT AWT/win32

-build.vaj.Eclipse\ SWT\ Drag\ and\ Drop=Eclipse SWT Drag and Drop/common,Eclipse SWT Drag and Drop/win32

-build.vaj.Eclipse\ SWT\ OLE\ Win32=Eclipse SWT OLE Win32/win32

-build.vaj.Eclipse\ SWT\ Printing=Eclipse SWT Printing/common,Eclipse SWT Printing/win32

-build.vaj.Eclipse\ SWT\ Program=Eclipse SWT Program/common,Eclipse SWT Program/win32

-build.includes=ws/win32
\ No newline at end of file
diff --git a/bundles/org.eclipse.swt/ws/motif/libswt-gnome0125.so b/bundles/org.eclipse.swt/ws/motif/libswt-gnome0125.so
deleted file mode 100755
index 3c3ba7e..0000000
--- a/bundles/org.eclipse.swt/ws/motif/libswt-gnome0125.so
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.swt/ws/motif/libswt0125.so b/bundles/org.eclipse.swt/ws/motif/libswt0125.so
deleted file mode 100755
index c0972e7..0000000
--- a/bundles/org.eclipse.swt/ws/motif/libswt0125.so
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.swt/ws/photon/libswt0125.so b/bundles/org.eclipse.swt/ws/photon/libswt0125.so
deleted file mode 100755
index 81ca20b..0000000
--- a/bundles/org.eclipse.swt/ws/photon/libswt0125.so
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.swt/ws/win32/swt0125.dll b/bundles/org.eclipse.swt/ws/win32/swt0125.dll
deleted file mode 100755
index 90aab8f..0000000
--- a/bundles/org.eclipse.swt/ws/win32/swt0125.dll
+++ /dev/null
Binary files differ