private static class MonitorLevelUi extends FixedSetPreferenceUi<ErrorLevel> {
public MonitorLevelUi() {
super(ErrorLogMonitorLevelPreference.INSTANCE, "Minimum error level for dialog:", false);
ErrorLevel level = ErrorLogMonitorLevelPreference.getPreferredLevel();
setSelectedValue(level);
}