|
10 | 10 |
|
11 | 11 | package org.openlowcode.module.system.page; |
12 | 12 |
|
| 13 | +import org.openlowcode.module.system.action.LaunchsessioncleaningAction; |
13 | 14 | import org.openlowcode.module.system.action.ModuleusagesummaryAction; |
| 15 | +import org.openlowcode.module.system.action.generated.AtgLaunchsearchmoduleusageAction; |
| 16 | +import org.openlowcode.module.system.action.generated.AtgLaunchsearchusersessionAction; |
14 | 17 | import org.openlowcode.module.system.data.Modulereport; |
15 | 18 | import org.openlowcode.module.system.page.generated.AbsShowmodulestatPage; |
16 | 19 | import org.openlowcode.server.graphic.SPageNode; |
@@ -46,15 +49,24 @@ public String generateTitle(Modulereport[] modulereport) { |
46 | 49 | @Override |
47 | 50 | protected SPageNode getContent() { |
48 | 51 | SComponentBand mainband = new SComponentBand(SComponentBand.DIRECTION_DOWN, this); |
49 | | - mainband.addElement(new SPageText("Module Summary", SPageText.TYPE_TITLE, this)); |
| 52 | + mainband.addElement(new SPageText("Server Usage", SPageText.TYPE_TITLE, this)); |
50 | 53 | mainband.addElement( |
51 | 54 | new SPageText("Modules installed on the server are listed below.", SPageText.TYPE_NORMAL, this)); |
52 | 55 | SObjectArray<Modulereport> modulereport = new SObjectArray<Modulereport>("MODULEREPORT", this.getModulereport(), |
53 | 56 | Modulereport.getDefinition(), this); |
54 | 57 |
|
55 | 58 | mainband.addElement(modulereport); |
| 59 | + SComponentBand buttonband = new SComponentBand(SComponentBand.DIRECTION_RIGHT,this); |
| 60 | + mainband.addElement(buttonband); |
56 | 61 | ModuleusagesummaryAction.ActionRef showmodulestat = ModuleusagesummaryAction.get().getActionRef(); |
57 | | - mainband.addElement(new SActionButton("Show usage stats", showmodulestat, this)); |
| 62 | + buttonband.addElement(new SActionButton("Show usage stats", showmodulestat, this)); |
| 63 | + LaunchsessioncleaningAction.ActionRef sessioncleaning = LaunchsessioncleaningAction.get().getActionRef(); |
| 64 | + buttonband.addElement(new SActionButton("Clean sessions",sessioncleaning,this)); |
| 65 | + AtgLaunchsearchusersessionAction.ActionRef searchsessions = AtgLaunchsearchusersessionAction.get().getActionRef(); |
| 66 | + buttonband.addElement(new SActionButton("Search sessions",searchsessions,this)); |
| 67 | + AtgLaunchsearchmoduleusageAction.ActionRef searchmoduleusage = AtgLaunchsearchmoduleusageAction.get().getActionRef(); |
| 68 | + buttonband.addElement(new SActionButton("Search module usage",searchmoduleusage,this)); |
| 69 | + |
58 | 70 | return mainband; |
59 | 71 | } |
60 | 72 |
|
|
0 commit comments