From 7b882d3300019e3fa8d850bbd44ffc3aac68dc2d Mon Sep 17 00:00:00 2001
From: jvergara <jvergara@localhost>
Date: Thu, 19 Jul 2007 20:16:22 +0000
Subject: [PATCH] Use consistently the terminology "Base DN" instead of suffix in the graphical tools.
---
opends/src/quicksetup/org/opends/quicksetup/installer/Installer.java | 31 ++++++++++++++++++++++++++++++-
1 files changed, 30 insertions(+), 1 deletions(-)
diff --git a/opends/src/quicksetup/org/opends/quicksetup/installer/Installer.java b/opends/src/quicksetup/org/opends/quicksetup/installer/Installer.java
index d0b9333..b8dc41b 100644
--- a/opends/src/quicksetup/org/opends/quicksetup/installer/Installer.java
+++ b/opends/src/quicksetup/org/opends/quicksetup/installer/Installer.java
@@ -1462,7 +1462,9 @@
Installation installation = getInstallation();
String cmd = Utils.getPath(installation.getStatusPanelCommandFile());
cmd = UIFactory.applyFontToHtml(cmd, UIFactory.INSTRUCTIONS_MONOSPACE_FONT);
- String[] args = {formatter.getFormattedText(getInstallationPath()), cmd};
+ String[] args = {formatter.getFormattedText(getInstallationPath()),
+ getMsg("general-server-stopped"),
+ cmd};
hmSummary.put(InstallProgressStep.FINISHED_SUCCESSFULLY,
getFormattedSuccess(
getMsg("summary-install-finished-successfully", args)));
@@ -1474,6 +1476,33 @@
}
/**
+ * Updates the messages in the summary with the state of the server.
+ * @param hmSummary the Map containing the messages.
+ */
+ protected void updateSummaryWithServerState(
+ Map<InstallProgressStep, String> hmSummary)
+ {
+ Installation installation = getInstallation();
+ String cmd = Utils.getPath(installation.getStatusPanelCommandFile());
+ cmd = UIFactory.applyFontToHtml(cmd, UIFactory.INSTRUCTIONS_MONOSPACE_FONT);
+ String status;
+ if (installation.getStatus().isServerRunning())
+ {
+ status = getMsg("general-server-started");
+ }
+ else
+ {
+ status = getMsg("general-server-stopped");
+ }
+ String[] args = {formatter.getFormattedText(getInstallationPath()), status,
+ cmd};
+ hmSummary.put(InstallProgressStep.FINISHED_SUCCESSFULLY,
+ getFormattedSuccess(
+ getMsg("summary-install-finished-successfully", args)));
+ hmSummary.put(InstallProgressStep.FINISHED_WITH_ERROR,
+ getFormattedError(getMsg("summary-install-finished-with-error", args)));
+ }
+ /**
* Checks the value of <code>canceled</code> field and throws an
* ApplicationException if true. This indicates that the user has
* canceled this operation and the process of aborting should begin
--
Gitblit v1.10.0