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
* Method declared on CellEditor.
     * The focus is set to the cell editor's button. 
     */
    protected void doSetFocus() {
        button.setFocus();
        
        
        button.addFocusListener(getButtonFocusListener());
    }
    /**
     * Return a listener for button focus.
     * @return FocusListener
     */
    private FocusListener getButtonFocusListener() {
    	if (buttonFocusListener == null) {
    		buttonFocusListener = new FocusListener() {
				/* (non-Javadoc)
				 * @see org.eclipse.swt.events.FocusListener#focusGained(org.eclipse.swt.events.FocusEvent)
				 */
				public void focusGained(FocusEvent e) {
					
				}
				/* (non-Javadoc)
				 * @see org.eclipse.swt.events.FocusListener#focusLost(org.eclipse.swt.events.FocusEvent)
				 */
				public void focusLost(FocusEvent e) {
					DialogCellEditor.this.focusLost();
				}
    		};
    	}