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/datamodel/Action.java | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/opendj3-server-dev/src/guitools/org/opends/guitools/controlpanel/datamodel/Action.java b/opendj3-server-dev/src/guitools/org/opends/guitools/controlpanel/datamodel/Action.java
index 1b34e6f..319a3b3 100644
--- a/opendj3-server-dev/src/guitools/org/opends/guitools/controlpanel/datamodel/Action.java
+++ b/opendj3-server-dev/src/guitools/org/opends/guitools/controlpanel/datamodel/Action.java
@@ -22,12 +22,13 @@
*
*
* Copyright 2008 Sun Microsystems, Inc.
+ * Portions Copyright 2014 ForgeRock AS
*/
package org.opends.guitools.controlpanel.datamodel;
import org.opends.guitools.controlpanel.ui.StatusGenericPanel;
-import org.opends.messages.Message;
+import org.forgerock.i18n.LocalizableMessage;
/**
* The class that is used by the different action buttons on the left side of
@@ -36,7 +37,7 @@
*/
public class Action
{
- private Message name;
+ private LocalizableMessage name;
private Class<? extends StatusGenericPanel> associatedPanel;
@@ -44,7 +45,7 @@
* Returns the name of the action.
* @return the name of the action.
*/
- public Message getName()
+ public LocalizableMessage getName()
{
return name;
}
@@ -53,7 +54,7 @@
* Sets the name of the action.
* @param name the name of the action.
*/
- public void setName(Message name)
+ public void setName(LocalizableMessage name)
{
this.name = name;
}
--
Gitblit v1.10.0