MAJ V4.5.0
|
@ -2,10 +2,302 @@
|
||||||
/action/
|
/action/
|
||||||
/baseEvaluations/
|
/baseEvaluations/
|
||||||
/calcul/
|
/calcul/
|
||||||
|
/content.svg
|
||||||
|
/copy.png
|
||||||
|
/couleur.png
|
||||||
|
/couleur.svg
|
||||||
|
/couleurmini.png
|
||||||
|
/csvstudent.png
|
||||||
|
/csvstudent.svg
|
||||||
|
/csvstudentmini.png
|
||||||
|
/cut.png
|
||||||
|
/dernierenfant.png
|
||||||
|
/dernierenfant.svg
|
||||||
|
/dernierenfantmini.png
|
||||||
|
/dessin.svgparamètres évaluation et feedback.svg
|
||||||
|
/detailfeedback.png
|
||||||
|
/detailfeedbackmini.png
|
||||||
|
/documentation.pdf
|
||||||
|
/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
|
||||||
|
/evalcalc.png
|
||||||
|
/evalformatagedirect.png
|
||||||
|
/evalformatagedirect.svg
|
||||||
|
/evalformatagedirectmini.png
|
||||||
|
/evalnamepage.png
|
||||||
|
/evalnamepage.svg
|
||||||
|
/evalnamepagemini.png
|
||||||
|
/evalnamesequence.png
|
||||||
|
/evalnamesequence.svg
|
||||||
|
/evalnamesequencemini.png
|
||||||
|
/evalnode.svg
|
||||||
|
/evalnodemini.png
|
||||||
|
/evalnombredepagemaxi.png
|
||||||
|
/evalnombredepagemaxi.svg
|
||||||
|
/evalnombredepagemaximini.png
|
||||||
|
/evalnombredepagemini.png
|
||||||
|
/evalnombredepageminimini.png
|
||||||
|
/evalnumeroabsoluepage.png
|
||||||
|
/evalnumeroabsoluepage.svg
|
||||||
|
/evalnumeroabsoluepagemini.png
|
||||||
|
/evalnumeropage.png
|
||||||
|
/evalnumeropage.svg
|
||||||
|
/evalnumeropageancrage.png
|
||||||
|
/evalnumeropageancrage.svg
|
||||||
|
/evalnumeropageancragemini.png
|
||||||
|
/evalnumeropagemini.png
|
||||||
|
/evalpasparagraphevide.png
|
||||||
|
/evalpasparagraphevide.svg
|
||||||
|
/evalpasparagraphevidemini.png
|
||||||
|
/evaltabalgngauche.png
|
||||||
|
/evaltabalgngauchemini.png
|
||||||
|
/evaltabaligngauche.svg
|
||||||
|
/evaltextuserdefined.png
|
||||||
|
/evaltextuserdefined.svg
|
||||||
|
/evaltextuserdefinedmini.png
|
||||||
|
/evaluate.png
|
||||||
|
/evaluate.svg
|
||||||
|
/evaluatemax.png
|
||||||
|
/evaluatemini.png
|
||||||
|
/evaluatemultiple.png
|
||||||
|
/evaluatemultiple.svg
|
||||||
|
/evaluatemultiplemax.png
|
||||||
|
/evaluatemultiplemini.png
|
||||||
|
/evaluer.png
|
||||||
|
/evaluer.svg
|
||||||
/evaluer/
|
/evaluer/
|
||||||
|
/evaluerFalse.svg
|
||||||
|
/evaluerTrue.svg
|
||||||
|
/evaluerfalse.png
|
||||||
|
/evaluerfalsemini.png
|
||||||
|
/evaluermini.png
|
||||||
|
/evaluerspan.png
|
||||||
|
/evaluerspan.svg
|
||||||
|
/evaluerspanmini.png
|
||||||
|
/evaluerstyle.png
|
||||||
|
/evaluerstyle.svg
|
||||||
|
/evaluerstylemini.png
|
||||||
|
/evaluertouslesenfants.png
|
||||||
|
/evaluertouslesenfants.svg
|
||||||
|
/evaluertouslesenfantsfaux.png
|
||||||
|
/evaluertouslesenfantsfaux.svg
|
||||||
|
/evaluertouslesenfantsfauxmini.png
|
||||||
|
/evaluertouslesenfantsmaxi.png
|
||||||
|
/evaluertouslesenfantsmini.png
|
||||||
|
/evaluertouslesstylesparagraphes.png
|
||||||
|
/evaluertouslesstylesparagraphes.svg
|
||||||
|
/evaluertouslesstylesparagraphesmini.png
|
||||||
|
/evaluertrue.png
|
||||||
|
/evaluertruemini.png
|
||||||
|
/evalwriter.ico
|
||||||
|
/evalwriter.png
|
||||||
|
/evalwriter.svg
|
||||||
|
/evalwriter32.png
|
||||||
|
/exit.png
|
||||||
|
/exit.svg
|
||||||
|
/exitmini.png
|
||||||
|
/expandAll.svg
|
||||||
|
/expandNode.svg
|
||||||
|
/expandall.png
|
||||||
|
/expandallmini.png
|
||||||
|
/expandnode.png
|
||||||
|
/expandnodemini.png
|
||||||
|
/extraireFichierAnalyse.png
|
||||||
|
/extraireFichierAnalyseXML.svg
|
||||||
|
/extraireFichierAnalysemini.png
|
||||||
|
/false.png
|
||||||
|
/false.svg
|
||||||
|
/falsemini.png
|
||||||
|
/feedback.png
|
||||||
|
/feedback.svg
|
||||||
|
/feedbackmini.png
|
||||||
|
/feedbackstudent.png
|
||||||
|
/feedbackstudentmini.png
|
||||||
/fenetres/
|
/fenetres/
|
||||||
|
/fichierAnalyse.png
|
||||||
|
/fichierAnalyseInfo.png
|
||||||
|
/fichierAnalyseInfo2.png
|
||||||
|
/fichierAnalyseInfo2max.png
|
||||||
|
/fichierAnalyseInfo2mini.png
|
||||||
|
/fichierAnalyseInfomax.png
|
||||||
|
/fichierAnalyseInfomini.png
|
||||||
|
/fichierAnalyseModif.png
|
||||||
|
/fichierAnalyseModifmax.png
|
||||||
|
/fichierAnalyseModifmini.png
|
||||||
|
/fichierAnalyseRenomme.png
|
||||||
|
/fichierAnalyseRenommemini.png
|
||||||
|
/fichierAnalysemax.png
|
||||||
|
/fichierAnalysemini.png
|
||||||
|
/fichierCSV.png
|
||||||
|
/fichierCSVInfo.png
|
||||||
|
/fichierCSVInfoXML.png
|
||||||
|
/fichierCSVInfoXMLmax.png
|
||||||
|
/fichierCSVInfoXMLmini.png
|
||||||
|
/fichierCSVInfomax.png
|
||||||
|
/fichierCSVInfomini.png
|
||||||
|
/fichierCSV_delete.png
|
||||||
|
/fichierCSV_deletemini.png
|
||||||
|
/fichierCSVmax.png
|
||||||
|
/fichierCSVmini.png
|
||||||
|
/fichierODF.png
|
||||||
|
/fichierODFmax.png
|
||||||
|
/fichierODFmini.png
|
||||||
|
/fichierSVG.png
|
||||||
|
/fichierSVGmax.png
|
||||||
|
/fichierSVGmini.png
|
||||||
|
/fichier_analyse.svg
|
||||||
|
/fichier_analyseXML info.svg
|
||||||
|
/fichier_analyseXML info1.svg
|
||||||
|
/fichier_analyseXML.svg
|
||||||
|
/fichier_analyse_ODF.svg
|
||||||
|
/fichier_csv_studen_delete.svg
|
||||||
|
/fichier_csv_studen_modif.png
|
||||||
|
/fichier_csv_studen_modif.svg
|
||||||
|
/fichier_csv_studen_modifmini.png
|
||||||
|
/fichier_csv_studen_suppr.svg
|
||||||
|
/fichier_csv_student.svg
|
||||||
|
/fichier_csv_student_info.svg
|
||||||
|
/fichier_csv_student_xml.svg
|
||||||
|
/fichier_svg.svg
|
||||||
|
/fichieretudiant.png
|
||||||
|
/fichieretudiant.svg
|
||||||
|
/fichieretudiantmini.png
|
||||||
|
/fichiergestion.png
|
||||||
|
/fichiergestion.svg
|
||||||
|
/fusionneBaseEvaluation.png
|
||||||
|
/fusionneBaseEvaluation.svg
|
||||||
|
/fusionneBaseEvaluationmini.png
|
||||||
|
/heritagestyle.png
|
||||||
|
/heritagestyle.svg
|
||||||
|
/heritagestylemini.png
|
||||||
|
/heritagestyletouslesnodes.png
|
||||||
|
/heritagestyletouslesnodes.svg
|
||||||
|
/heritagestyletouslesnodesmini.png
|
||||||
|
/indexfigure.png
|
||||||
|
/indexfigure.svg
|
||||||
|
/indexmatiere.png
|
||||||
|
/indexmatiere.svg
|
||||||
|
/information.png
|
||||||
|
/information.svg
|
||||||
|
/informationmaxi.png
|
||||||
|
/informationmini.png
|
||||||
|
/informationmultiple.png
|
||||||
|
/informationmultiple.svg
|
||||||
|
/informationmultiplemini.png
|
||||||
|
/intervalle.png
|
||||||
|
/intervalle.svg
|
||||||
|
/intervallemini.png
|
||||||
|
/legacystyleparentpresent.svg
|
||||||
|
/lesnodesevaluer.png
|
||||||
|
/lesnodesevaluer.svg
|
||||||
|
/lesnodesevaluermaxi.png
|
||||||
|
/lesnodesevaluermini.png
|
||||||
/list/
|
/list/
|
||||||
|
/loadpreference.svg
|
||||||
|
/loadpreferencemini.png
|
||||||
|
/loadpreferences.png
|
||||||
|
/logo analyseWriter accueill.svg
|
||||||
|
/logo.png
|
||||||
|
/logo.svg
|
||||||
|
/marquenode.png
|
||||||
|
/marquenode.svg
|
||||||
|
/marquenodemini.png
|
||||||
|
/menuEvalTousParagraphe.png
|
||||||
|
/menuEvalTousParagraphe.svg
|
||||||
|
/menuEvalTousParagraphemini.png
|
||||||
/menucontextuel/
|
/menucontextuel/
|
||||||
|
/menulegacystyleparentpresent.png
|
||||||
|
/menulegacystyleparentpresentmini.png
|
||||||
|
/meta.png
|
||||||
|
/meta.svg
|
||||||
|
/new.png
|
||||||
|
/newlogo.png
|
||||||
|
/newlogo.svg
|
||||||
|
/newlogomini.png
|
||||||
|
/nocsvstudent.png
|
||||||
|
/nocsvstudentmini.png
|
||||||
|
/nodeFichier.png
|
||||||
|
/nodeFichier_FichierAnalyse.svg
|
||||||
|
/nodeFichiermax.png
|
||||||
|
/nodeFichiermini.png
|
||||||
|
/nodetail.png
|
||||||
|
/nodetail.svg
|
||||||
|
/nodetailfeedback.png
|
||||||
|
/nodetailfeedbackmini.png
|
||||||
|
/nodetailmini.png
|
||||||
|
/nofeedback.png
|
||||||
|
/nofeedbackmini.png
|
||||||
|
/nofeedbackstudent.png
|
||||||
|
/nofeedbackstudent.svg
|
||||||
|
/nofeedbackstudentmini.png
|
||||||
|
/nologo.png
|
||||||
|
/nonewlogo.png
|
||||||
|
/nonewlogomini.png
|
||||||
|
/nonotestudent.png
|
||||||
|
/nonotestudentl.svg
|
||||||
|
/nonotestudentmini.png
|
||||||
|
/notestudent.png
|
||||||
|
/notestudentmini.png
|
||||||
|
/noverifhistoriquestudent.png
|
||||||
|
/noverifhistoriquestudentmini.png
|
||||||
|
/nozipstudent.png
|
||||||
|
/nozipstudentmini.png
|
||||||
|
/numerotationchapitre.png
|
||||||
|
/numerotationchapitre.svg
|
||||||
|
/objet.png
|
||||||
|
/objet.svg
|
||||||
|
/odreparagraphe.png
|
||||||
|
/odreparagraphemini.png
|
||||||
|
/open.png
|
||||||
|
/open.svg
|
||||||
|
/open2.png
|
||||||
|
/openmax.png
|
||||||
|
/openmini.png
|
||||||
|
/ordreparagraphe.svg
|
||||||
|
/ou.png
|
||||||
|
/ouenviron.png
|
||||||
|
/ouenviron.svg
|
||||||
|
/ouenvironmini.png
|
||||||
|
/ouenvironsimilitude.png
|
||||||
|
/ouenvironsimilitude.svg
|
||||||
|
/ouenvironsimilitudemini.png
|
||||||
|
/oumini.png
|
||||||
|
/oustrict.png
|
||||||
|
/oustrict.svg
|
||||||
|
/oustrictmini.png
|
||||||
|
/oustrictseps.png
|
||||||
|
/oustrictseps.svg
|
||||||
|
/oustrictsepsmini.png
|
||||||
|
/paragraphe_source.svg
|
||||||
|
/paste.png
|
||||||
|
/piedpagenon.png
|
||||||
|
/piedpagenon.svg
|
||||||
|
/piedpagenonmini.png
|
||||||
|
/piedpageoui.png
|
||||||
|
/piedpageoui.svg
|
||||||
|
/piedpageouimini.png
|
||||||
|
/poids.svg
|
||||||
|
/poidsmini.png
|
||||||
|
/premierenfant.png
|
||||||
|
/premierenfant.svg
|
||||||
/premierenfantmini.png
|
/premierenfantmini.png
|
||||||
/property.png
|
/property.png
|
||||||
/property.svg
|
/property.svg
|
||||||
|
@ -147,4 +439,3 @@
|
||||||
/zipstudent.png
|
/zipstudent.png
|
||||||
/zipstudent.svg
|
/zipstudent.svg
|
||||||
/zipstudentmini.png
|
/zipstudentmini.png
|
||||||
/resources/
|
|
||||||
|
|
After Width: | Height: | Size: 682 B |
After Width: | Height: | Size: 434 B |
Before Width: | Height: | Size: 805 B After Width: | Height: | Size: 682 B |
Before Width: | Height: | Size: 514 B After Width: | Height: | Size: 434 B |
|
@ -63,7 +63,7 @@
|
||||||
y="5.6719303"
|
y="5.6719303"
|
||||||
ry="0" />
|
ry="0" />
|
||||||
<path
|
<path
|
||||||
style="fill:#ffffff;stroke:#ff0000;stroke-width:1.1;stroke-linecap:round;stroke-linejoin:bevel;stroke-dasharray:none"
|
style="fill:none;stroke:#ff0000;stroke-width:1.1;stroke-linecap:round;stroke-linejoin:bevel;stroke-dasharray:none"
|
||||||
d="M 6.8573819,2.4073788 V 9.0823837 L 11.453287,9.064146"
|
d="M 6.8573819,2.4073788 V 9.0823837 L 11.453287,9.064146"
|
||||||
id="path2" />
|
id="path2" />
|
||||||
<path
|
<path
|
||||||
|
|
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 2.4 KiB |
|
@ -35,6 +35,7 @@ public class commandes {
|
||||||
|
|
||||||
//** Version
|
//** Version
|
||||||
public static String version ="V4.5.0"; // La version actuelle
|
public static String version ="V4.5.0"; // La version actuelle
|
||||||
|
public static String versionEvaluation = "";
|
||||||
public static String branch = "Origin";
|
public static String branch = "Origin";
|
||||||
public static String Annee ="2024";
|
public static String Annee ="2024";
|
||||||
|
|
||||||
|
|
|
@ -34,7 +34,7 @@ public class chargeEvaluationSelected {
|
||||||
commandes.PathFilenameAnalysis = evaluation.getAttributs().get("PathFilenameAnalysis");
|
commandes.PathFilenameAnalysis = evaluation.getAttributs().get("PathFilenameAnalysis");
|
||||||
|
|
||||||
//** Les paramètres
|
//** Les paramètres
|
||||||
commandes.version = evaluation.getAttributs().get("version");
|
commandes.versionEvaluation = evaluation.getAttributs().get("version");
|
||||||
commandes.fichierStudentMoodle = Boolean.valueOf(evaluation.getAttributs().get("fichierStudentMoodle"));
|
commandes.fichierStudentMoodle = Boolean.valueOf(evaluation.getAttributs().get("fichierStudentMoodle"));
|
||||||
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"));
|
||||||
|
|
|
@ -476,8 +476,10 @@ public class evaluationAttribut {
|
||||||
String points ="‽0";
|
String points ="‽0";
|
||||||
if(sujet.getAttributs().get("allContent").contains("strict")) points = sujet.getAttributs().get("allContent").replace("strict", "‽");
|
if(sujet.getAttributs().get("allContent").contains("strict")) points = sujet.getAttributs().get("allContent").replace("strict", "‽");
|
||||||
if(sujet.getAttributs().get("allContent").contains("strictSansEspace")) points = sujet.getAttributs().get("allContent").replace("strictSansEspace", "≡‽");
|
if(sujet.getAttributs().get("allContent").contains("strictSansEspace")) points = sujet.getAttributs().get("allContent").replace("strictSansEspace", "≡‽");
|
||||||
|
if(sujet.getAttributs().get("allContent").contains("SansCasseEspaceChiffre")) points = sujet.getAttributs().get("allContent").replace("SansCasseEspaceChiffre", "↑‽");
|
||||||
if(sujet.getAttributs().get("allContent").contains("environ")) points = sujet.getAttributs().get("allContent").replace("environ", "¢‽");
|
if(sujet.getAttributs().get("allContent").contains("environ")) points = sujet.getAttributs().get("allContent").replace("environ", "¢‽");
|
||||||
|
|
||||||
|
|
||||||
String testPoint = points.substring(points.indexOf("‽")+1, points.length());
|
String testPoint = points.substring(points.indexOf("‽")+1, points.length());
|
||||||
boolean pasDeProblem = true;
|
boolean pasDeProblem = true;
|
||||||
boolean pointSupAUn = false;
|
boolean pointSupAUn = false;
|
||||||
|
|
|
@ -23,6 +23,7 @@ import javax.swing.tree.TreePath;
|
||||||
import MEPTL.commandes;
|
import MEPTL.commandes;
|
||||||
import cXML.node;
|
import cXML.node;
|
||||||
import list.listeDesNodesAllContent;
|
import list.listeDesNodesAllContent;
|
||||||
|
import java.awt.Color;
|
||||||
|
|
||||||
public class allContent extends JFrame {
|
public class allContent extends JFrame {
|
||||||
|
|
||||||
|
@ -54,6 +55,7 @@ public class allContent extends JFrame {
|
||||||
|
|
||||||
if(nod.getAttributs().get("allContent")!=null) {
|
if(nod.getAttributs().get("allContent")!=null) {
|
||||||
String value = nod.getAttributs().get("allContent");
|
String value = nod.getAttributs().get("allContent");
|
||||||
|
if(value.contains("SansCasseEspaceChiffre")) { value=value.replace("SansCasseEspaceChiffre", "");valeur="SansCasseEspaceChiffre";}
|
||||||
if(value.contains("strictSansEspace")) { value=value.replace("strictSansEspace", "");valeur="strictSansEspace";}
|
if(value.contains("strictSansEspace")) { value=value.replace("strictSansEspace", "");valeur="strictSansEspace";}
|
||||||
if(value.contains("strict")) {value=value.replace("strict", "");valeur="strict";}
|
if(value.contains("strict")) {value=value.replace("strict", "");valeur="strict";}
|
||||||
if(value.contains("environ")) {value=value.replace("environ", "");valeur="environ";}
|
if(value.contains("environ")) {value=value.replace("environ", "");valeur="environ";}
|
||||||
|
@ -63,15 +65,15 @@ public class allContent extends JFrame {
|
||||||
|
|
||||||
setResizable(false);
|
setResizable(false);
|
||||||
setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
|
setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
|
||||||
setBounds(100, 100, 556, 326);
|
setBounds(100, 100, 589, 366);
|
||||||
|
|
||||||
setTitle("allContent");
|
// setTitle("allContent");
|
||||||
ImageIcon img = new ImageIcon(getClass().getResource("/evalwriter.png") );
|
ImageIcon img = new ImageIcon(getClass().getResource("/evalwriter.png") );
|
||||||
int screenWidth = (int) java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment().getMaximumWindowBounds().getWidth();
|
int screenWidth = (int) java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment().getMaximumWindowBounds().getWidth();
|
||||||
int screenHeight = (int) java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment().getMaximumWindowBounds().getHeight();
|
int screenHeight = (int) java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment().getMaximumWindowBounds().getHeight();
|
||||||
setLocation(( (screenWidth) - getWidth()) / 2, (screenHeight - getHeight()) / 2);
|
setLocation(( (screenWidth) - getWidth()) / 2, (screenHeight - getHeight()) / 2);
|
||||||
|
|
||||||
setTitle("allContent " + commandes.Titre + " " + commandes.version + " " + commandes.branch);
|
setTitle("allContent - " + commandes.Titre + " " + commandes.version + " " + commandes.branch);
|
||||||
setIconImage(img.getImage());
|
setIconImage(img.getImage());
|
||||||
|
|
||||||
|
|
||||||
|
@ -82,74 +84,86 @@ public class allContent extends JFrame {
|
||||||
|
|
||||||
JButton btnNewButton = new JButton("Valider");
|
JButton btnNewButton = new JButton("Valider");
|
||||||
btnNewButton.setIcon(new ImageIcon(allContent.class.getResource("/resources/truemini.png")));
|
btnNewButton.setIcon(new ImageIcon(allContent.class.getResource("/resources/truemini.png")));
|
||||||
btnNewButton.setFont(new Font("Tahoma", Font.BOLD, 12));
|
btnNewButton.setFont(new Font("Tahoma", Font.BOLD, 18));
|
||||||
btnNewButton.setBounds(394, 237, 121, 39);
|
btnNewButton.setBounds(347, 266, 216, 50);
|
||||||
contentPane.add(btnNewButton);
|
contentPane.add(btnNewButton);
|
||||||
|
|
||||||
JLabel lblValeurDeLattribut = new JLabel("Type d'évaluation");
|
JLabel lblValeurDeLattribut = new JLabel("Algorithme d'évaluation");
|
||||||
lblValeurDeLattribut.setFont(new Font("Tahoma", Font.PLAIN, 12));
|
lblValeurDeLattribut.setFont(new Font("Tahoma", Font.BOLD | Font.ITALIC, 13));
|
||||||
lblValeurDeLattribut.setBounds(10, 105, 130, 23);
|
lblValeurDeLattribut.setBounds(10, 124, 165, 23);
|
||||||
contentPane.add(lblValeurDeLattribut);
|
contentPane.add(lblValeurDeLattribut);
|
||||||
|
|
||||||
JLabel lblDescription = new JLabel("<html>Cet attribut permet d'évaluer le contenu du node et de celui des nodes enfants de ce node.<br>"
|
JLabel lblDescription = new JLabel("<html>Cet attribut permet d'évaluer le contenu du node et de celui des nodes enfants.<br>Par conséquent, tous les nodes enfants seront évalués.</html>");
|
||||||
+ "Par conséquent, tous les nodes enfants seront évalués.</html>");
|
|
||||||
lblDescription.setLabelFor(this);
|
lblDescription.setLabelFor(this);
|
||||||
lblDescription.setFont(new Font("Tahoma", Font.PLAIN, 12));
|
lblDescription.setFont(new Font("Tahoma", Font.PLAIN, 12));
|
||||||
lblDescription.setBounds(10, 11, 520, 50);
|
lblDescription.setBounds(10, 11, 520, 50);
|
||||||
contentPane.add(lblDescription);
|
contentPane.add(lblDescription);
|
||||||
|
|
||||||
comboBoxValeur = new JComboBox<String>();
|
comboBoxValeur = new JComboBox<String>();
|
||||||
comboBoxValeur.setModel(new DefaultComboBoxModel<String>(new String[] {"strict", "strictSansEspace", "environ"}));
|
comboBoxValeur.setFont(new Font("Tahoma", Font.BOLD | Font.ITALIC, 14));
|
||||||
|
comboBoxValeur.setModel(new DefaultComboBoxModel<String>(new String[] {"strict", "strictSansEspace", "SansCasseEspaceChiffre", "environ"}));
|
||||||
comboBoxValeur.setSelectedItem(valeur);
|
comboBoxValeur.setSelectedItem(valeur);
|
||||||
comboBoxValeur.setBounds(150, 106, 130, 22);
|
comboBoxValeur.setBounds(185, 119, 224, 30);
|
||||||
contentPane.add(comboBoxValeur);
|
contentPane.add(comboBoxValeur);
|
||||||
|
|
||||||
JLabel lblPoint = new JLabel("Combien de point?");
|
JLabel lblPoint = new JLabel("Combien de point ?");
|
||||||
lblPoint.setFont(new Font("Tahoma", Font.PLAIN, 12));
|
lblPoint.setFont(new Font("Tahoma", Font.BOLD, 13));
|
||||||
lblPoint.setBounds(10, 72, 130, 22);
|
lblPoint.setBounds(10, 72, 171, 22);
|
||||||
contentPane.add(lblPoint);
|
contentPane.add(lblPoint);
|
||||||
|
|
||||||
textFieldPoint = new JTextField();
|
textFieldPoint = new JTextField();
|
||||||
|
textFieldPoint.setFont(new Font("Tahoma", Font.BOLD, 14));
|
||||||
textFieldPoint.setHorizontalAlignment(SwingConstants.CENTER);
|
textFieldPoint.setHorizontalAlignment(SwingConstants.CENTER);
|
||||||
textFieldPoint.setText("0");
|
textFieldPoint.setText("0");
|
||||||
textFieldPoint.setBounds(150, 72, 43, 20);
|
textFieldPoint.setBounds(181, 72, 72, 23);
|
||||||
textFieldPoint.setColumns(6);
|
textFieldPoint.setColumns(6);
|
||||||
textFieldPoint.setText(String.valueOf(point));
|
textFieldPoint.setText(String.valueOf(point));
|
||||||
contentPane.add(textFieldPoint);
|
contentPane.add(textFieldPoint);
|
||||||
|
|
||||||
|
|
||||||
lblExplication = new JLabel("<html>Dans le fichier de l'étudiants.<br>Le contenu du node doit être rigoureusement identique, CASE comprise.</html>");
|
lblExplication = new JLabel("<html>Dans le fichier de l'étudiants.<br>Le contenu du node doit être rigoureusement identique, CASSE comprise.</html>");
|
||||||
|
lblExplication.setFont(new Font("Tahoma", Font.PLAIN, 13));
|
||||||
|
lblExplication.setForeground(new Color(0, 0, 205));
|
||||||
|
lblExplication.setVerticalAlignment(SwingConstants.TOP);
|
||||||
|
|
||||||
if(comboBoxValeur.getSelectedItem().equals("strict")) {
|
if(comboBoxValeur.getSelectedItem().equals("strict")) {
|
||||||
lblExplication.setText("<html>Dans le fichier de l'étudiants.<br>Le contenu du node doit être rigoureusement identique, CASE comprise.</html>");
|
lblExplication.setText("<html>Dans le fichier de l'étudiants.<br>Le contenu du node doit être rigoureusement identique, CASSE comprise.</html>");
|
||||||
}
|
}
|
||||||
if(comboBoxValeur.getSelectedItem().equals("strictSansEspace")) {
|
if(comboBoxValeur.getSelectedItem().equals("strictSansEspace")) {
|
||||||
lblExplication.setText("<html>Dans le fichier de l'étudiants.<br>Le contenu du node doit être rigoureusement identique, CASE comprise, mais ignore les espaces en début et fin.</html>");
|
lblExplication.setText("<html>Dans le fichier de l'étudiants.<br>Le contenu du node doit être rigoureusement identique, CASSE comprise, mais ignore les espaces en début et fin.</html>");
|
||||||
|
}
|
||||||
|
if(comboBoxValeur.getSelectedItem().equals("SansCasseEspaceChiffre")) {
|
||||||
|
lblExplication.setText("<html>Dans le fichier de l'étudiants.<br>La CASSE, les espaces, les chiffres et les caractères accentués sont ignorés.</html>");
|
||||||
}
|
}
|
||||||
if(comboBoxValeur.getSelectedItem().equals("environ")) {
|
if(comboBoxValeur.getSelectedItem().equals("environ")) {
|
||||||
lblExplication.setText("<html>Dans le fichier de l'étudiants.<br>Le contenu du node peut être plus ou moins proche (voir le paramètre similude), la CASE est ignorée.</html>");
|
lblExplication.setText("<html>Dans le fichier de l'étudiants.<br>Le contenu du node peut être plus ou moins proche (voir le paramètre similude), la CASSE est ignorée.</html>");
|
||||||
}
|
}
|
||||||
|
|
||||||
lblExplication.setBounds(10, 158, 520, 56);
|
lblExplication.setBounds(10, 175, 553, 80);
|
||||||
contentPane.add(lblExplication);
|
contentPane.add(lblExplication);
|
||||||
|
|
||||||
JLabel lblNewLabel = new JLabel("Pour annuler la méthode, saisissez 0 point.");
|
JLabel lblNewLabel = new JLabel("<html>Pour supprimer l'évaluation, <br>saisissez 0 point.</html>");
|
||||||
lblNewLabel.setFont(new Font("Tahoma", Font.PLAIN, 12));
|
lblNewLabel.setVerticalAlignment(SwingConstants.TOP);
|
||||||
|
lblNewLabel.setHorizontalAlignment(SwingConstants.LEFT);
|
||||||
|
lblNewLabel.setFont(new Font("Tahoma", Font.ITALIC, 13));
|
||||||
lblNewLabel.setIcon(new ImageIcon(allContent.class.getResource("/resources/falsemini.png")));
|
lblNewLabel.setIcon(new ImageIcon(allContent.class.getResource("/resources/falsemini.png")));
|
||||||
lblNewLabel.setBounds(240, 69, 275, 23);
|
lblNewLabel.setBounds(347, 69, 216, 39);
|
||||||
contentPane.add(lblNewLabel);
|
contentPane.add(lblNewLabel);
|
||||||
|
|
||||||
|
|
||||||
comboBoxValeur.addActionListener(new ActionListener() {
|
comboBoxValeur.addActionListener(new ActionListener() {
|
||||||
public void actionPerformed(ActionEvent e) {
|
public void actionPerformed(ActionEvent e) {
|
||||||
if(comboBoxValeur.getSelectedItem().equals("strict")) {
|
if(comboBoxValeur.getSelectedItem().equals("strict")) {
|
||||||
lblExplication.setText("<html>Dans le fichier de l'étudiants.<br>Le contenu du node doit être rigoureusement identique, CASE comprise.</html>");
|
lblExplication.setText("<html>Dans le fichier de l'étudiants.<br>Le contenu du node doit être rigoureusement identique, CASSE comprise.</html>");
|
||||||
}
|
}
|
||||||
if(comboBoxValeur.getSelectedItem().equals("strictSansEspace")) {
|
if(comboBoxValeur.getSelectedItem().equals("strictSansEspace")) {
|
||||||
lblExplication.setText("<html>Dans le fichier de l'étudiants.<br>Le contenu du node doit être rigoureusement identique, CASE comprise, mais ignore les espaces en début et fin.</html>");
|
lblExplication.setText("<html>Dans le fichier de l'étudiants.<br>Le contenu du node doit être rigoureusement identique, CASSE comprise, mais ignore les espaces en début et fin.</html>");
|
||||||
|
}
|
||||||
|
if(comboBoxValeur.getSelectedItem().equals("SansCasseEspaceChiffre")) {
|
||||||
|
lblExplication.setText("<html>Dans le fichier de l'étudiants.<br>La CASSE, les espaces, les chiffres et les caractères accentués sont ignorés.</html>");
|
||||||
}
|
}
|
||||||
if(comboBoxValeur.getSelectedItem().equals("environ")) {
|
if(comboBoxValeur.getSelectedItem().equals("environ")) {
|
||||||
lblExplication.setText("<html>Dans le fichier de l'étudiants.<br>Le contenu du node peut être plus ou moins proche (voir le paramètre similude), la CASE est ignorée.</html>");
|
lblExplication.setText("<html>Dans le fichier de l'étudiants.<br>Le contenu du node peut être plus ou moins proche (voir le paramètre similude), la CASSE est ignorée.</html>");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
@ -23,6 +23,7 @@ public class listeDesNodesAncrable {
|
||||||
case "text:h": return true;
|
case "text:h": return true;
|
||||||
case "text:list": return true;
|
case "text:list": return true;
|
||||||
case "text:title": return true;
|
case "text:title": return true;
|
||||||
|
case "text:chapter": return true;
|
||||||
case "text:span": return true;
|
case "text:span": return true;
|
||||||
case "text:note" : return true;
|
case "text:note" : return true;
|
||||||
case "text:list-item": return true;
|
case "text:list-item": return true;
|
||||||
|
|
|
@ -14,6 +14,7 @@ public class listeDesNodesEvalPlacement {
|
||||||
case "text:h": return true;
|
case "text:h": return true;
|
||||||
case "text:list": return true;
|
case "text:list": return true;
|
||||||
case "text:title": return true;
|
case "text:title": return true;
|
||||||
|
case "text:chapter": return true;
|
||||||
case "text:span": return true;
|
case "text:span": return true;
|
||||||
case "text:list-item": return true;
|
case "text:list-item": return true;
|
||||||
case "text:subject": return true;
|
case "text:subject": return true;
|
||||||
|
|
Before Width: | Height: | Size: 805 B After Width: | Height: | Size: 682 B |
Before Width: | Height: | Size: 514 B After Width: | Height: | Size: 434 B |