Class DragAndDropSupport
- java.lang.Object
-
- com._1c.g5.v8.dt.form.service.dnd.DragAndDropSupport
-
public class DragAndDropSupport extends Object
Provides drag-and-drop capabilities to controls.
-
-
Constructor Summary
Constructors Constructor Description DragAndDropSupport()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
attach(org.eclipse.swt.widgets.Control control, DragAndDropSelectionListener listener)
Adds DnD capabilities to the providedControl
object with specified drag and drop listener.
-
-
-
Method Detail
-
attach
public static void attach(org.eclipse.swt.widgets.Control control, DragAndDropSelectionListener listener)
Adds DnD capabilities to the providedControl
object with specified drag and drop listener. The method returnsPair
ofDragSource
andDropTarget
objects attached to the control.- Parameters:
control
- the control to add DnD capabilities forlistener
- the listener of drag-and-drop events, cannot benull
-
-