use of net.sourceforge.processdash.ui.lib.autocomplete.AssignedToEditList in project processdash by dtuma.
the class TeamTimeColumn method changeInitials.
public static void changeInitials(WBSModel wbsModel, Map<String, String> initialsToChange) {
AssignedToEditList initialsChanges = new AssignedToEditList();
for (Entry<String, String> e : initialsToChange.entrySet()) {
Change change = new Change();
change.origInitials = e.getKey();
change.newInitials = e.getValue();
initialsChanges.add(change);
}
updateRoleAssignments(initialsChanges, wbsModel.getRoot());
for (WBSNode node : wbsModel.getDescendants(wbsModel.getRoot())) updateRoleAssignments(initialsChanges, node);
}
Aggregations