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/QuickSetupPanel.java | 15 +++++++++++++--
1 files changed, 13 insertions(+), 2 deletions(-)
diff --git a/opends/src/quicksetup/org/opends/quicksetup/ui/QuickSetupPanel.java b/opends/src/quicksetup/org/opends/quicksetup/ui/QuickSetupPanel.java
index 98c1d35..8c2e87e 100644
--- a/opends/src/quicksetup/org/opends/quicksetup/ui/QuickSetupPanel.java
+++ b/opends/src/quicksetup/org/opends/quicksetup/ui/QuickSetupPanel.java
@@ -43,13 +43,16 @@
{
private static final long serialVersionUID = 2096518919339628055L;
+ private GuiApplication application;
+
/**
* The basic constructor to be called by the subclasses.
- *
+ * @param application Application this panel represents
*/
- protected QuickSetupPanel()
+ protected QuickSetupPanel(GuiApplication application)
{
super();
+ this.application = application;
setOpaque(false);
}
@@ -81,6 +84,14 @@
}
/**
+ * Gets the application this panel represents.
+ * @return GuiApplication this panel represents
+ */
+ protected GuiApplication getApplication() {
+ return this.application;
+ }
+
+ /**
* Returns a localized message for a key value. In the properties file we
* have something of type:
* key=value
--
Gitblit v1.10.0