Community
Participate
Working Groups
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.
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.