Mercurial > projects > dwt-mac
comparison dwt/dnd/DragSourceAdapter.d @ 0:380af2bdd8e5
Upload of whole dwt tree
author | Jacob Carlborg <doob@me.com> <jacob.carlborg@gmail.com> |
---|---|
date | Sat, 09 Aug 2008 17:00:02 +0200 |
parents | |
children | d8635bb48c7c |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:380af2bdd8e5 |
---|---|
1 /******************************************************************************* | |
2 * Copyright (c) 2000, 2004 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 *******************************************************************************/ | |
11 module dwt.dnd; | |
12 | |
13 | |
14 /** | |
15 * This adapter class provides default implementations for the | |
16 * methods described by the <code>DragSourceListener</code> interface. | |
17 * | |
18 * <p>Classes that wish to deal with <code>DragSourceEvent</code>s can | |
19 * extend this class and override only the methods which they are | |
20 * interested in.</p> | |
21 * | |
22 * @see DragSourceListener | |
23 * @see DragSourceEvent | |
24 */ | |
25 public class DragSourceAdapter : DragSourceListener { | |
26 /** | |
27 * This implementation of <code>dragStart</code> permits the drag operation to start. | |
28 * For additional information see <code>DragSourceListener.dragStart</code>. | |
29 */ | |
30 public void dragStart(DragSourceEvent event){} | |
31 /** | |
32 * This implementation of <code>dragFinished</code> does nothing. | |
33 * For additional information see <code>DragSourceListener.dragFinished</code>. | |
34 */ | |
35 public void dragFinished(DragSourceEvent event){} | |
36 /** | |
37 * This implementation of <code>dragSetData</code> does nothing. | |
38 * For additional information see <code>DragSourceListener.dragSetData</code>. | |
39 */ | |
40 public void dragSetData(DragSourceEvent event){} | |
41 } |