예제 #1
0
 private void refreshAvailableUsers(List<User> users) {
   for (User user : users) {
     if (!group.getUsers().contains(user)) {
       fromUserStore.add(new UserData(user));
     }
   }
 }
예제 #2
0
  private void setFields() {
    nameTextBox.setValue(group.getName());
    for (User user : group.getUsers()) {
      toUserStore.add(new UserData(user));
    }

    loadAvailableUsers();
  }