Package com.diffplug.common.swt.dnd
Class DragSourceRouter
java.lang.Object
com.diffplug.common.swt.dnd.DragSourceRouter
Provides a mechanism for a single control to route its DragSourceEvents to various listeners.
There is only one active listener at a time.
-
Method Summary
Modifier and TypeMethodDescriptionstatic DragSourceRouterforControl(Control ctl) Returns the MultipleDragSource for the given Control.voidsetActiveListener(DragSourceListener newListener, Transfer[] transfers) Sets the DragSourceListener which will get called for this DragSource.
-
Method Details
-
setActiveListener
Sets the DragSourceListener which will get called for this DragSource. -
forControl
Returns the MultipleDragSource for the given Control.
-