Bug 50627 [Preferences] Bug when disabling RadioGroupFieldEditor
If I disable a RadioGroupFieldEditor in the initialize of a FieldEditorPreferencePage, the label of the group gets added to the preference page at the bottom. The problem is that the method FieldEditor#getLabelControl (Composite) creates a label control. In general, this is correct but a radio button group uses a different label so when the disable occurs, an additional label is created. We have released changes to the Team>CVS>Watch/Edit preference page that illustrates this problem.
bundles/org.eclipse.jface/src/org/eclipse/jface/preference/RadioGroupFieldEditor.java
radioBox = new Composite(parent, SWT.NONE);
			GridLayout layout = new GridLayout();
			layout.marginWidth = 0;
			layout.marginHeight = 0;
			layout.horizontalSpacing = HORIZONTAL_GAP;
			layout.numColumns = numColumns;
			radioBox.setLayout(layout);
			radioBox.setFont(font);
		}
		radioButtons = new Button[labelsAndValues.length];
		for (int i = 0; i < labelsAndValues.length; i++) {
			Button radio = new Button(radioBox, SWT.RADIO | SWT.LEFT);
			radioButtons[i] = radio;
			String[] labelAndValue = labelsAndValues[i];
			radio.setText(labelAndValue[0]);
			radio.setData(labelAndValue[1]);
			radio.setFont(font);
			radio.addSelectionListener(new SelectionAdapter() {
				public void widgetSelected(SelectionEvent event) {
					String oldValue = value;
					value = (String) event.widget.getData();
					setPresentsDefaultValue(false);
					fireValueChanged(VALUE, oldValue, value);
				}
			});
		}
		radioBox.addDisposeListener(new DisposeListener() {
			public void widgetDisposed(DisposeEvent event) {
				radioBox = null;
				radioButtons = null;