void () { myMultiLineCheckBox.setSelected(TodoConfiguration.getInstance().isMultiLine()); // Patterns myPatterns.clear(); TodoConfiguration todoConfiguration = TodoConfiguration.getInstance(); TodoPattern[] patterns = getTodoPatternsToDisplay(todoConfiguration); for (TodoPattern pattern : patterns) { myPatterns.add(pattern.clone()); } myPatternsModel.fireTableDataChanged(); // Filters myFilters.clear(); TodoFilter[] filters = todoConfiguration.getTodoFilters(); for (TodoFilter filter : filters) { myFilters.add(filter.clone()); } myFiltersModel.fireTableDataChanged(); }