From e85e6d0af6875147e77127f10e0211c014ca28d9 Mon Sep 17 00:00:00 2001
From: kenneth_suter <kenneth_suter@localhost>
Date: Thu, 10 May 2007 14:16:11 +0000
Subject: [PATCH] This commit addresses several issues that Brian brought up regarding the upgrader.
---
opends/src/quicksetup/org/opends/quicksetup/uninstaller/Uninstaller.java | 16 +++++++++++++---
1 files changed, 13 insertions(+), 3 deletions(-)
diff --git a/opends/src/quicksetup/org/opends/quicksetup/uninstaller/Uninstaller.java b/opends/src/quicksetup/org/opends/quicksetup/uninstaller/Uninstaller.java
index f22b29f..0cebc3f 100644
--- a/opends/src/quicksetup/org/opends/quicksetup/uninstaller/Uninstaller.java
+++ b/opends/src/quicksetup/org/opends/quicksetup/uninstaller/Uninstaller.java
@@ -253,21 +253,21 @@
/**
* {@inheritDoc}
*/
- public String getCloseButtonToolTip() {
+ public String getCloseButtonToolTipKey() {
return "close-button-uninstall-tooltip";
}
/**
* {@inheritDoc}
*/
- public String getFinishButtonToolTip() {
+ public String getFinishButtonToolTipKey() {
return "finish-button-uninstall-tooltip";
}
/**
* {@inheritDoc}
*/
- public String getFinishButtonLabel() {
+ public String getFinishButtonLabelKey() {
return "finish-button-uninstall-label";
}
@@ -621,6 +621,16 @@
/**
* {@inheritDoc}
*/
+ public boolean isFinished() {
+ return getCurrentProgressStep() ==
+ UninstallProgressStep.FINISHED_SUCCESSFULLY
+ || getCurrentProgressStep() ==
+ UninstallProgressStep.FINISHED_WITH_ERROR;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
public void windowClosing(QuickSetupDialog dlg, WindowEvent evt) {
if (dlg.getDisplayedStep() == Step.PROGRESS) {
// Simulate a close button event
--
Gitblit v1.10.0