Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 321266 - [DND] Support DragSourceEffect when using drag 'n drop
Summary: [DND] Support DragSourceEffect when using drag 'n drop
Status: NEW
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: 1.3   Edit
Hardware: All All
: P3 enhancement with 2 votes (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 472288 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-07-29 15:38 EDT by Paul Kendall CLA
Modified: 2015-07-09 10:49 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Kendall CLA 2010-07-29 15:38:52 EDT
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;
	}
});
Comment 1 Ivan Furnadjiev CLA 2015-07-09 10:49:59 EDT
*** Bug 472288 has been marked as a duplicate of this bug. ***