Bug 313761 [Viewers][doc] ViewerDropAdapter.getSelectedObject impl doesn't match javadoc
Build Identifier: 20100218-1602 The doc comment of ViewerDropAdapter.getSelectedObject() says that the method returns null in case multiple objects are selected. In fact, its implementation checks only whether there is AT LEAST ONE selected object. Reproducible: Always
bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/ViewerDropAdapter.java
}
    /**
     * Returns the current {@link DropTargetEvent}.
     * 
     * This may be called only inside of the {@link #validateDrop(Object, int, TransferData)} 
     * or {@link #performDrop(Object)} methods.
     * @return the DropTargetEvent
     * @since 3.5
     */
    protected DropTargetEvent getCurrentEvent() {
    	Assert.isTrue(currentEvent != null);
    	return currentEvent;
    }
    
    /**
     * Returns whether visible insertion feedback should be presented to the user.
     * <p>
     * Typical insertion feedback is the horizontal insertion bars that appear 
     * between adjacent items while dragging.
     * </p>
     *
     * @return <code>true</code> if visual feedback is desired, and <code>false</code> if not
     */
    public boolean getFeedbackEnabled() {
        return feedbackEnabled;
    }
    /**
     * Returns the object currently selected by the viewer.
     *
     * @return the selected object, or <code>null</code> if either no object or