blob: e008294c1d990e5c35a3999def9bb55ab80f38b5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
package cgeo.geocaching.enumerations;
import cgeo.geocaching.CgeoApplication;
import cgeo.geocaching.R;
public enum LogTypeTrackable {
DO_NOTHING("", R.string.log_tb_nothing),
VISITED("_Visited", R.string.log_tb_visit),
DROPPED_OFF("_DroppedOff", R.string.log_tb_drop);
final public String action;
final private int resourceId;
LogTypeTrackable(String action, int resourceId) {
this.action = action;
this.resourceId = resourceId;
}
public String getLabel() {
return CgeoApplication.getInstance().getString(resourceId);
}
}
|