Improve GUIs naming.

This commit is contained in:
BONNe1704 2019-01-17 11:36:39 +02:00
parent dbe8cc50df
commit efab8f7e24
5 changed files with 15 additions and 15 deletions

View File

@ -18,7 +18,7 @@ import world.bentobox.challenges.panel.CommonGUI;
/** /**
* This class contains Main * This class contains Main
*/ */
public class ChallengesAdminGUI extends CommonGUI public class AdminGUI extends CommonGUI
{ {
// --------------------------------------------------------------------- // ---------------------------------------------------------------------
// Section: Variables // Section: Variables
@ -61,7 +61,7 @@ public class ChallengesAdminGUI extends CommonGUI
/** /**
* {@inheritDoc} * {@inheritDoc}
*/ */
public ChallengesAdminGUI(ChallengesAddon addon, public AdminGUI(ChallengesAddon addon,
World world, World world,
User user, User user,
String topLabel, String topLabel,

View File

@ -23,7 +23,7 @@ import world.bentobox.challenges.panel.CommonGUI;
* This class contains all necessary methods that creates GUI and allow to edit challenges * This class contains all necessary methods that creates GUI and allow to edit challenges
* properties. * properties.
*/ */
public class ChallengeEditGUI extends CommonGUI public class EditChallengeGUI extends CommonGUI
{ {
// --------------------------------------------------------------------- // ---------------------------------------------------------------------
// Section: Constructors // Section: Constructors
@ -34,7 +34,7 @@ public class ChallengeEditGUI extends CommonGUI
* {@inheritDoc} * {@inheritDoc}
* @param challenge challenge that needs editing. * @param challenge challenge that needs editing.
*/ */
public ChallengeEditGUI(ChallengesAddon addon, public EditChallengeGUI(ChallengesAddon addon,
World world, World world,
User user, User user,
Challenges challenge, Challenges challenge,
@ -49,7 +49,7 @@ public class ChallengeEditGUI extends CommonGUI
* {@inheritDoc} * {@inheritDoc}
* @param challenge challenge that needs editing. * @param challenge challenge that needs editing.
*/ */
public ChallengeEditGUI(ChallengesAddon addon, public EditChallengeGUI(ChallengesAddon addon,
World world, World world,
User user, User user,
Challenges challenge, Challenges challenge,

View File

@ -21,7 +21,7 @@ import world.bentobox.challenges.panel.CommonGUI;
/** /**
* This class contains all necessary elements to create Levels Edit GUI. * This class contains all necessary elements to create Levels Edit GUI.
*/ */
public class LevelEditGUI extends CommonGUI public class EditLevelGUI extends CommonGUI
{ {
// --------------------------------------------------------------------- // ---------------------------------------------------------------------
// Section: Constructors // Section: Constructors
@ -32,7 +32,7 @@ public class LevelEditGUI extends CommonGUI
* {@inheritDoc} * {@inheritDoc}
* @param challengeLevel ChallengeLevel that must be edited. * @param challengeLevel ChallengeLevel that must be edited.
*/ */
public LevelEditGUI(ChallengesAddon addon, public EditLevelGUI(ChallengesAddon addon,
World world, World world,
User user, User user,
ChallengeLevels challengeLevel, ChallengeLevels challengeLevel,
@ -47,7 +47,7 @@ public class LevelEditGUI extends CommonGUI
* {@inheritDoc} * {@inheritDoc}
* @param challengeLevel ChallengeLevel that must be edited. * @param challengeLevel ChallengeLevel that must be edited.
*/ */
public LevelEditGUI(ChallengesAddon addon, public EditLevelGUI(ChallengesAddon addon,
World world, World world,
User user, User user,
ChallengeLevels challengeLevel, ChallengeLevels challengeLevel,
@ -253,7 +253,7 @@ public class LevelEditGUI extends CommonGUI
icon(challenge.getIcon()). icon(challenge.getIcon()).
clickHandler((panel, user1, clickType, slot) -> { clickHandler((panel, user1, clickType, slot) -> {
// Open challenges edit screen. // Open challenges edit screen.
new ChallengeEditGUI(this.addon, new EditChallengeGUI(this.addon,
this.world, this.world,
this.user, this.user,
challenge, challenge,

View File

@ -15,7 +15,7 @@ import world.bentobox.challenges.panel.CommonGUI;
* This Class creates GUI that allows to change Challenges Addon Settings via in-game * This Class creates GUI that allows to change Challenges Addon Settings via in-game
* menu. * menu.
*/ */
public class ChallengesSettingsGUI extends CommonGUI public class EditSettingsGUI extends CommonGUI
{ {
// --------------------------------------------------------------------- // ---------------------------------------------------------------------
// Section: Constructors // Section: Constructors
@ -25,7 +25,7 @@ public class ChallengesSettingsGUI extends CommonGUI
/** /**
* {@inheritDoc} * {@inheritDoc}
*/ */
public ChallengesSettingsGUI(ChallengesAddon addon, public EditSettingsGUI(ChallengesAddon addon,
World world, World world,
User user, User user,
String topLabel, String topLabel,
@ -38,7 +38,7 @@ public class ChallengesSettingsGUI extends CommonGUI
/** /**
* {@inheritDoc} * {@inheritDoc}
*/ */
public ChallengesSettingsGUI(ChallengesAddon addon, public EditSettingsGUI(ChallengesAddon addon,
World world, World world,
User user, User user,
String topLabel, String topLabel,

View File

@ -20,7 +20,7 @@ import world.bentobox.challenges.panel.CommonGUI;
/** /**
* This class contains methods that allows to select specific user. * This class contains methods that allows to select specific user.
*/ */
public class UserListGUI extends CommonGUI public class ListUsersGUI extends CommonGUI
{ {
// --------------------------------------------------------------------- // ---------------------------------------------------------------------
// Section: Variables // Section: Variables
@ -56,7 +56,7 @@ public class UserListGUI extends CommonGUI
/** /**
* {@inheritDoc} * {@inheritDoc}
*/ */
public UserListGUI(ChallengesAddon addon, public ListUsersGUI(ChallengesAddon addon,
World world, World world,
User user, String topLabel, String permissionPrefix) User user, String topLabel, String permissionPrefix)
{ {
@ -67,7 +67,7 @@ public class UserListGUI extends CommonGUI
/** /**
* {@inheritDoc} * {@inheritDoc}
*/ */
public UserListGUI(ChallengesAddon addon, public ListUsersGUI(ChallengesAddon addon,
World world, World world,
User user, User user,
String topLabel, String topLabel,