mirror of
https://github.com/BentoBoxWorld/Challenges.git
synced 2024-11-26 12:35:24 +01:00
Improve GUIs naming.
This commit is contained in:
parent
dbe8cc50df
commit
efab8f7e24
@ -18,7 +18,7 @@ import world.bentobox.challenges.panel.CommonGUI;
|
||||
/**
|
||||
* This class contains Main
|
||||
*/
|
||||
public class ChallengesAdminGUI extends CommonGUI
|
||||
public class AdminGUI extends CommonGUI
|
||||
{
|
||||
// ---------------------------------------------------------------------
|
||||
// Section: Variables
|
||||
@ -61,7 +61,7 @@ public class ChallengesAdminGUI extends CommonGUI
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public ChallengesAdminGUI(ChallengesAddon addon,
|
||||
public AdminGUI(ChallengesAddon addon,
|
||||
World world,
|
||||
User user,
|
||||
String topLabel,
|
@ -23,7 +23,7 @@ import world.bentobox.challenges.panel.CommonGUI;
|
||||
* This class contains all necessary methods that creates GUI and allow to edit challenges
|
||||
* properties.
|
||||
*/
|
||||
public class ChallengeEditGUI extends CommonGUI
|
||||
public class EditChallengeGUI extends CommonGUI
|
||||
{
|
||||
// ---------------------------------------------------------------------
|
||||
// Section: Constructors
|
||||
@ -34,7 +34,7 @@ public class ChallengeEditGUI extends CommonGUI
|
||||
* {@inheritDoc}
|
||||
* @param challenge challenge that needs editing.
|
||||
*/
|
||||
public ChallengeEditGUI(ChallengesAddon addon,
|
||||
public EditChallengeGUI(ChallengesAddon addon,
|
||||
World world,
|
||||
User user,
|
||||
Challenges challenge,
|
||||
@ -49,7 +49,7 @@ public class ChallengeEditGUI extends CommonGUI
|
||||
* {@inheritDoc}
|
||||
* @param challenge challenge that needs editing.
|
||||
*/
|
||||
public ChallengeEditGUI(ChallengesAddon addon,
|
||||
public EditChallengeGUI(ChallengesAddon addon,
|
||||
World world,
|
||||
User user,
|
||||
Challenges challenge,
|
@ -21,7 +21,7 @@ import world.bentobox.challenges.panel.CommonGUI;
|
||||
/**
|
||||
* This class contains all necessary elements to create Levels Edit GUI.
|
||||
*/
|
||||
public class LevelEditGUI extends CommonGUI
|
||||
public class EditLevelGUI extends CommonGUI
|
||||
{
|
||||
// ---------------------------------------------------------------------
|
||||
// Section: Constructors
|
||||
@ -32,7 +32,7 @@ public class LevelEditGUI extends CommonGUI
|
||||
* {@inheritDoc}
|
||||
* @param challengeLevel ChallengeLevel that must be edited.
|
||||
*/
|
||||
public LevelEditGUI(ChallengesAddon addon,
|
||||
public EditLevelGUI(ChallengesAddon addon,
|
||||
World world,
|
||||
User user,
|
||||
ChallengeLevels challengeLevel,
|
||||
@ -47,7 +47,7 @@ public class LevelEditGUI extends CommonGUI
|
||||
* {@inheritDoc}
|
||||
* @param challengeLevel ChallengeLevel that must be edited.
|
||||
*/
|
||||
public LevelEditGUI(ChallengesAddon addon,
|
||||
public EditLevelGUI(ChallengesAddon addon,
|
||||
World world,
|
||||
User user,
|
||||
ChallengeLevels challengeLevel,
|
||||
@ -253,7 +253,7 @@ public class LevelEditGUI extends CommonGUI
|
||||
icon(challenge.getIcon()).
|
||||
clickHandler((panel, user1, clickType, slot) -> {
|
||||
// Open challenges edit screen.
|
||||
new ChallengeEditGUI(this.addon,
|
||||
new EditChallengeGUI(this.addon,
|
||||
this.world,
|
||||
this.user,
|
||||
challenge,
|
@ -15,7 +15,7 @@ import world.bentobox.challenges.panel.CommonGUI;
|
||||
* This Class creates GUI that allows to change Challenges Addon Settings via in-game
|
||||
* menu.
|
||||
*/
|
||||
public class ChallengesSettingsGUI extends CommonGUI
|
||||
public class EditSettingsGUI extends CommonGUI
|
||||
{
|
||||
// ---------------------------------------------------------------------
|
||||
// Section: Constructors
|
||||
@ -25,7 +25,7 @@ public class ChallengesSettingsGUI extends CommonGUI
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public ChallengesSettingsGUI(ChallengesAddon addon,
|
||||
public EditSettingsGUI(ChallengesAddon addon,
|
||||
World world,
|
||||
User user,
|
||||
String topLabel,
|
||||
@ -38,7 +38,7 @@ public class ChallengesSettingsGUI extends CommonGUI
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public ChallengesSettingsGUI(ChallengesAddon addon,
|
||||
public EditSettingsGUI(ChallengesAddon addon,
|
||||
World world,
|
||||
User user,
|
||||
String topLabel,
|
@ -20,7 +20,7 @@ import world.bentobox.challenges.panel.CommonGUI;
|
||||
/**
|
||||
* This class contains methods that allows to select specific user.
|
||||
*/
|
||||
public class UserListGUI extends CommonGUI
|
||||
public class ListUsersGUI extends CommonGUI
|
||||
{
|
||||
// ---------------------------------------------------------------------
|
||||
// Section: Variables
|
||||
@ -56,7 +56,7 @@ public class UserListGUI extends CommonGUI
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public UserListGUI(ChallengesAddon addon,
|
||||
public ListUsersGUI(ChallengesAddon addon,
|
||||
World world,
|
||||
User user, String topLabel, String permissionPrefix)
|
||||
{
|
||||
@ -67,7 +67,7 @@ public class UserListGUI extends CommonGUI
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public UserListGUI(ChallengesAddon addon,
|
||||
public ListUsersGUI(ChallengesAddon addon,
|
||||
World world,
|
||||
User user,
|
||||
String topLabel,
|
Loading…
Reference in New Issue
Block a user