From 8954178f7ee9f6bc45ac3070f3f483027a2064f4 Mon Sep 17 00:00:00 2001
From: kenneth_suter <kenneth_suter@localhost>
Date: Mon, 02 Apr 2007 22:25:59 +0000
Subject: [PATCH] - Succeeded in removing the Utils.isUninstall() method.  All the logic that was being controlled by if statements using this method has been moved to the applications themselves (except for a few hacks that I've documented in the code)

---
 opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/upgrader/Upgrader.java |   63 ++++++++++++++++++++++++++++---
 1 files changed, 57 insertions(+), 6 deletions(-)

diff --git a/opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/upgrader/Upgrader.java b/opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/upgrader/Upgrader.java
index 672260c..d4f05a8 100644
--- a/opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/upgrader/Upgrader.java
+++ b/opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/upgrader/Upgrader.java
@@ -51,8 +51,8 @@
   /**
    * {@inheritDoc}
    */
-  public Step getFirstWizardStep() {
-    return Step.WELCOME;
+  public WizardStep getFirstWizardStep() {
+    return null;
   }
 
   /**
@@ -60,7 +60,7 @@
    */
   protected void setWizardDialogState(QuickSetupDialog dlg,
                                       UserData userData,
-                                      Step step) {
+                                      WizardStep step) {
   }
 
   /**
@@ -121,27 +121,78 @@
   /**
    * {@inheritDoc}
    */
-  public Set<Step> getWizardSteps() {
+  public Set<WizardStep> getWizardSteps() {
     return null;
   }
 
   /**
    * {@inheritDoc}
    */
-  public QuickSetupStepPanel createWizardStepPanel(Step step) {
+  public QuickSetupStepPanel createWizardStepPanel(WizardStep step) {
     return null;
   }
 
   /**
    * {@inheritDoc}
    */
-  public Step getNextWizardStep(Step step) {
+  public Step getNextWizardStep(WizardStep step) {
     return null;
   }
 
   /**
    * {@inheritDoc}
    */
+  public WizardStep getPreviousWizardStep(WizardStep step) {
+    return null;
+  }
+
+  /**
+   * {@inheritDoc}
+   */
+  public void quitClicked(WizardStep step, QuickSetup qs) {
+  }
+
+  /**
+   * {@inheritDoc}
+   */
+  protected void updateUserData(WizardStep cStep, QuickSetup qs)
+          throws UserDataException
+  {
+  }
+
+  /**
+   * {@inheritDoc}
+   */
+  public void previousClicked(WizardStep cStep, QuickSetup qs) {
+  }
+
+  /**
+   * {@inheritDoc}
+   */
+  public void finishClicked(final WizardStep cStep, final QuickSetup qs) {
+  }
+
+  /**
+   * {@inheritDoc}
+   */
+  public void nextClicked(WizardStep cStep, QuickSetup qs) {
+  }
+
+  /**
+   * {@inheritDoc}
+   */
+  public void closeClicked(WizardStep cStep, QuickSetup qs) {
+  }
+
+  /**
+   * {@inheritDoc}
+   */
+  public void cancelClicked(WizardStep cStep, QuickSetup qs) {
+  }
+
+  /**
+   * {@inheritDoc}
+   */
   public void run() {
   }
 

--
Gitblit v1.10.0