]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.eclipse.swt.win32.win32.x86_64/src/org/eclipse/swt/dnd/DragSourceAdapter.java
Work around SWT 4.13 - 4.18 Win32 DnD bug 567422
[simantics/platform.git] / bundles / org.eclipse.swt.win32.win32.x86_64 / src / org / eclipse / swt / dnd / DragSourceAdapter.java
1 /*******************************************************************************
2  * Copyright (c) 2000, 2016 IBM Corporation and others.
3  *
4  * This program and the accompanying materials
5  * are made available under the terms of the Eclipse Public License 2.0
6  * which accompanies this distribution, and is available at
7  * https://www.eclipse.org/legal/epl-2.0/
8  *
9  * SPDX-License-Identifier: EPL-2.0
10  *
11  * Contributors:
12  *     IBM Corporation - initial API and implementation
13  *******************************************************************************/
14 package org.eclipse.swt.dnd;
15
16
17 /**
18  * This adapter class provides default implementations for the
19  * methods described by the <code>DragSourceListener</code> interface.
20  *
21  * <p>Classes that wish to deal with <code>DragSourceEvent</code>s can
22  * extend this class and override only the methods which they are
23  * interested in.</p>
24  *
25  * @see DragSourceListener
26  * @see DragSourceEvent
27  * @see <a href="http://www.eclipse.org/swt/">Sample code and further information</a>
28  */
29 public class DragSourceAdapter implements DragSourceListener {
30
31 /**
32  * This implementation of <code>dragStart</code> permits the drag operation to start.
33  * For additional information see <code>DragSourceListener.dragStart</code>.
34  *
35  * @param event the information associated with the drag start event
36  */
37 @Override
38 public void dragStart(DragSourceEvent event){}
39
40 /**
41  * This implementation of <code>dragFinished</code> does nothing.
42  * For additional information see <code>DragSourceListener.dragFinished</code>.
43  *
44  * @param event the information associated with the drag finished event
45  */
46 @Override
47 public void dragFinished(DragSourceEvent event){}
48
49 /**
50  * This implementation of <code>dragSetData</code> does nothing.
51  * For additional information see <code>DragSourceListener.dragSetData</code>.
52  *
53  * @param event the information associated with the drag set data event
54  */
55 @Override
56 public void dragSetData(DragSourceEvent event){}
57
58 }