MAJ V4.5.0

ajoute le bouton dans la fenetre evaluate pas d'affichage du coefficient
de progression.
This commit is contained in:
pablo rodriguez 2024-04-20 11:17:53 +02:00
parent 71468f9fb8
commit 4eb5d63caf
14 changed files with 221 additions and 53 deletions

Binary file not shown.

Binary file not shown.

File diff suppressed because one or more lines are too long

153
bin/.gitignore vendored
View File

@ -1,8 +1,141 @@
/MEPTL/ /EvalTabDefautStyleLeaderfalse.png
/OnLineVersions/ /EvalTabDefautStyleLeaderfalsemini.png
/action/ /EvalTabDefautStyleLeadertrue.png
/baseEvaluations/ /EvalTabDefautStyleLeadertruemini.png
/calcul/ /OU.svg
/Verifhistorique.svg
/about.png
/accueil evaluation.png
/accueil fichier anlyse.png
/accueil.png
/accueilChargeEvaluation.png
/accueil_new_version.png
/accueilanalyseCalcl.svg
/accueilanalysecalc.png
/accueill evaluation étudiant.svg
/accueill fichier analyset.svg
/accueill new version.svg
/accueill.svg
/accueillChargeEvaluation.svg
/actEvalEnteteActivefalse.png
/actEvalEnteteActivefalsemini.png
/actEvalEnteteActivetrue.png
/actEvalEnteteActivetruemini.png
/actEvalEntetePasActivefalse.png
/actEvalEntetePasActivefalsemini.png
/actEvalEntetePasActivetrue.png
/actEvalEntetePasActivetruemini.png
/addmenu.png
/addmenu.svg
/addmenumini.png
/ajoutetitretouteslespages.png
/ajoutetitretouteslespages.svg
/ajoutetitretouteslespagesmini.png
/allContent.svg
/allContentChild.svg
/allcontent.png
/allcontentchilds.png
/allcontentchildsmini.png
/allcontentmini.png
/analyseWriter.bmp
/analyseWriter.ico
/apropos.png
/apropos.svg
/apropos_new.png
/apropos_new.svg
/aproposmax.png
/aproposmini.png
/atraversanalysestyle.png
/atraversanalysestyle.svg
/atraversanalysestylefalse.png
/atraversanalysestylefalsemini.png
/atraversanalysestylemini.png
/atraversanalysestyletrue.png
/atraversanalysestyletruemini.png
/attribut.png
/attribut.svg
/attributanalysewriter.png
/attributanalysewriter.svg
/attributanalysewritermini.png
/attributmini.png
/auteurcreateur.png
/auteurcreateur.svg
/auteurcreateurmini.png
/auteurediteur.png
/auteurediteur.svg
/auteurediteurmini.png
/biblio.png
/biblio.svg
/chargehistoriqueevaluation.png
/chargehistoriqueevaluationmini.png
/collapseAll.svg
/collapseNode.svg
/collapseallmini.png
/collapsenodemini.png
/configuration.png
/configuration.svg
/content.png
/content.svg
/copy.png
/couleur.png
/couleur.svg
/couleurmini.png
/csvstudent.png
/csvstudent.svg
/csvstudentmini.png
/cut.png
/defautBaseEvaluation.png
/defautBaseEvaluation.svg
/dernierenfant.png
/dernierenfant.svg
/dernierenfantmini.png
/dessin.svgparamètres évaluation et feedback.svg
/detailfeedback.png
/detailfeedbackmini.png
/documentation.png
/documentation.svg
/documentationmax.png
/documentationmini.png
/dossieretudiant.png
/dossieretudiant.svg
/dossieretudiantmin.png
/dossieretudiantmini.png
/downnode.png
/downnode.svg
/downnodemini.png
/entetenon.png
/entetenon.svg
/entetenonmini.png
/enteteoui.png
/enteteoui.svg
/enteteouimini.png
/et.png
/et.svg
/etmini.png
/evalLastChildfalse.png
/evalLastChildfalsemini.png
/evalLastChildtrue.png
/evalLastChildtruemini.png
/evalPiedPageActivefalse.png
/evalPiedPageActivefalsemini.png
/evalPiedPageActiveoui.png
/evalPiedPageActiveouimini.png
/evalPiedPageActivetrue.png
/evalPiedPageActivetruemini.png
/evalPiedPagePasActivefalse.png
/evalPiedPagePasActivefalsemini.png
/evalPiedPagePasActivetrue.png
/evalPiedPagePasActivetruemini.png
/evalcalc.png
/evalformatagedirect.png
/evalformatagedirect.svg
/evalformatagedirectfalse.png
/evalformatagedirectfalsemini.png
/evalformatagedirectmini.png
/evalformatagedirecttrue.png
/evalformatagedirecttruemini.png
/evalnamepage.png
/evalnamepage.svg
/evalnamepagefalse.png /evalnamepagefalse.png
/evalnamepagefalsemini.png /evalnamepagefalsemini.png
/evalnamepagemini.png /evalnamepagemini.png
@ -74,7 +207,6 @@
/evaluatemultiplemini.png /evaluatemultiplemini.png
/evaluer.png /evaluer.png
/evaluer.svg /evaluer.svg
/evaluer/
/evaluerFalse.svg /evaluerFalse.svg
/evaluerTrue.svg /evaluerTrue.svg
/evaluerfalse.png /evaluerfalse.png
@ -126,7 +258,6 @@
/feedbackmini.png /feedbackmini.png
/feedbackstudent.png /feedbackstudent.png
/feedbackstudentmini.png /feedbackstudentmini.png
/fenetres/
/fichierAnalyse.png /fichierAnalyse.png
/fichierAnalyseInfo.png /fichierAnalyseInfo.png
/fichierAnalyseInfo2.png /fichierAnalyseInfo2.png
@ -187,6 +318,14 @@
/heritagestylemini.png /heritagestylemini.png
/heritagestyletouslesnodes.png /heritagestyletouslesnodes.png
/heritagestyletouslesnodes.svg /heritagestyletouslesnodes.svg
/resources/
/MEPTL/
/OnLineVersions/
/action/
/baseEvaluations/
/calcul/
/evaluer/
/fenetres/
/heritagestyletouslesnodesmini.png /heritagestyletouslesnodesmini.png
/heritagestyletrue.png /heritagestyletrue.png
/heritagestyletruemini.png /heritagestyletruemini.png

View File

@ -63,6 +63,7 @@ public class commandes {
public static boolean badCommand = false ; //erreur dans les commandes public static boolean badCommand = false ; //erreur dans les commandes
public static boolean noNote =false; // pas de note dans les feedbacks public static boolean noNote =false; // pas de note dans les feedbacks
public static boolean noDetail = false; // pas de détail dans les feedbacks public static boolean noDetail = false; // pas de détail dans les feedbacks
public static boolean noAfficheProgression = false; // pas d'affichage dans le feedback du coef. de progression
public static boolean noLogo =false; // pas de logo dans les feedbacks public static boolean noLogo =false; // pas de logo dans les feedbacks
public static boolean newLogo=false; // un nouveau logo dans le feedback public static boolean newLogo=false; // un nouveau logo dans le feedback
public static boolean licence = false; // affiche la licence public static boolean licence = false; // affiche la licence

View File

@ -226,7 +226,7 @@ public class feedbacks {
fichier.append("Distance minimale de Levenshtein : <span style=\"color:red\">"+ ouvre.getAttributs().get("tolerance_text") + "</span><br>"); fichier.append("Distance minimale de Levenshtein : <span style=\"color:red\">"+ ouvre.getAttributs().get("tolerance_text") + "</span><br>");
if(!commandes.noNote) { if(!commandes.noNote) {
if(!plagiat&&!copiercoller&&!pasAssezDeModification) fichier.append("Méthode : <div class=\"tooltip\"><font color=\"#0000ff\">Progression " + ouvre.getAttributs().get("progression") + "</font><span class=\"tooltiptext\">Explication<br>"+ HTML.imgProgression() +"</span></div> - Pourcentage correcte : " + nodana.retourneFirstEnfantsByName("bodyetnotation").getAttributs().get("proportioncorrect") +"<br>"); if(!plagiat&&!copiercoller&&!pasAssezDeModification) if(!commandes.noAfficheProgression) fichier.append("Méthode : <div class=\"tooltip\"><font color=\"#0000ff\">Progression " + ouvre.getAttributs().get("progression") + "</font><span class=\"tooltiptext\">Explication<br>"+ HTML.imgProgression() +"</span></div> - Pourcentage correcte : " + nodana.retourneFirstEnfantsByName("bodyetnotation").getAttributs().get("proportioncorrect") +"<br>");
if(plagiat || copiercoller || pasAssezDeModification || dateModificationAnterieur) { if(plagiat || copiercoller || pasAssezDeModification || dateModificationAnterieur) {
String AffichageNote = ""; String AffichageNote = "";
if(plagiat) AffichageNote = " Plagiat "; if(plagiat) AffichageNote = " Plagiat ";
@ -236,7 +236,7 @@ public class feedbacks {
fichier.append("Méthode : <div class=\"tooltip\"><font color=\"#0000ff\">Progression " + ouvre.getAttributs().get("progression") + "</font><span class=\"tooltiptext\">Explication<br>"+ HTML.imgProgression() +"</span></div> - Pourcentage correcte : "+ AffichageNote +"<br>"); fichier.append("Méthode : <div class=\"tooltip\"><font color=\"#0000ff\">Progression " + ouvre.getAttributs().get("progression") + "</font><span class=\"tooltiptext\">Explication<br>"+ HTML.imgProgression() +"</span></div> - Pourcentage correcte : "+ AffichageNote +"<br>");
} }
if(baremeABC) { if(baremeABC) {
fichier.append("Barème : <div class=\"tooltip\"><font color=\"#0000ff\">0% → E → " + Math.round(Double.valueOf(notation.getAttributs().get("BorneE"))*100) + "% → D → " + Math.round(Double.valueOf(notation.getAttributs().get("BorneD"))*100) + "% → C → " + Math.round(Double.valueOf(notation.getAttributs().get("BorneC"))*100) + "% → B → " + Math.round(Double.valueOf(notation.getAttributs().get("BorneB"))*100) + "% → A → 100%</font><span class=\"tooltiptext\">Prendre en compte le coefficient de progression.</span></div>"); if(!commandes.noAfficheProgression) fichier.append("Barème : <div class=\"tooltip\"><font color=\"#0000ff\">0% → E → " + Math.round(Double.valueOf(notation.getAttributs().get("BorneE"))*100) + "% → D → " + Math.round(Double.valueOf(notation.getAttributs().get("BorneD"))*100) + "% → C → " + Math.round(Double.valueOf(notation.getAttributs().get("BorneC"))*100) + "% → B → " + Math.round(Double.valueOf(notation.getAttributs().get("BorneB"))*100) + "% → A → 100%</font><span class=\"tooltiptext\">Prendre en compte le coefficient de progression.</span></div>");
} }
} }

View File

@ -17,7 +17,7 @@ public class actEvalPiedPageActive extends AbstractAction{
*/ */
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
{ {
putValue( Action.NAME, "Oui, combien de point?" ); putValue( Action.NAME, "Evaluer l'activation du pied de page" );
putValue( Action.SHORT_DESCRIPTION, "Evaluer l'activation du pied de page" ); putValue( Action.SHORT_DESCRIPTION, "Evaluer l'activation du pied de page" );
putValue( Action.SMALL_ICON, new ImageIcon(create.class.getResource("/resources/piedpageouimini.png")) ); putValue( Action.SMALL_ICON, new ImageIcon(create.class.getResource("/resources/piedpageouimini.png")) );
} }

View File

@ -85,6 +85,7 @@ public class chargeEvaluation {
commandes.sansFeeback = Boolean.valueOf(evaluation.getAttributs().get("sansFeeback")); commandes.sansFeeback = Boolean.valueOf(evaluation.getAttributs().get("sansFeeback"));
commandes.noDetail = Boolean.valueOf(evaluation.getAttributs().get("noDetail")); commandes.noDetail = Boolean.valueOf(evaluation.getAttributs().get("noDetail"));
commandes.noNote = Boolean.valueOf(evaluation.getAttributs().get("noNote")); commandes.noNote = Boolean.valueOf(evaluation.getAttributs().get("noNote"));
commandes.noAfficheProgression = Boolean.valueOf(evaluation.getAttributs().get("noAfficheProgression"));
commandes.zipfeedback = Boolean.valueOf(evaluation.getAttributs().get("zipfeedback")); commandes.zipfeedback = Boolean.valueOf(evaluation.getAttributs().get("zipfeedback"));
commandes.verifHisto2 = Boolean.valueOf(evaluation.getAttributs().get("verifHisto2")); commandes.verifHisto2 = Boolean.valueOf(evaluation.getAttributs().get("verifHisto2"));
commandes.ecritNoteCSV = Boolean.valueOf(evaluation.getAttributs().get("ecritNoteCSV")); commandes.ecritNoteCSV = Boolean.valueOf(evaluation.getAttributs().get("ecritNoteCSV"));

View File

@ -66,22 +66,13 @@ public class creerNouvelleEvaluation {
evaluation.getAttributs().put("sansFeeback", String.valueOf(commandes.sansFeeback) ); evaluation.getAttributs().put("sansFeeback", String.valueOf(commandes.sansFeeback) );
evaluation.getAttributs().put("noDetail", String.valueOf(commandes.noDetail) ); evaluation.getAttributs().put("noDetail", String.valueOf(commandes.noDetail) );
evaluation.getAttributs().put("noNote", String.valueOf(commandes.noNote) ); evaluation.getAttributs().put("noNote", String.valueOf(commandes.noNote) );
evaluation.getAttributs().put("noAfficheProgression", String.valueOf(commandes.noAfficheProgression) );
evaluation.getAttributs().put("zipfeedback", String.valueOf(commandes.zipfeedback) ); evaluation.getAttributs().put("zipfeedback", String.valueOf(commandes.zipfeedback) );
evaluation.getAttributs().put("verifHisto2", String.valueOf(commandes.verifHisto2) ); evaluation.getAttributs().put("verifHisto2", String.valueOf(commandes.verifHisto2) );
evaluation.getAttributs().put("ecritNoteCSV", String.valueOf(commandes.ecritNoteCSV) ); evaluation.getAttributs().put("ecritNoteCSV", String.valueOf(commandes.ecritNoteCSV) );
evaluation.getAttributs().put("newLogo", String.valueOf(commandes.newLogo) ); evaluation.getAttributs().put("newLogo", String.valueOf(commandes.newLogo) );
evaluation.getAttributs().put("noLogo", String.valueOf(commandes.noLogo) ); evaluation.getAttributs().put("noLogo", String.valueOf(commandes.noLogo) );
evaluation.getAttributs().put("analyse_nombres_modifications_simultané_maxi", String.valueOf(commandes.analyse_nombres_modifications_simultané_maxi) ); evaluation.getAttributs().put("analyse_nombres_modifications_simultané_maxi", String.valueOf(commandes.analyse_nombres_modifications_simultané_maxi) );
// // le nom du fichier d'analyse doit correspondre
// if(commandes.sujet.getAttributs().get("analysis_filename")!=null) {
// evaluation.getAttributs().put("analysis_filename",commandes.sujet.getAttributs().get("analysis_filename"));
// evaluation.retourneFirstEnfantsByName("fichier").getAttributs().put("filenameAnalyse", commandes.sujet.getAttributs().get("analysis_filename"));
// }else {
// evaluation.getAttributs().put("analysis_filename",commandes.nameSujet);
// }
evaluation.getAttributs().put("fourniCSV", String.valueOf(commandes.fourniCSV) ); evaluation.getAttributs().put("fourniCSV", String.valueOf(commandes.fourniCSV) );

View File

@ -614,20 +614,18 @@ public class evaluationAttribut {
* @param nameElt : le mon de l'élément évalué. * @param nameElt : le mon de l'élément évalué.
* @return le node retour * @return le node retour
*/ */
private static node evalPiedDePagePasActive(node sujet, node nodeStudent, node retour, String nameElt) { private static node evalPiedDePagePasActive(node sujet, node nodeStudent, node retour, String nameElt) {
if(nodeStudent!=null) { if(nodeStudent!=null) {
String reponseSujet = "non"; String reponseSujet = "non";
String reponseStudent = "non"; String reponseStudent = "non";
if(sujet.getNodes().size()==0) reponseSujet="oui";
if(sujet.getNodes().size()==0) reponseSujet="oui"; if(nodeStudent.getNodes().size()==0) reponseStudent="oui";
if(nodeStudent.getNodes().size()==0) reponseStudent="oui"; retour = evaluationPiedPagePasActive(retour,reponseStudent,reponseSujet , sujet.getAttributs().get("evalPiedPagePasActive"),"Pied page");
}else {
retour = evaluationPiedPagePasActive(retour,reponseStudent,reponseSujet , sujet.getAttributs().get("evalPiedPagePasActive"),"Pied page"); String reponseSujet = "non";
}else { if(sujet.getNodes().size()==0) reponseSujet="oui";
String reponseSujet = "non"; retour = evaluationPiedPagePasActive(retour,null, reponseSujet, sujet.getAttributs().get("evalPiedPagePasActive"),"Pied page");
if(sujet.getNodes().size()==0) reponseSujet="oui"; }
retour = evaluationPiedPagePasActive(retour,null, reponseSujet, sujet.getAttributs().get("evalPiedPagePasActive"),"Pied page");
}
return retour; return retour;
} }
@ -640,20 +638,19 @@ public class evaluationAttribut {
* @param nameElt : le mon de l'élément évalué. * @param nameElt : le mon de l'élément évalué.
* @return le node retour * @return le node retour
*/ */
private static node evalPiedDePageActive(node sujet, node nodeStudent, node retour, String nameElt) { private static node evalPiedDePageActive(node sujet, node nodeStudent, node retour, String nameElt) {
if(nodeStudent!=null) { if(nodeStudent!=null) {
String reponseSujet = "non"; String reponseSujet = "non";
String reponseStudent = "non"; String reponseStudent = "non";
if(sujet.getNodes().size()>0) reponseSujet="oui";
if(sujet.getNodes().size()>0) reponseSujet="oui"; if(nodeStudent.getNodes().size()>0) reponseStudent="oui";
if(nodeStudent.getNodes().size()>0) reponseStudent="oui"; retour = evaluationPiedPageActive(retour,reponseStudent,reponseSujet , sujet.getAttributs().get("evalPiedPageActive"),"Pied page");
retour = evaluationPiedPageActive(retour,reponseStudent,reponseSujet , sujet.getAttributs().get("evalPiedPageActive"),"Pied page"); }else {
}else { String reponseSujet = "non";
String reponseSujet = "non"; if(sujet.getNodes().size()>0) reponseSujet="oui";
if(sujet.getNodes().size()>0) reponseSujet="oui"; retour = evaluationPiedPageActive(retour,null, reponseSujet, sujet.getAttributs().get("evalPiedPageActive"),"Pied page");
retour = evaluationPiedPageActive(retour,null, reponseSujet, sujet.getAttributs().get("evalPiedPageActive"),"Pied page"); }
} return retour;
return retour;
} }

View File

@ -147,6 +147,20 @@ public class attributs extends JFrame {
} }
}); });
JButton btndeverouilleValeurs = new JButton("Déverouille les valeurs");
btndeverouilleValeurs.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
for(int i = 0 ; i<Leslabels.size();i++) {
if(listeAttributWriterValeurPasModifiable.isNotModifiable(Leslabels.get(i).getText())) {Lesvaleurs.get(i).setEnabled(true);LesBoutonsSuppr.get(i).setEnabled(false);}
if(listeAttributWriterPasEvaluableAvecCodeEvaluateur.isNotEvaluable(Leslabels.get(i).getText())) {Lesevaluer.get(i).setEnabled(true);Lespoints.get(i).setEnabled(false);}
// Important
//exception avec text:section et son attribut text:name qui doit être évaluable
if(nod.getNomElt().equals("text:section") && Leslabels.get(i).getText().equals("text:name")) {Lesvaleurs.get(i).setEnabled(true);Lesevaluer.get(i).setEnabled(true);Lespoints.get(i).setEnabled(true);}
}
}
});
panelBas.add(btndeverouilleValeurs);
panelBas.add(btnAddAttribut); panelBas.add(btnAddAttribut);
panelBas.add(btnNewButton); panelBas.add(btnNewButton);

View File

@ -571,7 +571,7 @@ public final class create extends JFrame {
btnEvalPiedPageActivetrue.setEnabled(true); btnEvalPiedPageActivetrue.setEnabled(true);
}else { }else {
btnEvalPiedPagePasActivetrue.setEnabled(true); btnEvalPiedPagePasActivetrue.setEnabled(true);
} }
} }
if(listeDesNodesTabStop.AlignementDefaut(nod)) { if(listeDesNodesTabStop.AlignementDefaut(nod)) {
btnevalTABAlignementAGauchetrue.setEnabled(true); btnevalTABAlignementAGauchetrue.setEnabled(true);

View File

@ -86,6 +86,7 @@ public class evaluate extends JFrame {
private static JCheckBox chckbxVerif; private static JCheckBox chckbxVerif;
private static JCheckBox chckbxNewLogo; private static JCheckBox chckbxNewLogo;
private static JCheckBox chckbxNoDetail; private static JCheckBox chckbxNoDetail;
private static JCheckBox chckPasDeProgression = new JCheckBox("Ne pas afficher le coef. de progression");
private static afficheText txtpnmessages; private static afficheText txtpnmessages;
private JButton btnChargeEvaluation = new JButton(); private JButton btnChargeEvaluation = new JButton();
private JButton btnSaveEvaluation = new JButton(); private JButton btnSaveEvaluation = new JButton();
@ -181,6 +182,20 @@ public class evaluate extends JFrame {
} }
} }
}); });
panelBoutons.add(chckPasDeProgression, "cell 1 0");
chckPasDeProgression.setSelected(commandes.noAfficheProgression);
chckPasDeProgression.addChangeListener(new ChangeListener() {
public void stateChanged(ChangeEvent e) {
if(chckPasDeProgression.isSelected()) {
commandes.noAfficheProgression=true;
}else {
commandes.noAfficheProgression=false;
}
}
});
lblImageDossierEtudiant = new JLabel(imgDossierEtudiant); lblImageDossierEtudiant = new JLabel(imgDossierEtudiant);
panelBoutons.add(lblImageDossierEtudiant, "flowx,cell 0 1,alignx left,aligny center"); panelBoutons.add(lblImageDossierEtudiant, "flowx,cell 0 1,alignx left,aligny center");
chckbxfichiersEtudiants.setFont(new Font("Tahoma", Font.PLAIN, 12)); chckbxfichiersEtudiants.setFont(new Font("Tahoma", Font.PLAIN, 12));
@ -258,6 +273,8 @@ public class evaluate extends JFrame {
}); });
lblnozip = new JLabel(""); lblnozip = new JLabel("");
lblnozip.setIcon(new ImageIcon(evaluate.class.getResource("/resources/zipstudent.png"))); lblnozip.setIcon(new ImageIcon(evaluate.class.getResource("/resources/zipstudent.png")));
panelBoutons.add(lblnozip, "cell 0 5"); panelBoutons.add(lblnozip, "cell 0 5");
@ -737,6 +754,7 @@ public class evaluate extends JFrame {
chckbxNoLogo.setEnabled(false); chckbxNoLogo.setEnabled(false);
chckbxVerif.setEnabled(false); chckbxVerif.setEnabled(false);
chckbxNoDetail.setEnabled(false); chckbxNoDetail.setEnabled(false);
chckPasDeProgression.setEnabled(false);
}else { }else {
chckbxfichiersEtudiants.setSelected(commandes.fichierStudentMoodle); chckbxfichiersEtudiants.setSelected(commandes.fichierStudentMoodle);
chckbxZipfeedback.setSelected(commandes.zipfeedback); chckbxZipfeedback.setSelected(commandes.zipfeedback);
@ -746,6 +764,7 @@ public class evaluate extends JFrame {
chckbxNoNote.setSelected(commandes.noNote); chckbxNoNote.setSelected(commandes.noNote);
chckbxVerif.setSelected(commandes.verifHisto2); chckbxVerif.setSelected(commandes.verifHisto2);
chckbxNoDetail.setSelected(commandes.noDetail); chckbxNoDetail.setSelected(commandes.noDetail);
chckPasDeProgression.setSelected(commandes.noAfficheProgression);
chckbxfichiersEtudiants.setEnabled(true); chckbxfichiersEtudiants.setEnabled(true);
chckbxZipfeedback.setEnabled(true); chckbxZipfeedback.setEnabled(true);
@ -756,7 +775,8 @@ public class evaluate extends JFrame {
chckbxNoLogo.setEnabled(true); chckbxNoLogo.setEnabled(true);
chckbxVerif.setEnabled(true); chckbxVerif.setEnabled(true);
chckbxNoDetail.setEnabled(true); chckbxNoDetail.setEnabled(true);
chckPasDeProgression.setEnabled(true);
if(commandes.fourniCSV) { if(commandes.fourniCSV) {
lblChargementFichierCSV.setBackground(new Color(40,180,40)); lblChargementFichierCSV.setBackground(new Color(40,180,40));
lblChargementFichierCSV.setText("Liste des étudiants"); lblChargementFichierCSV.setText("Liste des étudiants");

View File

@ -5,8 +5,13 @@ import cXML.node;
public class listeDesNodesPourEvaluerPiedDePage { public class listeDesNodesPourEvaluerPiedDePage {
public static Boolean isPiedDePage(node nod) { public static Boolean isPiedDePage(node nod) {
if(nod.getNomElt().equals("style:footer-style")) return true; String nameNode = nod.getNomElt();
return false; switch (nameNode) {
case "style:footer-style": return true;
default:
return false;
}
} }
} }