|
Runtime | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ITransferDropTargetListener
Interface to be implemented by providers of transfer agents that are used by the drop target within drag/drop operations.
| Method Summary | |
|---|---|
boolean |
canSupport(DropTargetEvent event)
Returns whether the drop operation for the current drop event is supported by this listener. |
ITransferAgent |
getTransferAgent()
Returns the transfer agent associated with this transfer listener. |
void |
init(IDropTargetContext context)
Initializes this transfer drop target listener with the drop target context that provides the target and location information during the drag/drop operation. |
| Methods inherited from interface org.eclipse.swt.dnd.DropTargetListener |
|---|
dragEnter, dragLeave, dragOperationChanged, dragOver, drop, dropAccept |
| Method Detail |
|---|
ITransferAgent getTransferAgent()
void init(IDropTargetContext context)
context - the drop target contextboolean canSupport(DropTargetEvent event)
IDropActionContext and the current drop target listener
when this method is invoked.
event - The drop target event
|
Runtime | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.