| | |
| | | * |
| | | * |
| | | * Copyright 2008-2010 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.task.Task; |
| | | import org.opends.guitools.controlpanel.util.Utilities; |
| | | import org.opends.messages.Message; |
| | | import org.forgerock.i18n.LocalizableMessage; |
| | | |
| | | /** |
| | | * The menu bar that appears on the main panel. |
| | |
| | | if (runningTasks.size() > 0) |
| | | { |
| | | String allTasks = Utilities.getStringFromCollection(runningTasks, "<br>"); |
| | | Message title = INFO_CTRL_PANEL_CONFIRMATION_REQUIRED_SUMMARY.get(); |
| | | Message msg = |
| | | LocalizableMessage title = INFO_CTRL_PANEL_CONFIRMATION_REQUIRED_SUMMARY.get(); |
| | | LocalizableMessage msg = |
| | | INFO_CTRL_PANEL_RUNNING_TASKS_CONFIRMATION_DETAILS.get(allTasks); |
| | | confirmed = Utilities.displayConfirmationDialog( |
| | | Utilities.getParentDialog(this), title, msg); |
| | |
| | | if (runningTasks.size() > 0) |
| | | { |
| | | String allTasks = Utilities.getStringFromCollection(runningTasks, "<br>"); |
| | | Message title = INFO_CTRL_PANEL_CONFIRMATION_REQUIRED_SUMMARY.get(); |
| | | Message msg = |
| | | LocalizableMessage title = INFO_CTRL_PANEL_CONFIRMATION_REQUIRED_SUMMARY.get(); |
| | | LocalizableMessage msg = |
| | | INFO_CTRL_PANEL_RUNNING_TASKS_CHANGE_SERVER_CONFIRMATION_DETAILS.get( |
| | | allTasks); |
| | | confirmed = Utilities.displayConfirmationDialog( |