1
|
/*******************************************************************************
|
2
|
* Copyright (c) 2000, 2010 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
|
package org.eclipse.gef.dnd;
|
12
|
|
13
|
import org.eclipse.swt.dnd.Transfer;
|
14
|
|
15
|
/**
|
16
|
* A <code>DropTragetListener</code> that handles one type of SWT
|
17
|
* {@link Transfer}. The purpose of a TransferDropTargetListener is to:
|
18
|
* <UL>
|
19
|
* <LI>Determine enablement for a Drop operation. Enablement is often a function
|
20
|
* drop location, and/or criteria.
|
21
|
* <LI>When enabled, optionally showing feedback on the DropTarget.
|
22
|
* <LI>Performing the actualy Drop
|
23
|
* </UL> {@link DelegatingDropAdapter} allows these functions to be implemented
|
24
|
* separately for unrelated types of Drags. DelegatingDropAdapter then combines
|
25
|
* the function of each TransferDropTargetListener, while allowing them to be
|
26
|
* implemented as if they were the only DragSourceListener.
|
27
|
*
|
28
|
* @deprecated use org.eclipse.jface.util.TransferDropTargetListener instead
|
29
|
*/
|
30
|
public interface TransferDropTargetListener extends
|
31
|
org.eclipse.jface.util.TransferDropTargetListener {
|
32
|
|
33
|
}
|