Bug 194760 [CellEditors] [Viewers] JavaDoc DialogCellEditor updateLabel mistake
Build ID: I20070608-1718 Steps To Reproduce: DialogCellEditor's javadoc contains this: -------------- Subclasses may override the following method: createButton: creates the cell editor's button control openDialogBox: opens the dialog box when the end user presses the button updateLabel: updates the cell editor's label after its value has changed ------------ UpdateLabel method doesn't exist, probably there should be updateContents. More information:
bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/DialogCellEditor.java
import org.eclipse.swt.events.KeyEvent;
import org.eclipse.swt.events.SelectionAdapter;
import org.eclipse.swt.events.SelectionEvent;
import org.eclipse.swt.graphics.Color;
import org.eclipse.swt.graphics.Font;
import org.eclipse.swt.graphics.Point;
import org.eclipse.swt.graphics.Rectangle;
import org.eclipse.swt.widgets.Button;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Control;
import org.eclipse.swt.widgets.Label;
import org.eclipse.swt.widgets.Layout;
/**
 * An abstract cell editor that uses a dialog.
 * Dialog cell editors usually have a label control on the left and a button on
 * the right. Pressing the button opens a dialog window (for example, a color dialog
 * or a file dialog) to change the cell editor's value.
 * The cell editor's value is the value of the dialog.
 * <p>
 * Subclasses may override the following method:
 * <ul>
 *	<li><code>createButton</code>: creates the cell editor's button control</li>
 *	<li><code>openDialogBox</code>: opens the dialog box when the end user presses
 *      the button</li>
 *	<li><code>updateLabel</code>: updates the cell editor's label after its
 *		value has changed</li>
 * </ul>
 * </p>
 */
public abstract class DialogCellEditor extends CellEditor {