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
* @param event the event
     */
    protected void handleException(Throwable exception, DropTargetEvent event) {
        
        
        
        exception.printStackTrace();
        event.detail = DND.DROP_NONE;
    }
    /**
     * Performs any work associated with the drop.
     * <p>
     * Subclasses must implement this method to provide drop behavior.
     * </p>
     *
     * @param data the drop data
     * @return <code>true</code> if the drop was successful, and 
     *   <code>false</code> otherwise
     */
    public abstract boolean performDrop(Object data);
	/**
	 * Overrides the current operation for a drop that happens immediately
	 * after the current validateDrop.
	 * 
	 * This maybe called only from within a
	 * {@link #validateDrop(Object, int, TransferData)} method
	 * 
	 * 
	 * @param operation
	 *            the operation to be used for the drop.