Rename some GUIs.

This commit is contained in:
BONNe1704 2019-01-17 11:33:13 +02:00
parent 818892e618
commit dbe8cc50df
3 changed files with 10 additions and 10 deletions

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 ChallengesEditGUI extends CommonGUI public class ChallengeEditGUI extends CommonGUI
{ {
// --------------------------------------------------------------------- // ---------------------------------------------------------------------
// Section: Constructors // Section: Constructors
@ -34,7 +34,7 @@ public class ChallengesEditGUI extends CommonGUI
* {@inheritDoc} * {@inheritDoc}
* @param challenge challenge that needs editing. * @param challenge challenge that needs editing.
*/ */
public ChallengesEditGUI(ChallengesAddon addon, public ChallengeEditGUI(ChallengesAddon addon,
World world, World world,
User user, User user,
Challenges challenge, Challenges challenge,
@ -49,7 +49,7 @@ public class ChallengesEditGUI extends CommonGUI
* {@inheritDoc} * {@inheritDoc}
* @param challenge challenge that needs editing. * @param challenge challenge that needs editing.
*/ */
public ChallengesEditGUI(ChallengesAddon addon, public ChallengeEditGUI(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 LevelsEditGUI extends CommonGUI public class LevelEditGUI extends CommonGUI
{ {
// --------------------------------------------------------------------- // ---------------------------------------------------------------------
// Section: Constructors // Section: Constructors
@ -32,7 +32,7 @@ public class LevelsEditGUI extends CommonGUI
* {@inheritDoc} * {@inheritDoc}
* @param challengeLevel ChallengeLevel that must be edited. * @param challengeLevel ChallengeLevel that must be edited.
*/ */
public LevelsEditGUI(ChallengesAddon addon, public LevelEditGUI(ChallengesAddon addon,
World world, World world,
User user, User user,
ChallengeLevels challengeLevel, ChallengeLevels challengeLevel,
@ -47,7 +47,7 @@ public class LevelsEditGUI extends CommonGUI
* {@inheritDoc} * {@inheritDoc}
* @param challengeLevel ChallengeLevel that must be edited. * @param challengeLevel ChallengeLevel that must be edited.
*/ */
public LevelsEditGUI(ChallengesAddon addon, public LevelEditGUI(ChallengesAddon addon,
World world, World world,
User user, User user,
ChallengeLevels challengeLevel, ChallengeLevels challengeLevel,
@ -253,7 +253,7 @@ public class LevelsEditGUI 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 ChallengesEditGUI(this.addon, new ChallengeEditGUI(this.addon,
this.world, this.world,
this.user, this.user,
challenge, challenge,

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 ChallengesUserListGUI extends CommonGUI public class UserListGUI extends CommonGUI
{ {
// --------------------------------------------------------------------- // ---------------------------------------------------------------------
// Section: Variables // Section: Variables
@ -56,7 +56,7 @@ public class ChallengesUserListGUI extends CommonGUI
/** /**
* {@inheritDoc} * {@inheritDoc}
*/ */
public ChallengesUserListGUI(ChallengesAddon addon, public UserListGUI(ChallengesAddon addon,
World world, World world,
User user, String topLabel, String permissionPrefix) User user, String topLabel, String permissionPrefix)
{ {
@ -67,7 +67,7 @@ public class ChallengesUserListGUI extends CommonGUI
/** /**
* {@inheritDoc} * {@inheritDoc}
*/ */
public ChallengesUserListGUI(ChallengesAddon addon, public UserListGUI(ChallengesAddon addon,
World world, World world,
User user, User user,
String topLabel, String topLabel,