Skip to content

Commit

Permalink
Improve GUIs naming.
Browse files Browse the repository at this point in the history
  • Loading branch information
BONNe committed Jan 17, 2019
1 parent dbe8cc5 commit efab8f7
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
/**
* This class contains Main
*/
public class ChallengesAdminGUI extends CommonGUI
public class AdminGUI extends CommonGUI
{
// ---------------------------------------------------------------------
// Section: Variables
Expand Down Expand Up @@ -61,7 +61,7 @@ private enum Button
/**
* {@inheritDoc}
*/
public ChallengesAdminGUI(ChallengesAddon addon,
public AdminGUI(ChallengesAddon addon,
World world,
User user,
String topLabel,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
* 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
Expand All @@ -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,
Expand All @@ -49,7 +49,7 @@ public ChallengeEditGUI(ChallengesAddon addon,
* {@inheritDoc}
* @param challenge challenge that needs editing.
*/
public ChallengeEditGUI(ChallengesAddon addon,
public EditChallengeGUI(ChallengesAddon addon,
World world,
User user,
Challenges challenge,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
/**
* This class contains all necessary elements to create Levels Edit GUI.
*/
public class LevelEditGUI extends CommonGUI
public class EditLevelGUI extends CommonGUI
{
// ---------------------------------------------------------------------
// Section: Constructors
Expand All @@ -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,
Expand All @@ -47,7 +47,7 @@ public LevelEditGUI(ChallengesAddon addon,
* {@inheritDoc}
* @param challengeLevel ChallengeLevel that must be edited.
*/
public LevelEditGUI(ChallengesAddon addon,
public EditLevelGUI(ChallengesAddon addon,
World world,
User user,
ChallengeLevels challengeLevel,
Expand Down Expand Up @@ -253,7 +253,7 @@ private PanelItem createChallengeIcon(Challenges challenge)
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,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* 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
Expand All @@ -25,7 +25,7 @@ public class ChallengesSettingsGUI extends CommonGUI
/**
* {@inheritDoc}
*/
public ChallengesSettingsGUI(ChallengesAddon addon,
public EditSettingsGUI(ChallengesAddon addon,
World world,
User user,
String topLabel,
Expand All @@ -38,7 +38,7 @@ public ChallengesSettingsGUI(ChallengesAddon addon,
/**
* {@inheritDoc}
*/
public ChallengesSettingsGUI(ChallengesAddon addon,
public EditSettingsGUI(ChallengesAddon addon,
World world,
User user,
String topLabel,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
/**
* This class contains methods that allows to select specific user.
*/
public class UserListGUI extends CommonGUI
public class ListUsersGUI extends CommonGUI
{
// ---------------------------------------------------------------------
// Section: Variables
Expand Down Expand Up @@ -56,7 +56,7 @@ private enum ViewMode
/**
* {@inheritDoc}
*/
public UserListGUI(ChallengesAddon addon,
public ListUsersGUI(ChallengesAddon addon,
World world,
User user, String topLabel, String permissionPrefix)
{
Expand All @@ -67,7 +67,7 @@ public UserListGUI(ChallengesAddon addon,
/**
* {@inheritDoc}
*/
public UserListGUI(ChallengesAddon addon,
public ListUsersGUI(ChallengesAddon addon,
World world,
User user,
String topLabel,
Expand Down

0 comments on commit efab8f7

Please sign in to comment.