| | |
| | | * |
| | | * |
| | | * Copyright 2008-2009 Sun Microsystems, Inc. |
| | | * Portions Copyright 2014 ForgeRock AS |
| | | */ |
| | | |
| | | package org.opends.guitools.controlpanel.task; |
| | |
| | | import org.opends.guitools.controlpanel.ui.ColorAndFontConstants; |
| | | import org.opends.guitools.controlpanel.ui.ProgressDialog; |
| | | import org.opends.guitools.controlpanel.util.Utilities; |
| | | import org.opends.messages.Message; |
| | | import org.forgerock.i18n.LocalizableMessage; |
| | | |
| | | /** |
| | | * The task called when we want to restart the server. |
| | |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | | public Message getTaskDescription() |
| | | public LocalizableMessage getTaskDescription() |
| | | { |
| | | return INFO_CTRL_PANEL_RESTART_SERVER_TASK_DESCRIPTION.get(); |
| | | } |
| | |
| | | String cmdLine = getStopCommandLineName(); |
| | | printEquivalentCommandLine(cmdLine, getCommandLineArguments(), |
| | | INFO_CTRL_PANEL_EQUIVALENT_CMD_TO_STOP_SERVER.get()); |
| | | dlg.setSummary(Message.raw( |
| | | dlg.setSummary(LocalizableMessage.raw( |
| | | Utilities.applyFont( |
| | | INFO_CTRL_PANEL_STOPPING_SERVER_SUMMARY.get().toString(), |
| | | ColorAndFontConstants.defaultFont))); |
| | |
| | | printEquivalentCommandLine(cmdLine, getStartCommandLineArguments(), |
| | | INFO_CTRL_PANEL_EQUIVALENT_CMD_TO_START_SERVER.get()); |
| | | |
| | | dlg.setSummary(Message.raw( |
| | | dlg.setSummary(LocalizableMessage.raw( |
| | | Utilities.applyFont( |
| | | INFO_CTRL_PANEL_STARTING_SERVER_SUMMARY.get().toString(), |
| | | ColorAndFontConstants.defaultFont))); |