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

Method commandState

src/main/java/Client/Roster.java:196–225  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

194 }
195
196 public final void commandState() {
197 menuName = SR.MS_MAIN_MENU;
198 menuCommands.removeAllElements();
199 addMenuCommand(cmdStatus);
200 addMenuCommand(cmdActiveContacts);
201//#ifndef WMUC
202
203 if (isLoggedIn()) {
204 addMenuCommand(cmdConference);
205 }
206//#endif
207//#if !android
208//# addMenuCommand(cmdAlert);
209//#endif
210//#ifdef ARCHIVE
211 addMenuCommand(cmdArchive);
212//#endif
213 if (isLoggedIn()) {
214 addMenuCommand(cmdAdd);
215 }
216 addMenuCommand(cmdAccount);
217 addMenuCommand(cmdTools);
218 addMenuCommand(cmdInfo);
219
220 if (cf.allowMinimize) {
221 addMenuCommand(cmdMinimize);
222 }
223
224 addMenuCommand(cmdCleanAllMessages);
225 }
226
227 public void setProgress(String pgs, int percent) {
228 SplashScreen.getInstance().setProgress(pgs, percent);

Callers

nothing calls this directly

Calls 2

isLoggedInMethod · 0.95
addMenuCommandMethod · 0.80

Tested by

no test coverage detected