void (@NotNull ChangeBrowserSettings settings) { myUseDateBeforeFilter.setSelected(settings.USE_DATE_BEFORE_FILTER); myUseDateAfterFilter.setSelected(settings.USE_DATE_AFTER_FILTER); try { myDateBefore.setDate(settings.getDateBefore()); myDateAfter.setDate(settings.getDateAfter()); } catch (PropertyVetoException e) { // TODO: handle? } updateAllEnabled(null); }