Mercurial > projects > dwt-mac
comparison dwt/dnd/DragSourceAdapter.d @ 95:52007db1276d
Ported dwt.dnd.DragSource
author | Jacob Carlborg <doob@me.com> |
---|---|
date | Tue, 30 Dec 2008 20:51:17 +0100 |
parents | d8635bb48c7c |
children |
comparison
equal
deleted
inserted
replaced
94:70a562fb34e4 | 95:52007db1276d |
---|---|
5 * which accompanies this distribution, and is available at | 5 * which accompanies this distribution, and is available at |
6 * http://www.eclipse.org/legal/epl-v10.html | 6 * http://www.eclipse.org/legal/epl-v10.html |
7 * | 7 * |
8 * Contributors: | 8 * Contributors: |
9 * IBM Corporation - initial API and implementation | 9 * IBM Corporation - initial API and implementation |
10 * | |
11 * Port to the D programming language: | |
12 * Jacob Carlborg <doob@me.com> | |
10 *******************************************************************************/ | 13 *******************************************************************************/ |
11 module dwt.dnd.DragSourceAdapter; | 14 module dwt.dnd.DragSourceAdapter; |
12 | 15 |
13 import dwt.dwthelper.utils; | 16 import dwt.dwthelper.utils; |
14 | 17 |
18 | |
19 import dwt.dnd.DragSourceEvent; | |
20 import dwt.dnd.DragSourceListener; | |
15 | 21 |
16 /** | 22 /** |
17 * This adapter class provides default implementations for the | 23 * This adapter class provides default implementations for the |
18 * methods described by the <code>DragSourceListener</code> interface. | 24 * methods described by the <code>DragSourceListener</code> interface. |
19 * | 25 * |
23 * | 29 * |
24 * @see DragSourceListener | 30 * @see DragSourceListener |
25 * @see DragSourceEvent | 31 * @see DragSourceEvent |
26 * @see <a href="http://www.eclipse.org/swt/">Sample code and further information</a> | 32 * @see <a href="http://www.eclipse.org/swt/">Sample code and further information</a> |
27 */ | 33 */ |
28 public class DragSourceAdapter implements DragSourceListener { | 34 public class DragSourceAdapter : DragSourceListener { |
29 | 35 |
30 /** | 36 /** |
31 * This implementation of <code>dragStart</code> permits the drag operation to start. | 37 * This implementation of <code>dragStart</code> permits the drag operation to start. |
32 * For additional information see <code>DragSourceListener.dragStart</code>. | 38 * For additional information see <code>DragSourceListener.dragStart</code>. |
33 * | 39 * |