mirror of
https://github.com/BentoBoxWorld/Challenges.git
synced 2025-01-06 00:18:37 +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
|
* 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,
|
@ -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,
|
@ -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,
|
@ -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,
|
@ -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,
|
Loading…
Reference in New Issue
Block a user