MCPcopy Create free account
hub / github.com/BombusMod/BombusMod / commandState

Method commandState

src/main/java/Account/AccountSelect.java:90–104  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

88 }
89
90 public final void commandState() {
91 menuCommands.removeAllElements();
92 if ((itemsList != null) && !itemsList.isEmpty()) {
93 addMenuCommand(cmdLogin);
94 addMenuCommand(cmdSelect);
95
96 addMenuCommand(cmdEdit);
97 addMenuCommand(cmdDel);
98 }
99 addMenuCommand(cmdAdd);
100 addMenuCommand(cmdConfig);
101 if (enableQuit) {
102 addMenuCommand(cmdQuit);
103 }
104 }
105
106 public void menuAction(MenuCommand c, VirtualList d) {
107 if (c == cmdQuit) {

Callers 1

delAccountMethod · 0.95

Calls 2

addMenuCommandMethod · 0.80
isEmptyMethod · 0.45

Tested by

no test coverage detected