diff dwt/dnd/DragSourceAdapter.d @ 45:d8635bb48c7c

Merge with SWT 3.5
author Jacob Carlborg <doob@me.com>
date Mon, 01 Dec 2008 17:07:00 +0100
parents 380af2bdd8e5
children 52007db1276d
line wrap: on
line diff
--- a/dwt/dnd/DragSourceAdapter.d	Tue Oct 21 15:20:04 2008 +0200
+++ b/dwt/dnd/DragSourceAdapter.d	Mon Dec 01 17:07:00 2008 +0100
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2000, 2004 IBM Corporation and others.
+ * Copyright (c) 2000, 2008 IBM Corporation and others.
  * All rights reserved. This program and the accompanying materials
  * are made available under the terms of the Eclipse Public License v1.0
  * which accompanies this distribution, and is available at
@@ -8,7 +8,9 @@
  * Contributors:
  *     IBM Corporation - initial API and implementation
  *******************************************************************************/
-module dwt.dnd;
+module dwt.dnd.DragSourceAdapter;
+
+import dwt.dwthelper.utils;
 
 
 /**
@@ -21,21 +23,32 @@
  *
  * @see DragSourceListener
  * @see DragSourceEvent
+ * @see <a href="http://www.eclipse.org/swt/">Sample code and further information</a>
  */
-public class DragSourceAdapter : DragSourceListener {
-    /**
-     * This implementation of <code>dragStart</code> permits the drag operation to start.
-     * For additional information see <code>DragSourceListener.dragStart</code>.
-     */
-    public void dragStart(DragSourceEvent event){}
-    /**
-     * This implementation of <code>dragFinished</code> does nothing.
-     * For additional information see <code>DragSourceListener.dragFinished</code>.
-     */
-    public void dragFinished(DragSourceEvent event){}
-    /**
-     * This implementation of <code>dragSetData</code> does nothing.
-     * For additional information see <code>DragSourceListener.dragSetData</code>.
-     */
-    public void dragSetData(DragSourceEvent event){}
+public class DragSourceAdapter implements DragSourceListener {
+
+/**
+ * This implementation of <code>dragStart</code> permits the drag operation to start.
+ * For additional information see <code>DragSourceListener.dragStart</code>.
+ * 
+ * @param event the information associated with the drag start event
+ */
+public void dragStart(DragSourceEvent event){}
+
+/**
+ * This implementation of <code>dragFinished</code> does nothing.
+ * For additional information see <code>DragSourceListener.dragFinished</code>.
+ * 
+ * @param event the information associated with the drag finished event
+ */
+public void dragFinished(DragSourceEvent event){}
+
+/**
+ * This implementation of <code>dragSetData</code> does nothing.
+ * For additional information see <code>DragSourceListener.dragSetData</code>.
+ * 
+ * @param event the information associated with the drag set data event
+ */
+public void dragSetData(DragSourceEvent event){}
+
 }