| Summary: | [DND] Support DragSourceEffect when using drag 'n drop | ||
|---|---|---|---|
| Product: | [RT] RAP | Reporter: | Paul Kendall <pkendall64> |
| Component: | RWT | Assignee: | Project Inbox <rap-inbox> |
| Status: | NEW --- | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | mwirth |
| Version: | 1.3 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
*** Bug 472288 has been marked as a duplicate of this bug. *** |
I have a list of objects which I can drag from the list to a custom widget, but the cursor during the drag operation is the normal cursor with a simple dotted box in the drop area. I'd like to set the image to be displayed using the method as shown here. DragSource dragSource = new DragSource(label, DND.DROP_MOVE|DND.DROP_COPY); dragSource.setDragSourceEffect(new DragSourceEffect(label) { @Override public void dragStart(DragSourceEvent event) { event.image = image; } });