MCPcopy Index your code
hub / github.com/BombusMod/BombusMod / destroyView

Method destroyView

src/main/java/Account/AccountForm.java:296–313  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

294 }
295
296 public void destroyView() {
297 if (newaccount && doConnect) {
298 new AlertBox(SR.MS_CONNECT_TO, item.account.JID.getBare() + "?") {
299
300 public void yes() {
301 SplashScreen.getInstance().setExit(sd.roster);
302 startLogin(true);
303 }
304
305 public void no() {
306 startLogin(false);
307 accountSelect.show();
308 }
309 };
310 } else {
311 super.destroyView();
312 }
313 }
314
315 private void startLogin(boolean login) {
316 Config.getInstance().accountIndex = accountSelect.itemsList.size() - 1;

Callers 5

yesMethod · 0.95
noMethod · 0.95
cmdOkMethod · 0.95
BrowserFilePathNotifyMethod · 0.95
startLoginMethod · 0.45

Calls 1

getBareMethod · 0.80

Tested by

no test coverage detected