ToBanlanceHandler.java
858 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
package cn.csbr.app.gui.handler;
import cn.csbr.app.gui.GUIContext;
import cn.csbr.app.gui.page.banlance.BanlanceMainPage;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
@Component
public class ToBanlanceHandler extends WithAuthToPageBaseHandler<BanlanceMainPage> {
@Autowired
private BanlanceMainPage mainPage;
@Autowired
private GUIContext guiContext;
@Override
protected String getMenuCode() {
return "h_banlance";
}
@Override
protected BanlanceMainPage createPage() {
return mainPage;
}
@Override
protected void toPre(BanlanceMainPage page) {
this.guiContext.getScanResult().clear();
this.guiContext.setCurrentPage(page);
}
@Override
protected void toEnd(BanlanceMainPage page) {
}
}