| | |
| | | import org.opends.guitools.controlpanel.ui.nodes.BasicNode; |
| | | import org.opends.guitools.controlpanel.ui.nodes.BrowserNodeInfo; |
| | | import org.opends.guitools.controlpanel.util.Utilities; |
| | | import org.opends.messages.Message; |
| | | import org.forgerock.i18n.LocalizableMessage; |
| | | import org.opends.server.schema.SchemaConstants; |
| | | import org.opends.server.types.DN; |
| | | import org.opends.server.types.DirectoryException; |
| | |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | | public Message getTaskDescription() |
| | | public LocalizableMessage getTaskDescription() |
| | | { |
| | | return INFO_CTRL_PANEL_DELETE_ENTRY_TASK_DESCRIPTION.get(); |
| | | } |
| | |
| | | * {@inheritDoc} |
| | | */ |
| | | public boolean canLaunch(Task taskToBeLaunched, |
| | | Collection<Message> incompatibilityReasons) |
| | | Collection<LocalizableMessage> incompatibilityReasons) |
| | | { |
| | | boolean canLaunch = true; |
| | | if (!isServerRunning()) |
| | |
| | | equivalentCommandWithoutControlPrinted = true; |
| | | } |
| | | getProgressDialog().setSummary( |
| | | Message.raw( |
| | | LocalizableMessage.raw( |
| | | Utilities.applyFont( |
| | | INFO_CTRL_PANEL_DELETING_ENTRY_SUMMARY.get( |
| | | lastDn.toString()).toString(), |
| | |
| | | equivalentCommandWithControlPrinted = true; |
| | | } |
| | | getProgressDialog().setSummary( |
| | | Message.raw( |
| | | LocalizableMessage.raw( |
| | | Utilities.applyFont( |
| | | INFO_CTRL_PANEL_DELETING_ENTRY_SUMMARY.get( |
| | | lastDn.toString()).toString(), |