|
Runtime | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.gmf.runtime.common.ui.services.dnd.drop.DropTargetEvent
public final class DropTargetEvent
Concrete implementation of IDropTargetEvent
| Constructor Summary | |
|---|---|
protected |
DropTargetEvent()
Constructor for DropTargetEvent. |
| Method Summary | |
|---|---|
TransferData |
getCurrentDataType()
The type of data that will be dropped. |
int |
getCurrentOperation()
The operation being performed. |
TransferData[] |
getDataTypes()
A list of the types of data that the DragSource is capable of providing. |
int |
getOperations()
A bitwise OR'ing of the operations that the DragSource can support (e.g. |
protected void |
setEvent(DropTargetEvent anEvent)
Set the event |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected DropTargetEvent()
| Method Detail |
|---|
public TransferData getCurrentDataType()
IDropTargetEvent
getCurrentDataType in interface IDropTargetEventpublic int getCurrentOperation()
IDropTargetEvent
getCurrentOperation in interface IDropTargetEventDND.DROP_NONE,
DND.DROP_MOVE,
DND.DROP_COPY,
DND.DROP_LINKpublic TransferData[] getDataTypes()
IDropTargetEvent
getDataTypes in interface IDropTargetEventpublic int getOperations()
IDropTargetEvent
getOperations in interface IDropTargetEventDND.DROP_NONE,
DND.DROP_MOVE,
DND.DROP_COPY,
DND.DROP_LINKprotected void setEvent(DropTargetEvent anEvent)
anEvent - the 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.