org.eclipse.gmt.modisco.infra.query.ui.views.queryExecution.internal
Class DropAdapter
java.lang.Object
org.eclipse.gmt.modisco.infra.query.ui.views.queryExecution.internal.DropAdapter
public class DropAdapter
- extends java.lang.Object
Implements a DropTargetListener
that accepts EObject
s
transferred locally (i.e. through LocalTransfer
), and calls the given
DropAdapter.DropAction
with the dropped EObject
s.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DropAdapter
public DropAdapter(DropAdapter.DropAction dropAction)
- Parameters:
dropAction
- the action that will be called when model elements are dropped
drop
public void drop(DropTargetEvent event)
dropAccept
public void dropAccept(DropTargetEvent event)
dragOver
public void dragOver(DropTargetEvent event)
dragOperationChanged
public void dragOperationChanged(DropTargetEvent event)
dragLeave
public void dragLeave(DropTargetEvent event)
dragEnter
public void dragEnter(DropTargetEvent event)