From b2e0966f5f90ab071cb112506bc74bc719953463 Mon Sep 17 00:00:00 2001 From: pablo rodriguez <58742538+1-pablo-rodriguez@users.noreply.github.com> Date: Tue, 25 Jun 2024 16:12:41 +0200 Subject: [PATCH] MAJ V2.0.1 --- bin/fenetres/evaluate$1.class | Bin 1370 -> 1370 bytes bin/fenetres/evaluate$10.class | Bin 1732 -> 1732 bytes bin/fenetres/evaluate$11.class | Bin 1518 -> 1518 bytes bin/fenetres/evaluate$12.class | Bin 891 -> 887 bytes bin/fenetres/evaluate$13.class | Bin 872 -> 868 bytes bin/fenetres/evaluate$14.class | Bin 875 -> 871 bytes bin/fenetres/evaluate$15.class | Bin 876 -> 872 bytes bin/fenetres/evaluate$16.class | Bin 866 -> 862 bytes bin/fenetres/evaluate$17.class | Bin 870 -> 866 bytes bin/fenetres/evaluate$18.class | Bin 868 -> 898 bytes bin/fenetres/evaluate$19.class | Bin 866 -> 0 bytes bin/fenetres/evaluate$2.class | Bin 1666 -> 1662 bytes bin/fenetres/evaluate$20.class | Bin 898 -> 0 bytes bin/fenetres/evaluate$3.class | Bin 2559 -> 2555 bytes bin/fenetres/evaluate$4.class | Bin 1828 -> 1824 bytes bin/fenetres/evaluate$5.class | Bin 2138 -> 2130 bytes bin/fenetres/evaluate$6.class | Bin 1572 -> 1572 bytes bin/fenetres/evaluate$7.class | Bin 1306 -> 1306 bytes bin/fenetres/evaluate$8.class | Bin 1054 -> 1054 bytes bin/fenetres/evaluate$9.class | Bin 1810 -> 1810 bytes bin/fenetres/evaluate.class | Bin 11089 -> 14200 bytes bin/fenetres/mainApp$1.class | Bin 709 -> 709 bytes bin/fenetres/mainApp$2.class | Bin 1281 -> 1268 bytes bin/fenetres/mainApp.class | Bin 6947 -> 6797 bytes src/baseEvaluation/chargeEvaluation.java | 9 +- .../validatorBaseEvaluation.java | 15 + .../chargeListeEtudiants.java | 31 ++ src/fenetres/chargeBaseAuDemarrage.java | 1 + src/fenetres/evaluate.java | 335 ++++++++---------- src/fenetres/mainApp.java | 49 ++- 30 files changed, 226 insertions(+), 214 deletions(-) delete mode 100644 bin/fenetres/evaluate$19.class delete mode 100644 bin/fenetres/evaluate$20.class create mode 100644 src/baseEvaluation/validatorBaseEvaluation.java create mode 100644 src/baseListesEtudiants/chargeListeEtudiants.java diff --git a/bin/fenetres/evaluate$1.class b/bin/fenetres/evaluate$1.class index 9fffc4269b8ccffced74d248b7ef4a42f19f8163..ba7b04ee7c25c693cc3d2b1adf06e3427acbf543 100644 GIT binary patch delta 47 zcmV+~0MP&13fc;=yaXNJ00{x)038A403`wD0678Y07L=k089bt09paxli36~0q~O& F1xR~54|@Or delta 47 zcmV+~0MP&13fc;=yaXM?00{xe0389z03`v+0678607L=I089bR09paVli36~0o0Qc F1xRGj4u1du diff --git a/bin/fenetres/evaluate$10.class b/bin/fenetres/evaluate$10.class index 576c88cd7acd348ace3aa78bf9df3358a0cfaa4a..ec1ed8a6ee1b23a6353efd66c8054408f135d586 100644 GIT binary patch delta 61 zcmX@YdxUqxRaP;kvkaU}mly<@E;FbyU16|fy2{|lbawJ<)+jNiTMW!hw;6bu?l1^2 R-32PS#~{u0U~)8DCIC4;5ySuh delta 61 zcmX@YdxUqxRaP-(CI(Jsb_PLa4hB_bP6kV6E(S+trpd2aqr{l`8JL*`7HrA>?*I`3@Bk$O@c=mj@&H5v^8ic&^Z;4{>XTXpLJ9)- P00aX001E>8lcoho1Kbg{ delta 57 zcmaFI{f>Ks4XYfpJOd}Q3WFfCDuXJs8iOUXI)e+d27?c?CPNgn{NyNBCoX1P1{P*L M25x5k$;((h02k^B2LJ#7 diff --git a/bin/fenetres/evaluate$12.class b/bin/fenetres/evaluate$12.class index 5a45db149c8c0de63b8de4cd758fb11e5cadce3e..c80b0d45c35eecfb971952f09d9fd0e6fffa610a 100644 GIT binary patch delta 95 zcmey(_ML4*F(XrE;^tDuAV$XW$tRfPxsn+e8JHLt7(_Qs{>r3mR>{E0P{qK@P|YB~ oP{Sa?P{$wyloW#~VGst2fPg52CW97Gqc)Ju!oVaj*^gNl0N>^hJOBUy delta 99 zcmey)_M2@(F(XrA=H^nyAV$Wl$tRfP`O+B}8JHLt7$mi}Fz{@d{EqLWG`l205a4M`Tzg` diff --git a/bin/fenetres/evaluate$13.class b/bin/fenetres/evaluate$13.class index 93e312c371c1e3df39e2dab4e2df596ff1ef0b40..7d57c45e2492acac04c5bdffbe3101a2b1aa5459 100644 GIT binary patch delta 87 zcmaFC_JnQ27AD5t$y=G^xsn+e8JHLt7(_Qse#E3~*3ZDnFoA)WVIqS7!z2a~hA9j} gKuIx(5(Z(Q2ndKWXfkL4HEILdEDTHnldYL`0UtRHTL1t6 delta 91 zcmaFD_JVE07AD4q$y=G^`O+B}8JHLt7$mi}Fz{@de2+=ltcih_p_xIDp@l(&p_M^` kp`Aeps6Y&&j6oPE3IdW0nhaV%&DuaV3j>qLWOHU+0BL*<82|tP diff --git a/bin/fenetres/evaluate$14.class b/bin/fenetres/evaluate$14.class index 39329e9a1f7f8cfe2b5f4ef372eb130ca85a39c8..2044c93e84947686112233b12e208855980fb0aa 100644 GIT binary patch delta 87 zcmaFO_MC0Qb|%IJlXo!5b0sq{GB7bPFoI(P_s6W&BDMWGTDk*7XXI`4xIo1 diff --git a/bin/fenetres/evaluate$15.class b/bin/fenetres/evaluate$15.class index 23cf0b63e08641693232b811174f68d84c8a161f..926af18de34e8374bdd138e7aeef2355e9489cb2 100644 GIT binary patch delta 87 zcmaFE_JVE04kpHRlXo)7b0sq{GB7bPFoh9wMw3`-eA7?v?e lFsxt@0xA%LC}R)?ih_V7gC>I(P_s6W&BDMWGTEA07XX^s4)*{6 diff --git a/bin/fenetres/evaluate$16.class b/bin/fenetres/evaluate$16.class index f30a48d2cdbda0e5fb9ad71754fda735d5c9eb83..05d1ad84df54e990e3b35a5aeab96abcbf1df8fc 100644 GIT binary patch delta 87 zcmaFFc8_htIwrTlh-rJ^QAK|GB7bPFi2``Vc^*^`394+*+vFlhD{8D44WB57`8A- lFl=KG0xA%LC}R)?ih_V7gC>I(P_s6W&BDMWGTD$>7XY014-WtU diff --git a/bin/fenetres/evaluate$17.class b/bin/fenetres/evaluate$17.class index 37725d053d2d9288c54d16fd9df5f1c7b4613cd5..8cc3e6d1d3d174129cf0f82f01df81817400f75e 100644 GIT binary patch delta 113 zcmaFH_K0o6CMK;@3_=VH3_J{sK$43=m_YP t;AA+uwT36#fQ~rQ4+!q}0}Gv7$n2izfasL2VkW5kp%|4Nd$vz_d(VW^iW!^-+8a z6L0Z{58y)?&j2QxHf}OI=QiK@&gJK??>_)+W6MK~A$u&8u#qrjG2mgJTT!@s-$R07 z<&+P2nGY>_gtFx$soHwD)8;)ZB8H^xNK?4OaIt;{qC)NmQc3%WAy+)dUurNUs=6(v zz%U))0+K%BNC)sR!w@gJfZ4iKV!z*Qis&V8hJqne*DW44cqE-ZF(w=l%5ydiRYFYC z!x8ansEt%746DWZxs~m@Dl4T%3ORU%tGU`5-Jk-SK;a`lZ zy4%yrF&VQAIl&w>Petn=%b|@3zf!A}YCiH<^Kgx@&kQ2Kb=Oa?Elp1w>frRa8KYWh z#Q*CAb?(se*6Tgqn{?Vg)cvR>o=7)~^q+m%as|`0c2#TK;yqzIx*cG{rJkuvV`;^r zotEnaLr_zsRYPu!ps}U)g|Sbyu~Y>Oo;H)s&AELbDMrUbitJM)-6P#u{Pm5`^!tk7 z<0xj9{z-}f%VCb>z{&72j||y*YZtvPj?-i7^yWqB}v=tm8IGJ_R{G?%SjjL;g1# C9n;JJ literal 868 zcmZ`%U2hUW6g|TtTh^t}7Af_sSg8WlZkzaEg3&}$qh^Z_7#{jIEK}IB>>6gE{1tzJ z&&H~W5B>m+AMpnn?*KJz&`oCM-aB{CJ?Gx}^83?g0FSV1BF2zC6roT9AssQ|!H_Fa z+`Vri&X76cBklw|>^Lu4N5WGk5)1_$9Xs;ar??o2P&u_Osu)$#YvLOQMz95FA z{ve4WZkgC*SR}=s<3;^G58Fc8xQ!Bn8J<>V2MmmQvwn`j*_lmc5$A^DUT>ejnl;X9 zM8kn6p7^@8sndtCt$9-O_d+j-B+Y+csBT2G>}Mejz7}vP1@(KOE~I)INreK<(4chz zER)frq=y%ym4rpni)7s+Uq`IU)_d5Mk63&=$yuU3K{>!zEYogJYzr&Ml1Dv5ZidjI zQzNWZPGFy4^#iWGh82H@n{QwmbZ9^W8ZbvhfNx0QJNZ8d>L<oH`yH}lxQp#cERQrCva}RURDV0PV#xmi(@ex! diff --git a/bin/fenetres/evaluate$19.class b/bin/fenetres/evaluate$19.class deleted file mode 100644 index 2327a1d8e58086896bf945e74908eb1151d4788f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 866 zcmZ`%-EI;=7(K(TY+08=Tcp&#Vnqe2-8S*YU^J1`sM+ELhKt?}%LrSRUBe8>tM~+7 z8>=Q>_yE3v@h3is@f$$X2Hj--zWMfi=bUdo|N8g|zaKx1; z?cK3pGGveVn7bj5y6)5Vk?@s;Btub0C$4-MP+W{fq}+Osa)cL1MNmVAr0NB-w9ByO zEr8eP`fd;f>K;SB{Ez!ei@~hN9gzY<+JS{78wN5CQphqGWu1`mf=Dz*gSHqxQO8eiqt`a#u>0| zRyUHKU4ljmHbu|U?lzru#IA0?gH!#0226;ug& ioBlA7$Qd->q=3cmr4Xv5P0 diff --git a/bin/fenetres/evaluate$2.class b/bin/fenetres/evaluate$2.class index 08f432180dcdacfc4d72e6465bc48d6236db098a..3d220dc927f95ab1b3b63bc68a515df29a6ac438 100644 GIT binary patch delta 123 zcmZqT{l~N6Fstl$22RF546=-W8B`hnF<3JGXK-O+VDMpLWQbz?KKTKwyl)T#6A&^m z2<>L@-Ok{@gCSrOL$FZfHiqbpKv5sFstls22REY46=+58B`e`F<3G_W^iGA!r;UBlp%`o_T&ew@*-gjOhCxM zAhw&qcRPc>))of-ZIk)gBvlw+F|aYdX5eLf!ywA|mcaw02BMO|lfetf1M(;Puo(dW D9iuwT36#fP%OP8e=q|{5bSW%(1r7`|PZ5phRhPIj-n)q*kX_>m6!JPrrNAWF8 zyu}|rfDdIn1DI&qxXJ9C+kEFcm!H4B{{XOs4G%Gf+_6x?M#5CYfQNlnf<0X)nw#7izOTl1`r(6OIVwIiH3qAtssO zh@UDO_go zUW|P{u42iq%wzpl794&$$u-uHy#7yy@y;O{-%Wojs8})Wqn~UyN${ ztf!S@GG-Zaf;niNiuOO2LmLr(wO%jReH5_b;U;098$^IxuAg2pk9^blN}E{irRTN;iwlpMBYI1=F;4RD0awJz=}L6JX7yo@q#9X~m-L zw(A5#P*n?9(JYAl+H~)wR#``- zC}x)aNs0lR!W_wgli_0?S-NRIk((gAB3y^Cz_JV3#dz`?u6!V*Pw>BB*@4C3z-Al` zmO_S2BgfJs(ERw}1e739#BGATGkV2xNZ>AsF_ciIJ3-Z~;vPvp1vx(MTc;C4;WyPQ B(|P~^ diff --git a/bin/fenetres/evaluate$3.class b/bin/fenetres/evaluate$3.class index 11a3fe4e56cef033777cdc9d811e77b6e5c81cd5..5970bd7bd26a0603229f9865985dbdb2338322f9 100644 GIT binary patch delta 161 zcmXAhI}QP100zfL@o%BAiT7*6ig#!vN(ols1X@~&LLuQ6TM#ZmBPvI64^i+Znn|XZ z`MMwXdNM^NaFn8;G`=znm1V3PbLCkm5#CM7c@rZF9Kx5`tsWe2R-#NS2gE@hMir8( ul9!LC8a37FszIP8OSM?5%|;z|>aka!scp;uDFHKUcF&m$5e(b#>5P6RCm1pS delta 165 zcmXAizYf7r9EHF8D{-%=l4A0AU@#aZMhR;01XhbhV(i8{bRfJ0iFEKV9-~W9H?f@L ze98Gv>SzA#tlKKVsFap^(^nrR>dQ=JtOV97iDKO`A96UrF?#86JAB~9obDDl%x#Ww zLGoxR&=5^i3_U3_kP;(t38c(MJa$rHFI7URagaI-yY2qP1T1Z{7hJfa(1g*`On=az B9pV50 diff --git a/bin/fenetres/evaluate$4.class b/bin/fenetres/evaluate$4.class index 25be4aadcb0dd2422f0f30b60e53785062d2868a..8957f1888e939932851be76e3afc29d90eae5038 100644 GIT binary patch delta 173 zcmXAi%?g455QINh(IOD)5Exje9>PPvl#1FR=nx$`L|yvx5qbzu-8%FDrQq|m5Cgk2 zyTi=eeYv05_5+$S!j~~anGnd7h0Mrg&Q5~jWDg!WqJX|tk(w3jl1UnF|J2>QdNGJD24@Br aAP=aYp`M|EfsvsR$Of9oFEv?@Lk9qrwH7Y` delta 139 zcmca4a7$oA2D@Y@11D1-gCJ8sgDTSm1_P#v3>Hk27~GgTCpWUoEA}$5FfcJNFj#M5 zaG%K_ptXg8e+z@}Hip3E3`$_m4&{p@D&sp%KUink+0gS&c&n0D{39{r~^~ diff --git a/bin/fenetres/evaluate$6.class b/bin/fenetres/evaluate$6.class index 473633974165a37844e9fa8bdc2205abefb283e7..df121fa058dc93c21eb75a3cff3b077e0fb9c581 100644 GIT binary patch delta 55 zcmZ3&vxH|uBCBjZ11D1ngCJ8WgDO)QgC$crg9}pygAY?BLljf~05}4~07e44lbHlK0n3xp1V{-z B4730M diff --git a/bin/fenetres/evaluate$8.class b/bin/fenetres/evaluate$8.class index 9e14542bc0f17f2579f1fcb4c748e09637af69c7..324dff53e9dba8018effe1238645dcfdcdfa8375 100644 GIT binary patch delta 35 rcmbQoF^^+I53}GL22Q4h41!FH7*v@SGw3qSnLL--f^pU4Ys?-1tTPGu delta 35 rcmbQoF^^+I53}G!22Q4H41!G88C02WFz7N}oIID=g7N<3Ys?-1z~>7$ diff --git a/bin/fenetres/evaluate$9.class b/bin/fenetres/evaluate$9.class index a91c84e333a49f7ea2c0a65035077bc874855fd5..a6613d2fb890e487a933c991516d4a78250d78ff 100644 GIT binary patch delta 59 zcmV-B0L1^24w4SAO9maW00{!N01*PW03`yr067A=07L@1089eA09pdElV}D^4Zi>e R0>S_c0>l6m0>zWT22smj55E8a delta 59 zcmV-B0L1^24w4SAO9mb000{!?01*Q003`zL067Bg07L@s089e#09pd(lV}D^4fFs8 R0`~w60{H+G0{WA|22l~x5<36@ diff --git a/bin/fenetres/evaluate.class b/bin/fenetres/evaluate.class index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B!{@_?@p||u-UvU-_Yf8EA5%Fb{G6n9&geiy zGU76t_J=zqE7!BPJ$#eg%U*~W#U+PViS}ujT$g9>!_bT3NdaN02_2II>{ZFS&~7;> zhfp0_A~`uM_n{_qT&m@M<|l(vo*^=G5ur@$index && index >= 0 ) { + commandes.nodeCSV = commandes.listesEtudiants.getEnfants().get(index); + commandes.fourniCSV=true; + }else { + commandes.nodeCSV = null; + commandes.fourniCSV=false; + } + } + } + + public static void chargeDansLeNodeCSVListeEtudiants(String nameListe) { + if(commandes.listesEtudiants!=null) { + if(commandes.listesEtudiants.getEnfants().size()>0) { + commandes.nodeCSV = commandes.listesEtudiants.retourneFirstEnfant("fileCSV", "nameListStudent", nameListe); + if(commandes.nodeCSV!=null) { + commandes.fourniCSV=true; + }else { + commandes.fourniCSV=true; + } + } + } + } + +} diff --git a/src/fenetres/chargeBaseAuDemarrage.java b/src/fenetres/chargeBaseAuDemarrage.java index b0b7019..8437206 100644 --- a/src/fenetres/chargeBaseAuDemarrage.java +++ b/src/fenetres/chargeBaseAuDemarrage.java @@ -22,6 +22,7 @@ import javax.swing.event.ListSelectionEvent; import javax.swing.event.ListSelectionListener; import actions.actOpenBaseEvaluation; +import baseEvaluation.chargeEvaluation; import baseEvaluation.myTableBaseEvaluation; import net.miginfocom.swing.MigLayout; diff --git a/src/fenetres/evaluate.java b/src/fenetres/evaluate.java index a82f955..8ba6902 100644 --- a/src/fenetres/evaluate.java +++ b/src/fenetres/evaluate.java @@ -19,17 +19,19 @@ import javax.swing.JMenu; import javax.swing.JMenuBar; import javax.swing.JOptionPane; import javax.swing.JPanel; +import javax.swing.JScrollBar; import javax.swing.JScrollPane; import javax.swing.JToolBar; import javax.swing.KeyStroke; import javax.swing.SwingConstants; +import javax.swing.SwingUtilities; import javax.swing.border.EmptyBorder; import javax.swing.event.ChangeEvent; import javax.swing.event.ChangeListener; import actions.actAbout; import net.miginfocom.swing.MigLayout; - +import calc.*; public class evaluate extends JFrame { @@ -45,21 +47,32 @@ public class evaluate extends JFrame { */ private JToolBar toolBar; private JPanel contentPane; - private JLabel lblPath; - private JLabel lblFileAnalyse; - private JLabel lblFichierCSV; - private JLabel lblFichierSVG; - private JCheckBox chckbxfichiersEtudaints; - private JCheckBox chckbxZipfeedback; - private JCheckBox chckbxnoFeedback; - private JCheckBox chckbxNoNote; - private JCheckBox chckCSVNotes; - private JCheckBox chckbxNoLogo; - private JCheckBox chckbxVerif; - private JCheckBox chckbxNewLogo; - private afficheText txtpnmessages; - - + private static JLabel lblPath; + private static JLabel lblFileAnalyse; + private static JLabel lblListe; + private static JLabel lblFichierCSV; + private static JLabel lblFichierSVG; + private static JLabel lblImageDossierEtudiant; + private static JLabel lblNoFeedBack; + private static JLabel lblNoDeatail; + private static JLabel lblnonote; + private static JLabel lblnozip; + private static JLabel lblVerifHistorique; + private static JLabel lblCsvNote; + private static JLabel lblNameEvaluation; + private static JCheckBox chckbxfichiersEtudiants; + private static JCheckBox chckbxZipfeedback; + private static JCheckBox chckbxnoFeedback; + private static JCheckBox chckbxNoNote; + private static JCheckBox chckCSVNotes; + private static JCheckBox chckbxVerif; + private static JCheckBox chckbxNoDetail; + private static JCheckBox chckPasDeProgression ; + private static afficheText txtpnmessages; + private static evaluate instance; + private static JScrollPane scrollPane = new JScrollPane(); + private static JScrollBar verticalScrollBar = scrollPane.getVerticalScrollBar(); + public static boolean isDispose = true; /** * Create the frame. @@ -102,19 +115,19 @@ public class evaluate extends JFrame { lblFileAnalyse.setFont(new Font("Tahoma", Font.BOLD, 14)); panelWest.add(lblFileAnalyse, "flowy,cell 0 1,alignx left,growy"); - chckbxfichiersEtudaints = new JCheckBox("Les fichiers ne sont pas dans des dossiers nominatifs"); - chckbxfichiersEtudaints.addChangeListener(new ChangeListener() { + chckbxfichiersEtudiants = new JCheckBox("Les fichiers ne sont pas dans des dossiers nominatifs"); + chckbxfichiersEtudiants.addChangeListener(new ChangeListener() { public void stateChanged(ChangeEvent e) { - if(chckbxfichiersEtudaints.isSelected()) { + if(chckbxfichiersEtudiants.isSelected()) { calc.commandes.fichierStudentMoodle=true; }else { calc.commandes.fichierStudentMoodle=false; } } }); - chckbxfichiersEtudaints.setFont(new Font("Tahoma", Font.PLAIN, 12)); - chckbxfichiersEtudaints.setToolTipText("Cochez si les fichiers des étudiants ne sont pas dans des dossier nominatifs"); - panelWest.add(chckbxfichiersEtudaints, "flowy,cell 0 2,grow"); + chckbxfichiersEtudiants.setFont(new Font("Tahoma", Font.PLAIN, 12)); + chckbxfichiersEtudiants.setToolTipText("Cochez si les fichiers des étudiants ne sont pas dans des dossier nominatifs"); + panelWest.add(chckbxfichiersEtudiants, "flowy,cell 0 2,grow"); lblFichierCSV = new JLabel("Fichier CSV liste des étudiants :"); lblFichierCSV.setFont(new Font("Tahoma", Font.BOLD, 14)); @@ -199,33 +212,6 @@ public class evaluate extends JFrame { chckbxVerif.setFont(new Font("Tahoma", Font.PLAIN, 12)); panelWest.add(chckbxVerif, "cell 0 2,grow"); - chckbxNewLogo = new JCheckBox("Nouveau logo"); - chckbxNewLogo.addChangeListener(new ChangeListener() { - public void stateChanged(ChangeEvent e) { - if(chckbxNewLogo.isSelected()) { - calc.commandes.newLogo=true; - }else { - calc.commandes.newLogo=false; - } - } - }); - chckbxNewLogo.setToolTipText("Cochez si vous voulez remplacer le logo par celui au-dessus."); - chckbxNewLogo.setFont(new Font("Tahoma", Font.PLAIN, 12)); - panelWest.add(chckbxNewLogo, "cell 0 6"); - - chckbxNoLogo = new JCheckBox("Pas de logo"); - chckbxNoLogo.addChangeListener(new ChangeListener() { - public void stateChanged(ChangeEvent e) { - if(chckbxNoLogo.isSelected()) { - calc.commandes.noLogo=true; - }else { - calc.commandes.noLogo=false; - } - } - }); - chckbxNoLogo.setToolTipText("Cochez si vous voulez pas de logo dans les feedbacks."); - chckbxNoLogo.setFont(new Font("Tahoma", Font.PLAIN, 12)); - panelWest.add(chckbxNoLogo, "cell 0 6"); JPanel panelCentre = new JPanel(); @@ -254,7 +240,38 @@ public class evaluate extends JFrame { } + + /** + * Affichage de la fenêtre. + * @return + */ + public static evaluate getInstance() { + if (instance == null) { + instance = new evaluate(); + }else { + instance.setVisible(true); + } + + if(commandes.fichierAnalyseValide) { + refreshLabel(); + }else { + txtpnmessages.setText(baliseStyle.balise() + "

*** Veuillez charger une évaluation ***


"); + } + positionScrollDebut(); + isDispose=false; + return instance; + } + + public static void positionScrollDebut() { + // Positionne le curseur au début du texte pour que le JScrollPane affiche le haut + SwingUtilities.invokeLater(() -> { + txtpnmessages.setCaretPosition(0); + verticalScrollBar.setValue(verticalScrollBar.getMinimum()); + }); + } + + private void ListenerAction() { /*Some piece of code*/ @@ -290,20 +307,19 @@ public class evaluate extends JFrame { mnMenu_Fichier.add( actOpen ); mnMenu_Fichier.addSeparator(); mnMenu_Fichier.add( actAboutFichierAnalyse ); -// mnMenu_Fichier.add( actCodeFichierAnalyse ); + mnMenu_Fichier.add( actModifierFichierAnalyse ); JMenu mnMenu_Liste_Etudiant = new JMenu("Liste des étudiants"); menuBar.add(mnMenu_Liste_Etudiant); -// mnMenu_Liste_Etudiant.add(actChargeListeEtudiantCSV); + mnMenu_Liste_Etudiant.addSeparator(); -// mnMenu_Liste_Etudiant.add(actAfficheListeEtudiant ); -// mnMenu_Liste_Etudiant.add(actVerifCSV ); + JMenu mnMenu_Logo = new JMenu("Logo"); menuBar.add(mnMenu_Logo); -// mnMenu_Logo.add(actChargeLogo); + JMenu mnMenu_Evaluation = new JMenu("Evaluation des étudiants"); menuBar.add(mnMenu_Evaluation); @@ -327,11 +343,6 @@ public class evaluate extends JFrame { JButton btnSelectFileAnalyse = toolBar.add( actOpen ); btnSelectFileAnalyse.setHideActionText( true ); btnSelectFileAnalyse.setIcon(new ImageIcon(evaluate.class.getResource("/resources/fichierAnalyse.png"))); - - -// JButton btnInformationAnalyse = toolBar.add( actCodeFichierAnalyse ); -// btnInformationAnalyse.setHideActionText(true); -// btnInformationAnalyse.setIcon(new ImageIcon(evaluate.class.getResource("/resources/fichierAnalyseInfo2.png"))); JButton btnAfficheCodeFichierAnalyse = toolBar.add( actAboutFichierAnalyse ); @@ -349,27 +360,11 @@ public class evaluate extends JFrame { JButton btnEvaluerLesFichiers = toolBar.add(actEvaluate); btnEvaluerLesFichiers.setHideActionText(true); -// JButton btnFichierCSV = toolBar.add(actChargeListeEtudiantCSV ); -// btnFichierCSV.setHideActionText(true); -// btnFichierCSV.setIcon(new ImageIcon(evaluate.class.getResource("/resources/fichierCSV.png"))); -// toolBar.add(btnFichierCSV); - -// JButton btnInfoListeEtudiant = toolBar.add(actAfficheListeEtudiant); -// btnInfoListeEtudiant.setIcon(new ImageIcon(evaluate.class.getResource("/resources/fichierCSVInfo.png"))); -// btnInfoListeEtudiant.setHideActionText(true); -// toolBar.add(btnInfoListeEtudiant); - -// JButton btnVerificationCSVavecFichierAnalyse = toolBar.add( actVerifCSV ); -// btnVerificationCSVavecFichierAnalyse.setIcon(new ImageIcon(evaluate.class.getResource("/resources/fichierCSVInfoXML.png"))); -// btnVerificationCSVavecFichierAnalyse.setHideActionText(true); -// toolBar.add(btnVerificationCSVavecFichierAnalyse); + toolBar.addSeparator(); -// JButton btnFichierSVG = toolBar.add(actChargeLogo); -// btnFichierSVG.setHideActionText(true); -// btnFichierSVG.setIcon(new ImageIcon(evaluate.class.getResource("/resources/fichierSVG.png"))); -// toolBar.add(btnFichierSVG); + toolBar.addSeparator(); @@ -406,43 +401,76 @@ public class evaluate extends JFrame { } - /** - * Raffraichi les informations - */ - private void refreshLabel() { - if(!calc.commandes.fichierAnalyseValide) { - } - } -// if(!verificationFichierAnalyse.messageErreur.toString().isEmpty()) -// txtpnmessages.setText(MEPTL.verificationFichierAnalyse.messageErreur.toString()); -// -// chckbxfichiersEtudaints.setEnabled(false); -// chckbxZipfeedback.setEnabled(false); -// chckbxnoFeedback.setEnabled(false); -// chckbxNoNote.setEnabled(false); -// chckCSVNotes.setEnabled(false); -// chckbxNewLogo.setEnabled(false); -// chckbxNoLogo.setEnabled(false); -// chckbxVerif.setEnabled(false); -// }else { -// chckbxfichiersEtudaints.setEnabled(true); -// chckbxZipfeedback.setEnabled(true); -// chckbxnoFeedback.setEnabled(true); -// chckbxNoNote.setEnabled(true); -// chckCSVNotes.setEnabled(true); -// chckbxNewLogo.setEnabled(true); -// chckbxNoLogo.setEnabled(true); -// chckbxVerif.setEnabled(true); -// -// txtpnmessages.afficheChargementFichierAnalyse(); -// } -// -// lblPath.setText("Dossier de l'analyse : " + calc.commandes.path.substring(calc.commandes.path.lastIndexOf("\\")+1,calc.commandes.path.length()) + ""); -// lblFileAnalyse.setText("Fichier de l'analyse : " + calc.commandes.analysis_filename + ""); -// lblFichierSVG.setText("Fichier SVG : " + calc.commandes.nameSVG.substring(calc.commandes.nameSVG.lastIndexOf("\\")+1,calc.commandes.nameSVG.length()) + ""); -// lblFichierCSV.setText("Fichier CSV : " + calc.commandes.nameCSV + ""); - + + + /** + * Raffraichissement des informationss.
+ * Activation des chckBoxs.
+ */ + private static void refreshLabel() { + if(!commandes.fichierAnalyseValide) { + System.out.println( "Erreur du fichier d'analyse" ); +// if(!verificationFichierAnalyse_node_commandesSujet.messageErreur.toString().isEmpty()) { +// txtpnmessages.setText(verificationFichierAnalyse_node_commandesSujet.messageErreur.toString()); +// } + chckbxfichiersEtudiants.setEnabled(false); + chckbxZipfeedback.setEnabled(false); + chckbxnoFeedback.setEnabled(false); + chckbxNoNote.setEnabled(false); + chckCSVNotes.setEnabled(false); + chckbxVerif.setEnabled(false); + chckbxNoDetail.setEnabled(false); + chckPasDeProgression.setEnabled(false); + }else { + chckbxfichiersEtudiants.setSelected(commandes.fichierStudentMoodle); + chckbxZipfeedback.setSelected(commandes.zipfeedback); + chckbxnoFeedback.setSelected(commandes.sansFeeback); + chckCSVNotes.setSelected(commandes.ecritNoteCSV); + chckbxNoNote.setSelected(commandes.noNote); + chckbxVerif.setSelected(commandes.verifHisto2); + chckbxNoDetail.setSelected(commandes.noDetail); + chckPasDeProgression.setSelected(commandes.noAfficheProgression); + chckbxfichiersEtudiants.setEnabled(true); + chckbxZipfeedback.setEnabled(true); + chckbxnoFeedback.setEnabled(true); + chckbxNoNote.setEnabled(true); + chckCSVNotes.setEnabled(true); + chckbxVerif.setEnabled(true); + chckbxNoDetail.setEnabled(true); + chckPasDeProgression.setEnabled(true); + + if(commandes.nodeCSV!=null) { + if(commandes.nodeCSV.getAttributs().get("nameListStudent")==null) { + commandes.nodeCSV.getAttributs().put("nameListStudent","?"); + commandes.nodeCSV.getAttributs().put("year", "?"); + lblListe.setText("Liste ???"); + }else { + lblListe.setText(""+commandes.nodeCSV.getAttributs().get("nameListStudent")+""); + } + }else { + lblListe.setText("Liste ???"); + } + + txtpnmessages.afficheChargementFichierAnalyse(); + } + + String nameEvaluation = commandes.NameEvaluationCharger; + if(nameEvaluation.length()>44) nameEvaluation = nameEvaluation.substring(0, 44) + "
" + nameEvaluation.substring(44, nameEvaluation.length()); + + String nameDossierAnalyse = commandes.path.substring(commandes.path.lastIndexOf("\\")+1,commandes.path.length()); + if(nameDossierAnalyse.length()>44) nameDossierAnalyse = nameDossierAnalyse.substring(0, 44) + "
" + nameDossierAnalyse.substring(44, nameDossierAnalyse.length()); + + String nameFichierAnalyse = commandes.analysis_filename; + if(nameFichierAnalyse.length()>44) nameFichierAnalyse = nameFichierAnalyse.substring(0, 44) + "
" + nameFichierAnalyse.substring(44, nameFichierAnalyse.length()); + + if(commandes.NameEvaluationCharger!=null) lblNameEvaluation.setText("Évalution :
"+ nameEvaluation +""); + if(commandes.path!=null) lblPath.setText("

Dossier de l'analyse :
" + nameDossierAnalyse + "


"); + if(commandes.analysis_filename!=null) lblFileAnalyse.setText("Fichier de l'analyse :
" + nameFichierAnalyse + ""); + + } + + /** * @@ -561,87 +589,6 @@ public class evaluate extends JFrame { } }; - - - - - -// /** -// * Gènère un nouveau fichier d'analyse à partir d'un fichier ODF -// */ -// private AbstractAction actNewFichierAnalyse = new AbstractAction() { -// -// private static final long serialVersionUID = 1L; -// -// { -// putValue(Action.LARGE_ICON_KEY, new ImageIcon(evaluate.class.getResource("/resources/fichierODF.png"))); -// putValue( Action.NAME, "Génère un nouveau fichier d'analyse" ); -// putValue( Action.SMALL_ICON, new ImageIcon(evaluate.class.getResource("/resources/fichierODFmini.png")) ); -// putValue( Action.MNEMONIC_KEY, KeyEvent.VK_N ); -// putValue( Action.SHORT_DESCRIPTION, "Générer un nouveau fichier d'analyse (CTRL+N)" ); -// putValue( Action.ACCELERATOR_KEY, KeyStroke.getKeyStroke(KeyEvent.VK_N, InputEvent.CTRL_DOWN_MASK) ); -// } -// -// @Override -// public void actionPerformed( ActionEvent e ) { -// JFileChooser chooser = new JFileChooser(); -// chooser.setDialogTitle("Choisir un fichier ODF"); -// -// chooser.setCurrentDirectory(new java.io.File(calc.commandes.path)); -// chooser.setFileSelectionMode(JFileChooser.FILES_ONLY); -// FileNameExtensionFilter filter = new FileNameExtensionFilter("Format ODF", "odt"); -// chooser.setFileFilter(filter); -// chooser.setAcceptAllFileFilterUsed(true); -// -// if (chooser.showOpenDialog(null) == JFileChooser.APPROVE_OPTION) { -// System.out.println("getCurrentDirectory(): " + chooser.getCurrentDirectory()); -// System.out.println("getSelectedFile() : " + chooser.getSelectedFile().getAbsolutePath()); -// calc.commandes.path = chooser.getCurrentDirectory().getAbsolutePath(); -// calc.commandes.PathFilenameAnalysis = chooser.getSelectedFile().getAbsolutePath(); -// calc.commandes.nameSujet = chooser.getSelectedFile().getName(); -// -// Run b = null; -// try { -// b = new Run(calc.commandes.PathFilenameAnalysis); -// nodeAC nodSujet = Run.XMLContent(b.getLectDossiers().getEC().getListeContentWriter().get(0)); -// -// nodSujet.supprimeTousLesNodesEnfantWithThisName("text:change-start"); //historique des modification -// nodSujet.supprimeTousLesNodesEnfantWithThisName("text:change-end"); -// -// calc.commandes.sujetSauvegarde = nodSujet.clone(); -// -// nodSujet = meptl.LectureFichierEtudiantSousFormeDeNode(nodSujet,b,0); -// nodSujet.getAttributs().put("analysis_filename","sujet.xml"); -// nodSujet = ecritureSujet.nodePourEcritureSujet(nodSujet,b,0); -// Run.ecritureNodeEnXML(nodSujet, "sujet",calc.commandes.path,"Sujet"); -// txtpnmessages.setContentType("text/plain"); -// txtpnmessages.setText(Run.ecritureNode(nodSujet, 0).toString() -// + "\n\n" -// +"\n*************************" -// +"\nLe fichier sujet.xml a été généré dans le dossier :" -// +"\n" + calc.commandes.path -// +"\n*************************"); -// calc.commandes.sujet = nodSujet; -// new verificationFichierAnalyse(); -// -// } catch (ParserConfigurationException | SAXException | IOException | CloneNotSupportedException e1) { -// e1.printStackTrace(); -// } -// -// } else { -// calc.commandes.nameSujet = ""; -// calc.commandes.PathFilenameAnalysis = ""; -// System.out.println("No Selection "); -// calc.commandes.fichierAnalyseValide=false; -// refreshLabel(); -// } -// -// -// calc.commandes.ecritCode = true; -// } -// }; - - /** * Information sur le fichier d'analyse diff --git a/src/fenetres/mainApp.java b/src/fenetres/mainApp.java index 8d17ded..84ec792 100644 --- a/src/fenetres/mainApp.java +++ b/src/fenetres/mainApp.java @@ -18,10 +18,13 @@ import javax.swing.UIManager; import actions.actExit; import baseEvaluation.CreerBaseParDefautEvaluation; +import baseEvaluation.recupeNodeBaseEvaluations; +import baseEvaluation.validatorBaseEvaluation; import baseListesEtudiants.CreerBaseParDefautListesEtudiants; import onLine.verificationNewVersion; +import calc.*; -public class mainApp extends JFrame implements ActionListener{ +public class mainApp extends JFrame { /** @@ -112,7 +115,6 @@ public class mainApp extends JFrame implements ActionListener{ btnCreate.setHorizontalAlignment(SwingConstants.LEFT); btnCreate.setIcon(new ImageIcon(mainApp.class.getResource("/resources/fichierAnalyseModif.png"))); btnCreate.setFont(new Font("Arial", Font.BOLD, 16)); - btnCreate.addActionListener(this); btnCreate.setBounds(10, 208, 494, 60); getContentPane().add(btnCreate); @@ -122,10 +124,15 @@ public class mainApp extends JFrame implements ActionListener{ actCharge.setHorizontalAlignment(SwingConstants.LEFT); actCharge.setIcon(new ImageIcon(mainApp.class.getResource("/resources/evaluate.png"))); actCharge.setBackground(SystemColor.inactiveCaption); - actCharge.addActionListener(this); actCharge.setFont(new Font("Arial", Font.BOLD, 16)); actCharge.setBounds(10, 137, 494, 60); getContentPane().add(actCharge); + if(LaBaseEvaluationsExiste) { + actCharge.setEnabled(!validatorBaseEvaluation.isVide()); + }else { + actCharge.setEnabled(LaBaseEvaluationsExiste); + } + JLabel lblNewLabel = new JLabel(); lblNewLabel.setIcon(new ImageIcon(mainApp.class.getResource("/resources/accueilanalysecalc.png"))); @@ -153,7 +160,7 @@ public class mainApp extends JFrame implements ActionListener{ btnTutoriels.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { try { - String url = "https://www.youtube.com/channel/UCG3tJWp_oZvOumH5kWUJ55g"; + String url = "https://sites.google.com/view/analyseWriter"; java.awt.Desktop.getDesktop().browse(java.net.URI.create(url)); } catch (java.io.IOException e1) { @@ -173,6 +180,27 @@ public class mainApp extends JFrame implements ActionListener{ lblpath.setBounds(10, 340, 494, 30); getContentPane().add(lblpath); + + actCharge.addActionListener(new ActionListener() { + public void actionPerformed(ActionEvent e) { + new recupeNodeBaseEvaluations(); + if(commandes.evaluationsBase!=null) { + new chargeBaseAuDemarrage(); + dispose(); + }else { + evaluate.getInstance(); + dispose(); + } + } + }); + + btnCreate.addActionListener(new ActionListener(){ + public void actionPerformed(ActionEvent e) { + create.getInstance(); + dispose(); + } + }); + addWindowListener(new java.awt.event.WindowAdapter() { @Override public void windowClosing(java.awt.event.WindowEvent windowEvent) { @@ -184,19 +212,6 @@ public class mainApp extends JFrame implements ActionListener{ } - @Override - public void actionPerformed(ActionEvent e) { - if(e.getSource()==btnCreate) { - create.getInstance(); - dispose(); - } - - if(e.getSource()==actCharge) { - new evaluate(); - dispose(); - } - - } }