Bug 44315 - Preventing drag feedback for a non-draggable element in a tree viewer
Summary: Preventing drag feedback for a non-draggable element in a tree viewer
Status: NEW
Alias: None
Product: GEF
Classification: Tools
Component: GEF-Legacy GEF (MVC) (show other bugs)
Version: 2.1.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: gef-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-07 11:20 EDT by Yoav Rubin CLA
Modified: 2007-03-15 07:40 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yoav Rubin CLA 2003-10-07 11:20:46 EDT
I have a tree viewer, and some of the editparts in it are non-draggable. When 
the user selects one of them and starts dragging it, there's a drag feedback 
and the cursor changes to a dragging crsor.
Comment 1 Randy Hudson CLA 2003-10-07 11:39:47 EDT
I realize there is a problem.  A workaround might be to add an additional 
DragSourceListener which comes at the END of the list of listeners.  See 
AbstractEditPartViewer#hookDragSource(..) for where you could add an additional 
listener.

Then, your listener would simple set the drag to NONE based on the currently 
selected editparts. Doing this will abort the drag completely.