From 6d1fc277fe9f66eb1cdab28e7ccedbae62d896c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maty=C3=A1=C5=A1=20Latner?= <matyas.latner@nic.cz> Date: Wed, 13 Jul 2016 14:00:48 +0200 Subject: [PATCH] #387 Dialog button components parameters naming refactor --- .../PositiveNegativeButtonContentDialogComponent.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/core/src/cz/nic/tablexia/util/ui/dialog/components/PositiveNegativeButtonContentDialogComponent.java b/core/src/cz/nic/tablexia/util/ui/dialog/components/PositiveNegativeButtonContentDialogComponent.java index 9819d90b9..0d503bd22 100644 --- a/core/src/cz/nic/tablexia/util/ui/dialog/components/PositiveNegativeButtonContentDialogComponent.java +++ b/core/src/cz/nic/tablexia/util/ui/dialog/components/PositiveNegativeButtonContentDialogComponent.java @@ -49,19 +49,19 @@ public class PositiveNegativeButtonContentDialogComponent extends TwoButtonConte this(yesInputListener, noInputListener, DEFAULT_POSITIVE_NEGATIVE_BUTTON_TYPE); } - public PositiveNegativeButtonContentDialogComponent(InputListener yesInputListener, boolean firstuseOnce, InputListener noInputListener, boolean secondUseOnce) { - this(yesInputListener, firstuseOnce, noInputListener,secondUseOnce, DEFAULT_POSITIVE_NEGATIVE_BUTTON_TYPE); + public PositiveNegativeButtonContentDialogComponent(InputListener yesInputListener, boolean yesButtonUseOnce, InputListener noInputListener, boolean noButtonUseOnce) { + this(yesInputListener, yesButtonUseOnce, noInputListener, noButtonUseOnce, DEFAULT_POSITIVE_NEGATIVE_BUTTON_TYPE); } - public PositiveNegativeButtonContentDialogComponent(InputListener yesInputListener, boolean firstUseOnce, InputListener noInputListener, boolean secondUseOnce, PositiveNegativeButtonType positiveNegativeButtonType) { + public PositiveNegativeButtonContentDialogComponent(InputListener yesInputListener, boolean yesButtonUseOnce, InputListener noInputListener, boolean noButtonUseOnce, PositiveNegativeButtonType positiveNegativeButtonType) { super( ApplicationTextManager.getInstance().getText(positiveNegativeButtonType.getNegativeText()), ApplicationTextManager.getInstance().getText(positiveNegativeButtonType.getPositiveText()), new Image(ApplicationInternalTextureManager.getInstance().getTexture(ApplicationInternalTextureManager.BUTTON_NO_ICON)), new Image(ApplicationInternalTextureManager.getInstance().getTexture(ApplicationInternalTextureManager.BUTTON_YES_ICON)), StandardTablexiaButton.TablexiaButtonType.RED, - firstUseOnce, + yesButtonUseOnce, StandardTablexiaButton.TablexiaButtonType.GREEN, - secondUseOnce, + noButtonUseOnce, noInputListener, yesInputListener ); -- GitLab