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
public void keyReleased(KeyEvent e) {
                if (e.character == '\u001b') { 
                    fireCancelEditor();
                }
            }
        });
        
        button.addFocusListener(getButtonFocusListener());
        
        button.addSelectionListener(new SelectionAdapter() {
            /* (non-Javadoc)
             * @see org.eclipse.swt.events.SelectionListener#widgetSelected(org.eclipse.swt.events.SelectionEvent)
             */
            public void widgetSelected(SelectionEvent event) {
            	
            	
            	button.removeFocusListener(getButtonFocusListener());
                
            	Object newValue = openDialogBox(editor);
            	
            	
            	button.addFocusListener(getButtonFocusListener());
            	if (newValue != null) {
                    boolean newValidState = isCorrect(newValue);
                    if (newValidState) {
                        markDirty();
                        doSetValue(newValue);
                    } else {
                        
                        setErrorMessage(MessageFormat.format(getErrorMessage(),