From d4aaf35eaab80ef7fa76abb22e6d690f1e371a29 Mon Sep 17 00:00:00 2001
From: jvergara <jvergara@localhost>
Date: Fri, 06 Jul 2007 11:52:45 +0000
Subject: [PATCH] Move the progress icon inside the panels instead of putting it in the lower left side of the dialog.  Do not display the progress icon when the user clicks on "Launch Status Panel" at the end of the setup but update the icon and put it in busy mode.

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

diff --git a/opends/src/quicksetup/org/opends/quicksetup/installer/ui/DataReplicationPanel.java b/opends/src/quicksetup/org/opends/quicksetup/installer/ui/DataReplicationPanel.java
index c441344..c2b2394 100644
--- a/opends/src/quicksetup/org/opends/quicksetup/installer/ui/DataReplicationPanel.java
+++ b/opends/src/quicksetup/org/opends/quicksetup/installer/ui/DataReplicationPanel.java
@@ -299,6 +299,33 @@
   }
 
   /**
+   * {@inheritDoc}
+   */
+  protected String getTextForIcon(UIFactory.IconType iconType)
+  {
+    String text;
+    if ((iconType == UIFactory.IconType.WAIT) &&
+        rbReplicated.isSelected() && cbTopologyExists.isSelected())
+    {
+      text = getMsg("contacting-server-label");
+    }
+    else
+    {
+      text = super.getTextForIcon(iconType);
+    }
+    return text;
+  }
+
+
+  /**
+   * {@inheritDoc}
+   */
+  protected boolean hasCheckingLabel()
+  {
+    return true;
+  }
+
+  /**
    * Returns the default value for the provided field Name.
    * @param fieldName the field name for which we want to get the default
    * value.

--
Gitblit v1.10.0