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
http://www.eclipse.org/articles/Article-SWT-DND/DND-in-SWT.html
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment