1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 22:52:11 +02:00

The patch from Wieant to fix the bug# 112912

This commit is contained in:
Mikhail Sennikovsky 2005-10-18 10:15:25 +00:00
parent 84a0ef841b
commit 298c624f99

View file

@ -127,4 +127,16 @@ public class BuildOptionComboFieldEditor extends FieldEditor {
// There is just the label from the parent and the combo
return 2;
}
/**
* Set whether or not the controls in the field editor
* are enabled.
* @param enabled The enabled state.
* @param parent The parent of the controls in the group.
* Used to create the controls if required.
*/
public void setEnabled(boolean enabled, Composite parent) {
getLabelControl(parent).setEnabled(enabled);
optionSelector.setEnabled(enabled);
}
}