blob: 84c4f38a4350ed54af7c6fff71ab53a8528bf328 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2000, 2010 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.gef.dnd;
import org.eclipse.swt.dnd.Transfer;
/**
* A <code>DropTragetListener</code> that handles one type of SWT
* {@link Transfer}. The purpose of a TransferDropTargetListener is to:
* <UL>
* <LI>Determine enablement for a Drop operation. Enablement is often a function
* drop location, and/or criteria.
* <LI>When enabled, optionally showing feedback on the DropTarget.
* <LI>Performing the actualy Drop
* </UL> {@link DelegatingDropAdapter} allows these functions to be implemented
* separately for unrelated types of Drags. DelegatingDropAdapter then combines
* the function of each TransferDropTargetListener, while allowing them to be
* implemented as if they were the only DragSourceListener.
*
* @deprecated use org.eclipse.jface.util.TransferDropTargetListener instead
*/
public interface TransferDropTargetListener extends
org.eclipse.jface.util.TransferDropTargetListener {
}