void () { super.apply(); RedmineProjectItem selected = (RedmineProjectItem)myProjectCombo.getSelectedItem(); myRepository.setCurrentProject(selected != null ? selected.myProject : null); myRepository.setAPIKey(myAPIKey.getText().trim()); myRepository.setAssignedToMe(!myAllAssigneesCheckBox.isSelected()); myTestButton.setEnabled(myRepository.isConfigured()); toggleCredentialsVisibility(); }