From f9590b0edd09f91000871d64a143d02f425cb79b Mon Sep 17 00:00:00 2001 From: Germain SIPIERE Date: Fri, 17 Jul 2020 08:34:45 +0200 Subject: [PATCH] Gestion des exemples par fichier json --- .idea/gradle.xml | 1 + build.gradle | 4 +- .../java/org/gerblog/gui/MainController.java | 61 ++++++++----------- .../org/gerblog/gui/buttons/les_boutons.fxml | 23 +++---- .../org/gerblog/gui/exemple/exemple_tile.fxml | 9 ++- src/main/java/org/gerblog/gui/main.fxml | 5 +- .../java/org/gerblog/libexemple/Exemple.java | 36 ++++++++++- .../gerblog/libexemple/liste_exemples.json | 23 +++++++ .../java/org/gerblog/tools/Exempliser.java | 37 +++++++++++ src/main/java/org/gerblog/tools/GuiTool.java | 26 ++++++++ .../java/org/gerblog/tools/Verification.java | 2 + 11 files changed, 173 insertions(+), 54 deletions(-) create mode 100644 src/main/java/org/gerblog/libexemple/liste_exemples.json create mode 100644 src/main/java/org/gerblog/tools/Exempliser.java create mode 100644 src/main/java/org/gerblog/tools/GuiTool.java diff --git a/.idea/gradle.xml b/.idea/gradle.xml index bbf1aa0..f75143a 100644 --- a/.idea/gradle.xml +++ b/.idea/gradle.xml @@ -8,6 +8,7 @@