232233234235236237238239240241
downloadUsersAndGroups(); } } private void checkReadOnly(ServerConnectionEvent evt) { User user = evt.getUser(); checkIfUserHasWriteAccess(user); } }); }
2627282930313233
putValue(LARGE_ICON_KEY, ClientIcons.ADD_USER_32); } @Override public void actionPerformed(ActionEvent e) { User user = createNewUser(); getModel().addUser(user); }
32333435363738
getModel().addUser(user); } private User createNewUser() { String newName = getNewUserName(getModel()); return new User(newName, null); }