| | |
| | | * |
| | | * |
| | | * Copyright 2008-2009 Sun Microsystems, Inc. |
| | | * Portions Copyright 2014 ForgeRock AS |
| | | */ |
| | | |
| | | package org.opends.guitools.controlpanel.ui; |
| | |
| | | import org.opends.guitools.controlpanel.datamodel.ControlPanelInfo; |
| | | import org.opends.guitools.controlpanel.event.ConfigurationChangeEvent; |
| | | import org.opends.guitools.controlpanel.util.Utilities; |
| | | import org.opends.messages.Message; |
| | | import org.forgerock.i18n.LocalizableMessage; |
| | | |
| | | /** |
| | | * Dialog used to inform the user that there are unsaved changes in a panel. |
| | |
| | | * @param title the title of the message. |
| | | * @param details the details of the message. |
| | | */ |
| | | public void setMessage(Message title, Message details) |
| | | public void setMessage(LocalizableMessage title, LocalizableMessage details) |
| | | { |
| | | panel.updateConfirmationPane(panel.errorPane, title, |
| | | ColorAndFontConstants.errorTitleFont, details, |
| | |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | | public Message getTitle() |
| | | public LocalizableMessage getTitle() |
| | | { |
| | | return INFO_CTRL_PANEL_UNSAVED_CHANGES_DIALOG_TITLE.get(); |
| | | } |