(VirtualList pView, int pos, int where, ArchiveList al)
| 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 |
nothing calls this directly
no test coverage detected