Dynamically moving scroll bar when dragging an object over an SWT Tree.
In the dragOver() event write the following statements:
event.feedback |= DND.FEEDBACK_SCROLL;
For expanding a tree, when mouse hover over it during dragging an object:
event.feedback |= DND.FEEDBACK_EXPAND;
The more details can be found at the below link