Bug 157174 [Viewers] Refactor new Viewer API
We are yet not completely happy with the API and refactor it.
bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/LabelProvider.java
/*******************************************************************************
 * Copyright (c) 2000, 2005 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.commands.common.EventManager;
import org.eclipse.jface.util.SafeRunnable;
import org.eclipse.swt.graphics.Image;
/**
 * A label provider implementation which, by default, uses an element's 
 * <code>toString</code> value for its text and <code>null</code> for its image.
 * <p>
 * This class may be used as is, or subclassed to provide richer labels. 
 * Subclasses may override any of the following methods:
 * <ul>
 *   <li><code>isLabelProperty</code></li> 
 *   <li><code>getImage</code></li> 
 *   <li><code>getText</code></li> 
 *   <li><code>dispose</code></li> 
 * </ul>
 * </p>
 */
public class LabelProvider extends EventManager implements ILabelProvider {