From f4ee26cf95755a2ea8081cb38de9c7b1f1f01175 Mon Sep 17 00:00:00 2001
From: kenneth_suter <kenneth_suter@localhost>
Date: Tue, 17 Apr 2007 20:23:12 +0000
Subject: [PATCH] This commit introduces preliminary versions of the upgrader tool's GUI wizard panels. Effort has been made to make the panels conform to the design at
---
opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/Application.java | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/Application.java b/opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/Application.java
index 8c66069..520361f 100644
--- a/opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/Application.java
+++ b/opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/Application.java
@@ -34,6 +34,7 @@
import org.opends.quicksetup.util.Utils;
import org.opends.quicksetup.util.ProgressMessageFormatter;
import org.opends.quicksetup.i18n.ResourceProvider;
+import org.opends.quicksetup.ui.GuiApplication;
import java.io.PrintStream;
import java.io.ByteArrayOutputStream;
@@ -518,6 +519,16 @@
}
/**
+ * Returns whether the installer has finished or not.
+ * @return <CODE>true</CODE> if the install is finished or <CODE>false
+ * </CODE> if not.
+ */
+ public boolean isFinished()
+ {
+ return getCurrentProgressStep().isLast();
+ }
+
+ /**
* This class is used to notify the ProgressUpdateListeners of events
* that are written to the standard error. It is used in WebStartInstaller
* and in OfflineInstaller. These classes just create a ErrorPrintStream and
--
Gitblit v1.10.0