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

Method menuAction

src/main/java/VCard/VCardEdit.java:114–142  ·  view source on GitHub ↗
(MenuCommand c, VirtualList d)

Source from the content-addressed store, hash-verified

112 }
113
114 public void menuAction(MenuCommand c, VirtualList d) {
115 if (c==cmdRefresh) {
116 VCard.request(vcard.getJid(), vcard.getId().substring(5));
117 destroyView();
118 }
119
120//#if FILE_IO
121 if (c==cmdLoadPhoto) {
122 st=1;
123 new Browser(null, this, false);
124 }
125 if (c==cmdSavePhoto) {
126 st=2;
127 new Browser(null, this, true);
128 }
129//#endif
130//#ifndef NOMMEDIA
131//# if (c==cmdCamera)
132//# new CameraImage(this, this);
133//#endif
134 if (c==cmdDelPhoto) {
135 vcard.dropPhoto();
136 setPhoto();
137 }
138 if (c==cmdPublish)
139 publish();
140
141 super.menuAction(c, d);
142 }
143
144
145 public void run() {

Callers

nothing calls this directly

Calls 8

requestMethod · 0.95
setPhotoMethod · 0.95
publishMethod · 0.95
getIdMethod · 0.80
dropPhotoMethod · 0.80
menuActionMethod · 0.65
getJidMethod · 0.45
destroyViewMethod · 0.45

Tested by

no test coverage detected