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

Method menuAction

src/main/java/Client/StatusSelect.java:85–97  ·  view source on GitHub ↗
(MenuCommand c, VirtualList d)

Source from the content-addressed store, hash-verified

83 private ExtendedStatus getSel() { return (ExtendedStatus)getFocusedObject(); }
84
85 public void menuAction(MenuCommand c, VirtualList d) {
86 if (c==cmdEdit) {
87 new StatusForm(getSel());
88 }
89
90 if (c==cmdDef) {
91 cf.loginstatus=cursor;
92 cf.saveToStorage();
93 redraw();
94 }
95
96 super.menuAction(c, d);
97 }
98
99 public void cmdOk() {
100 eventOk();

Callers

nothing calls this directly

Calls 4

getSelMethod · 0.95
menuActionMethod · 0.65
saveToStorageMethod · 0.45
redrawMethod · 0.45

Tested by

no test coverage detected