コード例 #1
0
 private void setConfirmResultConverter() {
   setResultConverter(
       (dialogButton) -> {
         List<PickerAssignee> finalUsers = state.getCurrentUsersList();
         Optional<PickerAssignee> selectedAssignee =
             PickerAssignee.getSelectedAssignee(finalUsers);
         return new AssigneePickerDialogResponse(
             dialogButton, selectedAssignee.map(PickerAssignee::getLoginName));
       });
 }
コード例 #2
0
 private void refreshUI(AssigneePickerState state) {
   populateAssignedUser(state.getCurrentUsersList(), assignedUserPane);
   populateMatchingUsers(state.getMatchingUsersList(), matchingUsersBox);
 }