List<RoleCorrection> roleCorrections = entry.getValue();
for (int i = 0; i < roleCorrections.size(); i++) {
RoleCorrection roleCorrection = roleCorrections.get(i);
if (roleTableMap.get(primitive).getCorrectionTableModel().getApply(i)) {
commands.add(new ChangeRelationMemberRoleCommand(roleCorrection.relation, roleCorrection.position, roleCorrection.newRole));
}
}
}
} else if (answer != JOptionPane.NO_OPTION)
throw new UserCancelException();