1 /*******************************************************************************
2  * Copyright (c) 2000, 2008 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  *     IBM Corporation - initial API and implementation
10  * Port to the D programming language:
11  *     Frank Benoit <benoit@tionex.de>
12  *******************************************************************************/
13 module org.eclipse.swt.dnd.DragSourceAdapter;
14 
15 import java.lang.all;
16 
17 import org.eclipse.swt.dnd.DragSourceListener;
18 import org.eclipse.swt.dnd.DragSourceEvent;
19 
20 /**
21  * This adapter class provides default implementations for the
22  * methods described by the <code>DragSourceListener</code> interface.
23  *
24  * <p>Classes that wish to deal with <code>DragSourceEvent</code>s can
25  * extend this class and override only the methods which they are
26  * interested in.</p>
27  *
28  * @see DragSourceListener
29  * @see DragSourceEvent
30  * @see <a href="http://www.eclipse.org/swt/">Sample code and further information</a>
31  */
32 public class DragSourceAdapter : DragSourceListener {
33 
34 /**
35  * This implementation of <code>dragStart</code> permits the drag operation to start.
36  * For additional information see <code>DragSourceListener.dragStart</code>.
37  * 
38  * @param event the information associated with the drag start event
39  */
40 public void dragStart(DragSourceEvent event){}
41 
42 /**
43  * This implementation of <code>dragFinished</code> does nothing.
44  * For additional information see <code>DragSourceListener.dragFinished</code>.
45  * 
46  * @param event the information associated with the drag finished event
47  */
48 public void dragFinished(DragSourceEvent event){}
49 
50 /**
51  * This implementation of <code>dragSetData</code> does nothing.
52  * For additional information see <code>DragSourceListener.dragSetData</code>.
53  * 
54  * @param event the information associated with the drag set data event
55  */
56 public void dragSetData(DragSourceEvent event){}
57 
58 }