void (MavenGeneralSettings data, Project project) { myProject = project; setAnchor(mavenHomeComponent.getLabel()); String text = data.getMavenHomeType().getTitle(); mavenHomeField.setText(text); updateMavenVersionLabel(); userSettingsFileOverrider.reset(data.getUserSettingsFile()); localRepositoryOverrider.reset(data.getLocalRepository()); }