Bug 121727 [Viewers] ContentViewer.getLabelProvider javadoc is wrong
Original javadoc: Returns the label provider used by this viewer. <p> The <code>ContentViewer</code> implementation of this method returns the label provider recorded in an internal state variable; if none has been set (with <code>setLabelProvider</code>) a <code>SimpleLabelProvider</code>... Corrected javadoc: Returns the label provider used by this viewer. <p> The <code>ContentViewer</code> implementation of this method returns the label provider recorded in an internal state variable; if none has been set (with <code>setLabelProvider</code>) a <code>LabelProvider</code>... Note the change from <code>SimpleLabelProvider</code> to <code>LabelProvider</code>.
bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/ContentViewer.java
/*******************************************************************************
 * Copyright (c) 2000, 2006 IBM Corporation and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     IBM Corporation - initial API and implementation
 *******************************************************************************/
package org.eclipse.jface.viewers;
import org.eclipse.core.runtime.Assert;
import org.eclipse.swt.events.DisposeEvent;
import org.eclipse.swt.events.DisposeListener;
import org.eclipse.swt.widgets.Control;
/**
 * A content viewer is a model-based adapter on a widget which accesses its
 * model by means of a content provider and a label provider.
 * <p>
 * A viewer's model consists of elements, represented by objects.
 * A viewer defines and implements generic infrastructure for handling model 
 * input, updates, and selections in terms of elements.
 * Input is obtained by querying an <code>IContentProvider</code> which returns
 * elements. The elements themselves are not displayed directly.  They are
 * mapped to labels, containing text and/or an image, using the viewer's 
 * <code>ILabelProvider</code>.
 * </p>
 * <p>
 * Implementing a concrete content viewer typically involves the following steps:
 * <ul>