| | |
| | | * |
| | | * |
| | | * 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 |
| | |
| | | */ |
| | | public class Action |
| | | { |
| | | private Message name; |
| | | private LocalizableMessage name; |
| | | |
| | | private Class<? extends StatusGenericPanel> associatedPanel; |
| | | |
| | |
| | | * Returns the name of the action. |
| | | * @return the name of the action. |
| | | */ |
| | | public Message getName() |
| | | public LocalizableMessage getName() |
| | | { |
| | | return name; |
| | | } |
| | |
| | | * 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; |
| | | } |