01: package com.memoire.vainstall.tui;
02:
03: import com.memoire.vainstall.*;
04:
05: public class TuiEndStep extends TuiDefaultStep implements VAEndStep {
06: public TuiEndStep() {
07: }
08:
09: public void setStats(VAStats _stats) {
10: TuiWizard.clear();
11: TuiWizard.title();
12:
13: switch (VAGlobals.OPERATION) {
14: case VAGlobals.INSTALL:
15: TuiWizard.println(VAGlobals.i18n("TuiEndStep_Step7"));
16: break;
17: case VAGlobals.UPDATE:
18: TuiWizard.println(VAGlobals.i18n("TuiEndStep_Step6"));
19: break;
20: case VAGlobals.UNINSTALL:
21: TuiWizard.println(VAGlobals.i18n("TuiEndStep_Step3"));
22: break;
23: default:
24: TuiWizard.println(VAGlobals.i18n("TuiEndStep_StepN"));
25: break;
26: }
27:
28: TuiWizard.separator();
29: TuiWizard.println("");
30:
31: switch (VAGlobals.OPERATION) {
32: case VAGlobals.INSTALL:
33: TuiWizard
34: .println(VAGlobals.i18n("TuiEndStep_NowInstalled"));
35: break;
36: case VAGlobals.UPDATE:
37: TuiWizard.println(VAGlobals.i18n("TuiEndStep_NowUpdated"));
38: break;
39: case VAGlobals.UNINSTALL:
40: TuiWizard.println(VAGlobals
41: .i18n("TuiEndStep_NowUninstalled"));
42: break;
43: default:
44: TuiWizard.println(VAGlobals.i18n("UI_Unknown"));
45: break;
46: }
47:
48: TuiWizard.println("");
49: TuiWizard.println(_stats.getSuccessReport());
50:
51: for (int i = 10; i <= 22; i++)
52: TuiWizard.println("");
53: TuiWizard.info();
54: TuiWizard.println(VAGlobals.i18n("TuiEndStep_Continue"));
55: }
56: }
|