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

Method keyClear

src/main/java/Archive/ArchiveList.java:150–163  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

148 }
149
150 public void keyClear() {
151 if (getItemCount() > 0) {
152 new AlertBox(SR.MS_DELETE, SR.MS_SURE_DELETE) {
153
154 public void yes() {
155 deleteMessage();
156 }
157
158 public void no() {
159 }
160 };
161 redraw();
162 }
163 }
164
165 private void deleteAllMessages() {
166 new AlertBox(SR.MS_ACTION, SR.MS_DELETE_ALL+"?") {

Callers 1

menuActionMethod · 0.95

Calls 2

getItemCountMethod · 0.95
redrawMethod · 0.45

Tested by

no test coverage detected