1 /*******************************************************************************
2 * Copyright (c) 2000, 2016 IBM Corporation and others.
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/
9 * SPDX-License-Identifier: EPL-2.0
12 * IBM Corporation - initial API and implementation
13 *******************************************************************************/
14 package org.eclipse.swt.dnd;
18 * This adapter class provides default implementations for the
19 * methods described by the <code>DragSourceListener</code> interface.
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
25 * @see DragSourceListener
26 * @see DragSourceEvent
27 * @see <a href="http://www.eclipse.org/swt/">Sample code and further information</a>
29 public class DragSourceAdapter implements DragSourceListener {
32 * This implementation of <code>dragStart</code> permits the drag operation to start.
33 * For additional information see <code>DragSourceListener.dragStart</code>.
35 * @param event the information associated with the drag start event
38 public void dragStart(DragSourceEvent event){}
41 * This implementation of <code>dragFinished</code> does nothing.
42 * For additional information see <code>DragSourceListener.dragFinished</code>.
44 * @param event the information associated with the drag finished event
47 public void dragFinished(DragSourceEvent event){}
50 * This implementation of <code>dragSetData</code> does nothing.
51 * For additional information see <code>DragSourceListener.dragSetData</code>.
53 * @param event the information associated with the drag set data event
56 public void dragSetData(DragSourceEvent event){}