Bug 70370 [Viewers] ViewerDropAdapter couples auto-scroll and auto-expand
For some reason, the ViewerDropAdapter provides a single method to enable/disable auto scrolling and expanding when dropping. I have a view that hits the server when expanding a tree, so I don't want the auto-expansion but I still want the scrolling. I will attach a patch to ViewerDropAdapter that separates these.
bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/ViewerDropAdapter.java
* Method declared on DropTargetAdapter.
     * The mouse has moved over the drop target.  If the
     * target item has changed, notify the action and check
     * that it is still enabled.
     */
    private void doDropValidation(DropTargetEvent event) {
        
        if (event.detail != DND.DROP_NONE) {
            lastValidOperation = event.detail;
        }
        
        if (validateDrop(currentTarget, event.detail, event.currentDataType)) {
            currentOperation = lastValidOperation;
        } else {
            currentOperation = DND.DROP_NONE;
        }
        event.detail = currentOperation;
    }
    /* (non-Javadoc)
     * Method declared on DropTargetAdapter.
     * The drag has entered this widget's region.  See
     * if the drop should be allowed.
     */
    public void dragEnter(DropTargetEvent event) {
        currentTarget = determineTarget(event);
        doDropValidation(event);
    }
    /* (non-Javadoc)
     * Method declared on DropTargetAdapter.
     * The drop operation has changed, see if the action