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/GuiApplication.java |   23 ++++++-----------------
 1 files changed, 6 insertions(+), 17 deletions(-)

diff --git a/opends/src/quicksetup/org/opends/quicksetup/GuiApplication.java b/opends/src/quicksetup/org/opends/quicksetup/ui/GuiApplication.java
similarity index 94%
rename from opends/src/quicksetup/org/opends/quicksetup/GuiApplication.java
rename to opends/src/quicksetup/org/opends/quicksetup/ui/GuiApplication.java
index f078087..18f42f4 100644
--- a/opends/src/quicksetup/org/opends/quicksetup/GuiApplication.java
+++ b/opends/src/quicksetup/org/opends/quicksetup/ui/GuiApplication.java
@@ -25,11 +25,9 @@
  *      Portions Copyright 2007 Sun Microsystems, Inc.
  */
 
-package org.opends.quicksetup;
+package org.opends.quicksetup.ui;
 
-import org.opends.quicksetup.ui.FramePanel;
-import org.opends.quicksetup.ui.QuickSetupDialog;
-import org.opends.quicksetup.ui.QuickSetupStepPanel;
+import org.opends.quicksetup.*;
 
 import javax.swing.*;
 import java.awt.event.WindowEvent;
@@ -65,16 +63,6 @@
   abstract public String getFrameTitle();
 
   /**
-   * Returns whether the installer has finished or not.
-   * @return <CODE>true</CODE> if the install is finished or <CODE>false
-   * </CODE> if not.
-   */
-  public boolean isFinished()
-  {
-    return getCurrentProgressStep().isLast();
-  }
-
-  /**
    * Returns the initial wizard step.
    * @return Step representing the first step to show in the wizard
    */
@@ -89,7 +77,7 @@
    * @param userData UserData representing the data specified by the user
    * @param dlg      QuickSetupDialog hosting the wizard
    */
-  protected void setDisplayedWizardStep(WizardStep step,
+  public void setDisplayedWizardStep(WizardStep step,
                                         UserData userData,
                                         QuickSetupDialog dlg) {
     this.displayedStep = step;
@@ -301,9 +289,10 @@
    * values found in QuickSetup.
    * @param cStep current wizard step
    * @param qs QuickSetup controller
-   * @throws UserDataException if there is a problem with the data
+   * @throws org.opends.quicksetup.UserDataException if there is a problem with
+   *  the data
    */
-  abstract protected void updateUserData(WizardStep cStep, QuickSetup qs)
+  public abstract void updateUserData(WizardStep cStep, QuickSetup qs)
           throws UserDataException;
 
   /**

--
Gitblit v1.10.0