MAJ V4.5.0

Correction bug pour ajouter des étudiants dans la liste
This commit is contained in:
pablo rodriguez 2024-03-24 21:00:03 +01:00
parent 326e4feb30
commit 0a90fc6a51
20 changed files with 20 additions and 3 deletions

File diff suppressed because one or more lines are too long

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -61,8 +61,10 @@ public class VerificationHistorique {
int compteurnombreCorrespondancesconsecutive = 0;
// Affichage
txt.setText("Analyse du fichier " + i + " / " + nbFichier +"\n"
+LesFichiers.get(i).getAttributs().get("dossier") + " - number of modifications : " + nombreModifications);
String AffichageMessageEcran = "Analyse du fichier " + i + " / " + nbFichier +"\n" + LesFichiers.get(i).getAttributs().get("dossier") + " - number of modifications : " + nombreModifications;
txt.setText(AffichageMessageEcran);
commandes.message.append("\n"+LesFichiers.get(i).getAttributs().get("dossier") + " - number of modifications : " + nombreModifications);
@SuppressWarnings("unchecked")
@ -185,6 +187,8 @@ public class VerificationHistorique {
// Rechercher les correspondances
for(int i2 = 0 ; i2 < LesFichiers2.size(); i2++) {
String nameStudent2 = LesFichiers2.get(i2).getAttributs().get("dossier");
ArrayList<node> HitoriqueDuFichier2 = LesFichiers2.get(i2).retourneEnfantsByName("text:changed-region", new ArrayList<node>());
for(int j2 = 0 ; j2 <HitoriqueDuFichier2.size(); j2++ ) {
String dcdate2 = HitoriqueDuFichier2.get(j2).retourneFirstEnfantsByName("dc:date").getContenu().get(0);

View File

@ -42,6 +42,7 @@ public class evaluerLesFichiersEtudiants implements Runnable{
commandes.message.append("<p>Dossier contenant les fichiers des étudiants.</p>");
commandes.message.append("<p><b>" + commandes.path + "</b></p>");
commandes.message.append("<br>");
if(commandes.analyse_baremeABC) {
commandes.message.append("<p>Barème alphabétique ABCDE.<p>");
commandes.message.append("<p>progression=" + String.valueOf(commandes.analyse_progression) + "<p>");
@ -49,14 +50,17 @@ public class evaluerLesFichiersEtudiants implements Runnable{
commandes.message.append("<p>" + C.getMessageLigne() +"</p>");
commandes.message.append("<br>");
}
if(commandes.zipfeedback) {
commandes.message.append("<p>Les feedbacks sont dans une archive ou des archives ZIP dans le dossier contenant les fichiers des étudiants.</p>");
commandes.message.append("<br>");
}
if(commandes.ecritNoteCSV) {
commandes.message.append("<p>Un fichiers CSV contenant les notes a été créé dans le dossier contenant les fichiers des étudiants.</p>");
commandes.message.append("<br>");
}
commandes.message.append("<hr>");
Run a = null;

View File

@ -680,6 +680,10 @@ public class evaluate extends JFrame {
toolBar.add(btnEvaluerLesFichiers);
JButton btnVerifHistorique = toolBar.add(actVerifHistorique);
btnVerifHistorique.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
}
});
btnVerifHistorique.setIcon(new ImageIcon(evaluate.class.getResource("/resources/verifhistorique.png")));
btnVerifHistorique.setHideActionText(true);
toolBar.add(btnVerifHistorique);
@ -952,6 +956,10 @@ private AbstractAction actOpen = new AbstractAction() {
try {
msgBox V = new msgBox("Je travaille dure.",false,false,"Attendez");
Thread.sleep(100);
Thread t2 = new Thread(new evaluerLesFichiersEtudiants(txtpnmessages));
t2.start();
meptl.analyseVerifieHistoriqueLesFichiersEtudiantsEtExportNoteCSV(fenetres.evaluate.getTxtpnmessages());
txtpnmessages.setContentType("text/plain");
txtpnmessages.setText(commandes.message.toString());
@ -1260,6 +1268,7 @@ private AbstractAction actOpen = new AbstractAction() {
commandes.nodeCSV = new node("fileCSV");
}else {
if(commandes.nodeCSV.getNomElt()==null) commandes.nodeCSV.setNomElt("fileCSV");
if(commandes.nodeCSV.getNomElt().isBlank()) commandes.nodeCSV.setNomElt("fileCSV");
nbrStudent = commandes.nodeCSV.getNbrEnfants();
}