From 247adc2b524e82e284fa74798ea1a21f2d754892 Mon Sep 17 00:00:00 2001
From: jvergara <jvergara@localhost>
Date: Fri, 06 Jul 2007 18:12:40 +0000
Subject: [PATCH] Add the code required to update the list of steps that appear on the left of the wizard dynamically.

---
 opends/src/quicksetup/org/opends/quicksetup/ui/QuickSetup.java |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)

diff --git a/opends/src/quicksetup/org/opends/quicksetup/ui/QuickSetup.java b/opends/src/quicksetup/org/opends/quicksetup/ui/QuickSetup.java
index 19d7b75..1f06876 100644
--- a/opends/src/quicksetup/org/opends/quicksetup/ui/QuickSetup.java
+++ b/opends/src/quicksetup/org/opends/quicksetup/ui/QuickSetup.java
@@ -172,6 +172,10 @@
       launchStatusPanelClicked();
       break;
 
+    case INPUT_PANEL_BUTTON:
+      inputPanelButtonClicked();
+      break;
+
     default:
       throw new IllegalArgumentException("Unknown button name: "
           + ev.getButtonName());
@@ -445,6 +449,17 @@
   }
 
   /**
+   * This method tries to update the visibility of the steps panel.  The
+   * contents are updated because the user clicked in one of the buttons
+   * that could make the steps panel to change.
+   *
+   */
+  private void inputPanelButtonClicked()
+  {
+    getDialog().getStepsPanel().updateStepVisibility(this);
+  }
+
+  /**
    * Method called when we want to quit the setup (for instance when the user
    * clicks on 'Close' or 'Quit' buttons and has confirmed that (s)he wants to
    * quit the program.

--
Gitblit v1.10.0