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/LabelFieldDescriptor.java | 13 +++++++------
1 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/opendj3-server-dev/src/quicksetup/org/opends/quicksetup/ui/LabelFieldDescriptor.java b/opendj3-server-dev/src/quicksetup/org/opends/quicksetup/ui/LabelFieldDescriptor.java
index d121feb..f1d3433 100644
--- a/opendj3-server-dev/src/quicksetup/org/opends/quicksetup/ui/LabelFieldDescriptor.java
+++ b/opendj3-server-dev/src/quicksetup/org/opends/quicksetup/ui/LabelFieldDescriptor.java
@@ -22,11 +22,12 @@
*
*
* Copyright 2006-2008 Sun Microsystems, Inc.
+ * Portions Copyright 2014 ForgeRock AS
*/
package org.opends.quicksetup.ui;
-import org.opends.messages.Message;
+import org.forgerock.i18n.LocalizableMessage;
/**
* This is a commodity class used to couple a label and a text component with
@@ -39,9 +40,9 @@
public class LabelFieldDescriptor
{
- private Message label;
+ private LocalizableMessage label;
- private Message tooltip;
+ private LocalizableMessage tooltip;
private FieldType type;
@@ -95,7 +96,7 @@
* @param labelType the type of label.
* @param size the size of the field.
*/
- public LabelFieldDescriptor(Message label, Message tooltip, FieldType type,
+ public LabelFieldDescriptor(LocalizableMessage label, LocalizableMessage tooltip, FieldType type,
LabelType labelType, int size)
{
this.label = label;
@@ -109,7 +110,7 @@
* Returns the String displayed by the label.
* @return the String displayed by the label.
*/
- public Message getLabel()
+ public LocalizableMessage getLabel()
{
return label;
}
@@ -127,7 +128,7 @@
* Returns the tooltip used in the field.
* @return the tooltip used in the field.
*/
- public Message getTooltip()
+ public LocalizableMessage getTooltip()
{
return tooltip;
}
--
Gitblit v1.10.0