Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Wilson2001-10-01 19:03:18 +0000
committerMike Wilson2001-10-01 19:03:18 +0000
commit82ec2de9ee9699e95bc7cb3ae0dfd69b41e7d390 (patch)
treebaf719acf67c821bf10b4dd96b38cffcfec0303e
parent995930dcda4a4f244372b767e4aead356fe45d49 (diff)
downloadeclipse.platform.swt-82ec2de9ee9699e95bc7cb3ae0dfd69b41e7d390.tar.gz
eclipse.platform.swt-82ec2de9ee9699e95bc7cb3ae0dfd69b41e7d390.tar.xz
eclipse.platform.swt-82ec2de9ee9699e95bc7cb3ae0dfd69b41e7d390.zip
Hacked version to support CLDC
-rwxr-xr-xbundles/org.eclipse.swt/Eclipse SWT Drag and Drop/common/org/eclipse/swt/dnd/DNDListener.java3
-rwxr-xr-xbundles/org.eclipse.swt/Eclipse SWT Drag and Drop/common/org/eclipse/swt/dnd/DragSourceListener.java4
-rwxr-xr-xbundles/org.eclipse.swt/Eclipse SWT Drag and Drop/common/org/eclipse/swt/dnd/DropTargetListener.java4
-rwxr-xr-xbundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/events/VerifyListener.java4
-rwxr-xr-xbundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/widgets/EventTable.java4
-rwxr-xr-xbundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/widgets/TypedListener.java8
-rwxr-xr-xbundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Widget.java4
-rwxr-xr-xbundles/org.eclipse.swt/build.properties.common8
-rwxr-xr-xbundles/org.eclipse.swt/build.properties.motif5
-rwxr-xr-xbundles/org.eclipse.swt/build.properties.photon5
-rwxr-xr-xbundles/org.eclipse.swt/build.properties.win327
-rwxr-xr-xbundles/org.eclipse.swt/ws/motif/libswt-gnome0125.sobin4713 -> 0 bytes
-rwxr-xr-xbundles/org.eclipse.swt/ws/motif/libswt0125.sobin366199 -> 0 bytes
-rwxr-xr-xbundles/org.eclipse.swt/ws/photon/libswt0125.sobin385634 -> 0 bytes
-rwxr-xr-xbundles/org.eclipse.swt/ws/win32/swt0125.dllbin237568 -> 0 bytes
15 files changed, 16 insertions, 40 deletions
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 b3d529c478..5acc850537 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 @@ package org.eclipse.swt.dnd;
* 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 ea57526fde..6f07119543 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 @@ package org.eclipse.swt.dnd;
* (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 @@ import java.util.EventListener;
* <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 1423674be1..1f903a09d0 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 @@ package org.eclipse.swt.dnd;
* 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 @@ import java.util.EventListener;
* 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 59906669ba..ea8593b103 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 @@ package org.eclipse.swt.events;
* 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 @@ import java.util.EventListener;
*
* @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 483e5a8d53..f858fc54c8 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 @@ package org.eclipse.swt.widgets;
* 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, Listener handler) {
}
}
-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 14607192f7..ea00ab4671 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 @@ package org.eclipse.swt.widgets;
* 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 @@ public class TypedListener implements Listener {
/**
* 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 @@ public class TypedListener implements Listener {
*
* @param listener the event listener to store in the receiver
*/
-public TypedListener (EventListener listener) {
+public TypedListener (EventListenerCompatability listener) {
eventListener = listener;
}
@@ -57,7 +57,7 @@ public TypedListener (EventListener listener) {
*
* @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 6a4772825f..30508a4e71 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.internal.motif.*;
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 @@ public void removeListener (int eventType, Listener handler) {
/**
* 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 2af74c346f..0000000000
--- 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 9096484541..0000000000
--- 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 072feb6f17..0000000000
--- 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 d87bb9905f..0000000000
--- 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 3c3ba7ecda..0000000000
--- 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 c0972e72e4..0000000000
--- 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 81ca20bbea..0000000000
--- 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 90aab8fdff..0000000000
--- a/bundles/org.eclipse.swt/ws/win32/swt0125.dll
+++ /dev/null
Binary files differ

Back to the top