From 81d36161ce5367fa7aa9a5d99dc8b80eacfa7cdf Mon Sep 17 00:00:00 2001
From: Nicolas Capponi <nicolas.capponi@forgerock.com>
Date: Fri, 24 Jan 2014 14:43:46 +0000
Subject: [PATCH] Checkpoint commit for OPENDJ-1288 :    Migrate I18n and logging support to i18n framework and SLF4J

---
 opendj3-server-dev/src/quicksetup/org/opends/quicksetup/ui/QuickSetupStepPanel.java |   18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/opendj3-server-dev/src/quicksetup/org/opends/quicksetup/ui/QuickSetupStepPanel.java b/opendj3-server-dev/src/quicksetup/org/opends/quicksetup/ui/QuickSetupStepPanel.java
index 2dbab5a..197b44d 100644
--- a/opendj3-server-dev/src/quicksetup/org/opends/quicksetup/ui/QuickSetupStepPanel.java
+++ b/opendj3-server-dev/src/quicksetup/org/opends/quicksetup/ui/QuickSetupStepPanel.java
@@ -22,7 +22,7 @@
  *
  *
  *      Copyright 2006-2010 Sun Microsystems, Inc.
- *      Portions Copyright 2013 ForgeRock AS.
+ *      Portions Copyright 2013-2014 ForgeRock AS.
  */
 
 package org.opends.quicksetup.ui;
@@ -50,7 +50,7 @@
 import org.opends.quicksetup.util.ProgressMessageFormatter;
 import org.opends.quicksetup.util.URLWorker;
 import org.opends.quicksetup.util.Utils;
-import org.opends.messages.Message;
+import org.forgerock.i18n.LocalizableMessage;
 import static org.opends.messages.QuickSetupMessages.*;
 
 /**
@@ -258,16 +258,16 @@
    * @return the text to be displayed in the progress label for a give icon
    * type.
    */
-  protected Message getTextForIcon(UIFactory.IconType iconType)
+  protected LocalizableMessage getTextForIcon(UIFactory.IconType iconType)
   {
-    Message text;
+    LocalizableMessage text;
     if (iconType == UIFactory.IconType.WAIT)
     {
       text = INFO_GENERAL_CHECKING_DATA.get();
     }
     else
     {
-      text = Message.EMPTY;
+      text = LocalizableMessage.EMPTY;
     }
     return text;
   }
@@ -387,13 +387,13 @@
    * Returns the title of this panel.
    * @return the title of this panel.
    */
-  protected abstract Message getTitle();
+  protected abstract LocalizableMessage getTitle();
 
   /**
    * Returns the instruction of this panel.
    * @return the instruction of this panel.
    */
-  protected abstract Message getInstructions();
+  protected abstract LocalizableMessage getInstructions();
 
   /**
    * Commodity method that adds a vertical glue at the bottom of a given panel.
@@ -461,7 +461,7 @@
   private Component createTitlePanel()
   {
     Component titlePanel = null;
-    Message title = getTitle();
+    LocalizableMessage title = getTitle();
     if (title != null)
     {
       JPanel p = new JPanel(new GridBagLayout());
@@ -493,7 +493,7 @@
   protected Component createInstructionsPanel()
   {
     Component instructionsPanel = null;
-    Message instructions = getInstructions();
+    LocalizableMessage instructions = getInstructions();
     if (instructions != null)
     {
       JEditorPane p =

--
Gitblit v1.10.0