void () { boolean oldValue = myConfig.SHOW_LINKED_FILES; myConfig.SHOW_LINKED_FILES = myShowLinkedFiles.isSelected(); // TODO: make this a ConfigListener if (oldValue != myConfig.SHOW_LINKED_FILES) { final Project[] projects = ProjectManager.getInstance().getOpenProjects(); for (Project project : projects) { ProjectView.getInstance(project).refresh(); } } }