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
* should also reimplement <code>updateContents</code>.
     * </p>
     *
     * @param cell the control for this cell editor 
     * @return the underlying control
     */
    protected Control createContents(Composite cell) {
        defaultLabel = new Label(cell, SWT.LEFT);
        defaultLabel.setFont(cell.getFont());
        defaultLabel.setBackground(cell.getBackground());
        return defaultLabel;
    }
    /* (non-Javadoc)
     * Method declared on CellEditor.
     */
    protected Control createControl(Composite parent) {
        Font font = parent.getFont();
        Color bg = parent.getBackground();
        editor = new Composite(parent, getStyle());
        editor.setFont(font);
        editor.setBackground(bg);
        editor.setLayout(new DialogCellLayout());
        contents = createContents(editor);
        updateContents(value);
        button = createButton(editor);
        button.setFont(font);
        button.addKeyListener(new KeyAdapter() {
            /* (non-Javadoc)
             * @see org.eclipse.swt.events.KeyListener#keyReleased(org.eclipse.swt.events.KeyEvent)
             */