1
/*******************************************************************************
2
* Copyright (c) 2002, 2005 QNX Software Systems 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
9
* QNX Software Systems - Initial API and implementation
10
*******************************************************************************/
12
package org.eclipse.cdt.internal.ui.dnd;
14
import org.eclipse.swt.dnd.DropTargetEvent;
15
import org.eclipse.swt.dnd.DropTargetListener;
16
import org.eclipse.swt.dnd.Transfer;
19
* TransferDropTargetListener
21
public interface TransferDropTargetListener extends DropTargetListener {
24
* Returns the transfer used by this drop target.
26
public Transfer getTransfer();
29
* Returns whether the listener is able to handle the given
32
* @param event the drop target event
34
* @return <code>true</code> if the listener can handle the event;
35
* otherwise <code>false</code>
37
public boolean isEnabled(DropTargetEvent event);