KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > ui > texteditor > ITextEditorDropTargetListener


1 /*******************************************************************************
2  * Copyright (c) 2000, 2005 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.ui.texteditor;
12
13 import org.eclipse.swt.dnd.DropTargetListener;
14 import org.eclipse.swt.dnd.Transfer;
15
16 /**
17  * Interface to be implemented by SWT drop target listeners to be used with
18  * <code>AbstractTextEditor</code>.
19  * <p>
20  * This interface is not part of the official API.
21  *
22  * @since 3.0
23  */

24 public interface ITextEditorDropTargetListener extends 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 }
33
Popular Tags