From 4dfb0a8cfaced73346ec5dd6455813e83014b016 Mon Sep 17 00:00:00 2001
From: jvergara <jvergara@localhost>
Date: Tue, 21 Nov 2006 19:44:41 +0000
Subject: [PATCH] The following modifications are done to extract the code that provides the HTML formatting of the messages that appear in the progress panel.
---
opends/src/quicksetup/org/opends/quicksetup/ui/QuickSetupDialog.java | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/opends/src/quicksetup/org/opends/quicksetup/ui/QuickSetupDialog.java b/opends/src/quicksetup/org/opends/quicksetup/ui/QuickSetupDialog.java
index 4d85afd..f166232 100644
--- a/opends/src/quicksetup/org/opends/quicksetup/ui/QuickSetupDialog.java
+++ b/opends/src/quicksetup/org/opends/quicksetup/ui/QuickSetupDialog.java
@@ -48,6 +48,7 @@
import org.opends.quicksetup.installer.InstallProgressDescriptor;
import org.opends.quicksetup.installer.InstallProgressStep;
import org.opends.quicksetup.installer.UserInstallData;
+import org.opends.quicksetup.util.ProgressMessageFormatter;
import org.opends.quicksetup.util.Utils;
/**
@@ -338,6 +339,17 @@
}
/**
+ * Return the progress message formatter that will be used in the dialog
+ * to display the messages.
+ * @return the progress message formatter that will be used in the dialog
+ * to display the messages.
+ */
+ public ProgressMessageFormatter getFormatter()
+ {
+ return getCurrentStepPanel().getProgressPanel().getFormatter();
+ }
+
+ /**
* Marks as invalid (or valid depending on the value of the invalid parameter)
* a field corresponding to FieldName. This basically implies udpating the
* style of the JLabel associated with fieldName (the association is done
--
Gitblit v1.10.0