mirror of
https://github.com/BentoBoxWorld/Challenges.git
synced 2025-01-06 16:27:58 +01:00
Rename some GUIs.
This commit is contained in:
parent
818892e618
commit
dbe8cc50df
@ -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,
|
@ -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,
|
@ -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,
|
Loading…
Reference in New Issue
Block a user