01: /*******************************************************************************
02: * Copyright (c) 2000, 2005 IBM Corporation and others.
03: * All rights reserved. This program and the accompanying materials
04: * are made available under the terms of the Eclipse Public License v1.0
05: * which accompanies this distribution, and is available at
06: * http://www.eclipse.org/legal/epl-v10.html
07: *
08: * Contributors:
09: * IBM Corporation - initial API and implementation
10: *******************************************************************************/package org.eclipse.ui.texteditor;
11:
12: import org.eclipse.swt.dnd.DropTargetListener;
13: import org.eclipse.swt.dnd.Transfer;
14:
15: /**
16: * Interface to be implemented by SWT drop target listeners to be used with
17: * <code>AbstractTextEditor</code>.
18: * <p>
19: * This interface is not part of the official API.
20: *
21: * @since 3.0
22: */
23: public interface ITextEditorDropTargetListener extends
24: DropTargetListener {
25:
26: /**
27: * Returns the list of <code>Transfer</code> agents that are supported by this listener.
28: *
29: * @return the list of transfer agents supported by this listener
30: */
31: Transfer[] getTransfers();
32: }
|