Bug 75316 [preferences] Provide a generic way to update dependencies
I200409280800 On the spelling preference page, check to spell-check comments Click Restore defaults The nested checkboxes under "spell-check comments" remain enabled.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/SpellingConfigurationBlock.java
handleBrowseButtonSelected();
			}
		});
		button.setLayoutData(new GridData(GridData.HORIZONTAL_ALIGN_END));
		SWTUtil.setButtonDimensionHint(button);
		
		layout= new GridLayout();
		layout.numColumns= 3;
		Group advanced= new Group(composite, SWT.NONE);
		advanced.setText(PreferencesMessages.getString("SpellingPreferencePage.preferences.advanced")); 
		layout= new GridLayout();
		layout.numColumns= 3;
		advanced.setLayout(layout);		
		advanced.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
		
		label= PreferencesMessages.getString("SpellingPreferencePage.proposals.threshold"); 
		Text text= addTextField(advanced, label, PREF_SPELLING_PROPOSAL_THRESHOLD, 0, 0);
		text.setTextLimit(3);
		GridData data= new GridData(GridData.HORIZONTAL_ALIGN_BEGINNING);
		data.widthHint= converter.convertWidthInCharsToPixels(4);
		text.setLayoutData(data);
		
		label= PreferencesMessages.getString("SpellingPreferencePage.enable.contentassist.label"); 
		addCheckBox(advanced, label, PREF_SPELLING_ENABLE_CONTENTASSIST, trueFalse, 0);
		return composite;
	}
	private static String[] getAllKeys() {
		return new String[] { PREF_SPELLING_USER_DICTIONARY, PREF_SPELLING_CHECK_SPELLING, PREF_SPELLING_IGNORE_DIGITS, PREF_SPELLING_IGNORE_MIXED, PREF_SPELLING_IGNORE_SENTENCE, PREF_SPELLING_IGNORE_UPPER, PREF_SPELLING_IGNORE_URLS, PREF_SPELLING_LOCALE, PREF_SPELLING_PROPOSAL_THRESHOLD, PREF_SPELLING_ENABLE_CONTENTASSIST };
	}
	/*