From 0ec6f12286c464d0ec93b2473d8b2afb7b716ba4 Mon Sep 17 00:00:00 2001 From: Notmoo Date: Sat, 19 Aug 2017 19:21:49 +0200 Subject: [PATCH] =?UTF-8?q?Module=20Client,=20clss=20GUIStringTool=20:=20m?= =?UTF-8?q?odif=20nom=20m=C3=A9thd?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ressources/components/CommandComposerSaleDisplayer.java | 5 +---- .../com/pqt/client/gui/ressources/strings/GUIStringTool.java | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/Workspace/client/src/main/java/com/pqt/client/gui/ressources/components/CommandComposerSaleDisplayer.java b/Workspace/client/src/main/java/com/pqt/client/gui/ressources/components/CommandComposerSaleDisplayer.java index 5fec3ecf..69da7a84 100644 --- a/Workspace/client/src/main/java/com/pqt/client/gui/ressources/components/CommandComposerSaleDisplayer.java +++ b/Workspace/client/src/main/java/com/pqt/client/gui/ressources/components/CommandComposerSaleDisplayer.java @@ -8,7 +8,6 @@ import com.pqt.client.gui.ressources.strings.GUIStringTool; import com.pqt.core.entities.product.Product; import com.pqt.core.entities.sale.Sale; import javafx.application.Platform; -import javafx.collections.FXCollections; import javafx.geometry.Pos; import javafx.scene.control.*; import javafx.scene.input.KeyCode; @@ -16,8 +15,6 @@ import javafx.scene.layout.BorderPane; import javafx.scene.layout.HBox; import javafx.scene.layout.Pane; -import java.util.ArrayList; - public class CommandComposerSaleDisplayer implements IFXSaleDisplayerComponent { private SimpleSaleComponentFirerer firerer; @@ -35,7 +32,7 @@ public class CommandComposerSaleDisplayer implements IFXSaleDisplayerComponent { mainPane = new BorderPane(); mainPane.getStyleClass().add("sale-displayer"); - Label title = new Label(GUIStringTool.getCommandComposerTitleTitle()); + Label title = new Label(GUIStringTool.getCommandComposerTitleLabel()); title.setAlignment(Pos.CENTER); title.getStyleClass().add(GUICssTool.getTitleTextStyleClass()); diff --git a/Workspace/client/src/main/java/com/pqt/client/gui/ressources/strings/GUIStringTool.java b/Workspace/client/src/main/java/com/pqt/client/gui/ressources/strings/GUIStringTool.java index 0b69d406..6fb4a0a4 100644 --- a/Workspace/client/src/main/java/com/pqt/client/gui/ressources/strings/GUIStringTool.java +++ b/Workspace/client/src/main/java/com/pqt/client/gui/ressources/strings/GUIStringTool.java @@ -60,7 +60,7 @@ public class GUIStringTool { }; } - public static String getCommandComposerTitleTitle() { + public static String getCommandComposerTitleLabel() { return "Commande"; }