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/guitools/org/opends/guitools/controlpanel/ui/AbstractNewEntryPanel.java | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/opendj3-server-dev/src/guitools/org/opends/guitools/controlpanel/ui/AbstractNewEntryPanel.java b/opendj3-server-dev/src/guitools/org/opends/guitools/controlpanel/ui/AbstractNewEntryPanel.java
index 61e9c36..e76b102 100644
--- a/opendj3-server-dev/src/guitools/org/opends/guitools/controlpanel/ui/AbstractNewEntryPanel.java
+++ b/opendj3-server-dev/src/guitools/org/opends/guitools/controlpanel/ui/AbstractNewEntryPanel.java
@@ -42,7 +42,7 @@
import org.opends.guitools.controlpanel.ui.nodes.BasicNode;
import org.opends.guitools.controlpanel.util.BackgroundTask;
import org.opends.guitools.controlpanel.util.Utilities;
-import org.opends.messages.Message;
+import org.forgerock.i18n.LocalizableMessage;
import org.opends.server.types.Entry;
import org.opends.server.types.LDIFImportConfig;
import org.opends.server.util.LDIFException;
@@ -84,7 +84,7 @@
* Returns the title for the progress dialog.
* @return the title for the progress dialog.
*/
- protected abstract Message getProgressDialogTitle();
+ protected abstract LocalizableMessage getProgressDialogTitle();
/**
* Returns the LDIF representation of the new entry.
* @return the LDIF representation of the new entry.
@@ -95,7 +95,7 @@
* Updates the list of errors by checking the syntax of the entry.
* @param errors the list of errors that must be updated.
*/
- protected abstract void checkSyntax(ArrayList<Message> errors);
+ protected abstract void checkSyntax(ArrayList<LocalizableMessage> errors);
/**
* Returns <CODE>true</CODE> if the syntax of the entry must be checked in
@@ -113,7 +113,7 @@
*/
public void okClicked()
{
- final ArrayList<Message> errors = new ArrayList<Message>();
+ final ArrayList<LocalizableMessage> errors = new ArrayList<LocalizableMessage>();
if (checkSyntaxBackground())
{
@@ -160,7 +160,7 @@
* task.
* @param errors the list of errors.
*/
- private void handleErrorsAndLaunchTask(ArrayList<Message> errors)
+ private void handleErrorsAndLaunchTask(ArrayList<LocalizableMessage> errors)
{
Entry entry = null;
if (errors.size() == 0)
--
Gitblit v1.10.0