From cfc513043c5830b5a967733066068c7097b42e3c Mon Sep 17 00:00:00 2001
From: kenneth_suter <kenneth_suter@localhost>
Date: Wed, 15 Aug 2007 21:34:53 +0000
Subject: [PATCH] This commit is a step toward getting OpenDS internationalized. There are still issues to be resolved before we can declare that we are internationalized but this commit covers the bulk of changes needed at this time.
---
opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/ui/LabelFieldDescriptor.java | 12 +++++++-----
1 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/ui/LabelFieldDescriptor.java b/opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/ui/LabelFieldDescriptor.java
index 22077a9..ea06752 100644
--- a/opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/ui/LabelFieldDescriptor.java
+++ b/opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/ui/LabelFieldDescriptor.java
@@ -27,6 +27,8 @@
package org.opends.quicksetup.ui;
+import org.opends.messages.Message;
+
/**
* This is a commodity class used to couple a label and a text component with
* a FieldName. It is mainly used by the QuickSetupStepPanel classes to
@@ -38,9 +40,9 @@
public class LabelFieldDescriptor
{
- private String label;
+ private Message label;
- private String tooltip;
+ private Message tooltip;
private FieldType type;
@@ -94,7 +96,7 @@
* @param labelType the type of label.
* @param size the size of the field.
*/
- public LabelFieldDescriptor(String label, String tooltip, FieldType type,
+ public LabelFieldDescriptor(Message label, Message tooltip, FieldType type,
LabelType labelType, int size)
{
this.label = label;
@@ -108,7 +110,7 @@
* Returns the String displayed by the label.
* @return the String displayed by the label.
*/
- public String getLabel()
+ public Message getLabel()
{
return label;
}
@@ -126,7 +128,7 @@
* Returns the tooltip used in the field.
* @return the tooltip used in the field.
*/
- public String getTooltip()
+ public Message getTooltip()
{
return tooltip;
}
--
Gitblit v1.10.0