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

Method ArchiveEdit

src/main/java/Archive/ArchiveEdit.java:53–72  ·  view source on GitHub ↗
(VirtualList pView, int pos, int where, ArchiveList al)

Source from the content-addressed store, hash-verified

51 private ArchiveList al;
52
53 public ArchiveEdit(VirtualList pView, int pos, int where, ArchiveList al) {
54
55 super(pView, null, (pos > -1) ? SR.MS_EDIT : SR.MS_NEW);
56
57 archive = new MessageArchive(where);
58
59 this.where = where;
60
61 this.pos = pos;
62
63 this.al = al;
64
65 if (pos > -1) {
66 this.msg = archive.msg(pos);
67 body = msg.quoteString(true);
68 }
69
70 setText(body);
71 show(this);
72 }
73
74 public void commandState() {
75

Callers

nothing calls this directly

Calls 4

quoteStringMethod · 0.80
msgMethod · 0.45
setTextMethod · 0.45
showMethod · 0.45

Tested by

no test coverage detected