public class ScriptDragSource extends TreeDragSourceEffect
Constructor and Description |
---|
ScriptDragSource(TreeViewer tree)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static void |
addDragSupport(TreeViewer treeViewer)
Does everything to add drag support to a given tree.
|
void |
dragSetData(DragSourceEvent event) |
dragFinished, dragStart
getControl
public ScriptDragSource(TreeViewer tree)
tree
- tree to read frompublic static final void addDragSupport(TreeViewer treeViewer)
treeViewer
- tree to add drag support topublic final void dragSetData(DragSourceEvent event)
dragSetData
in interface DragSourceListener
dragSetData
in class DragSourceAdapter