From 4cd4ffb2771ea2d133b30273b1ffea0fef6b4552 Mon Sep 17 00:00:00 2001
From: kenneth_suter <kenneth_suter@localhost>
Date: Tue, 17 Apr 2007 20:23:12 +0000
Subject: [PATCH] This commit introduces preliminary versions of the upgrader tool's GUI wizard panels. Effort has been made to make the panels conform to the design at
---
opends/src/quicksetup/org/opends/quicksetup/ui/CurrentStepPanel.java | 8 +++-----
1 files changed, 3 insertions(+), 5 deletions(-)
diff --git a/opends/src/quicksetup/org/opends/quicksetup/ui/CurrentStepPanel.java b/opends/src/quicksetup/org/opends/quicksetup/ui/CurrentStepPanel.java
index 0d754df..9ce692a 100644
--- a/opends/src/quicksetup/org/opends/quicksetup/ui/CurrentStepPanel.java
+++ b/opends/src/quicksetup/org/opends/quicksetup/ui/CurrentStepPanel.java
@@ -34,7 +34,6 @@
import java.util.Set;
import org.opends.quicksetup.event.ButtonActionListener;
-import org.opends.quicksetup.installer.FieldName;
import org.opends.quicksetup.installer.Installer;
import org.opends.quicksetup.*;
@@ -58,15 +57,13 @@
private HashMap<WizardStep, QuickSetupStepPanel> hmPanels =
new HashMap<WizardStep, QuickSetupStepPanel>();
- private Application application;
-
/**
* The constructor of this class.
* @param app Application used to create panels for populating the layout
*/
public CurrentStepPanel(GuiApplication app)
{
- this.application = app;
+ super(app);
createLayout(app);
}
@@ -127,6 +124,7 @@
for (WizardStep step : steps) {
QuickSetupStepPanel panel = app.createWizardStepPanel(step);
if (panel != null) {
+ panel.initialize();
hmPanels.put(step, panel);
}
}
@@ -144,7 +142,7 @@
// For aesthetical reasons we add a little bit of height
// TODO: remove this hack
- if (application instanceof Installer)
+ if (getApplication() instanceof Installer)
{
minHeight += UIFactory.EXTRA_DIALOG_HEIGHT;
}
--
Gitblit v1.10.0