1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
| package foundation.menu;
|
| import foundation.dao.preload.Tree;
| import foundation.json.IJSONProvider;
|
| public class MenuTree extends Tree<Menu> implements IJSONProvider {
|
| private static MenuTree instance;
|
| public static MenuTree getInstance() {
| return instance;
| }
|
| public static MenuTree newInstance() {
| return new MenuTree();
| }
|
| public void activate() {
| instance = this;
| }
|
| }
|
|