mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

kenneth_suter
24.37.2007 f6bff1e8c31ae6ebfabfdb478771216b9773a3c4
opends/src/quicksetup/org/opends/quicksetup/uninstaller/Uninstaller.java
@@ -131,20 +131,6 @@
   * {@inheritDoc}
   */
  public boolean canQuit(WizardStep step) {
    return false;
  }
  /**
   * {@inheritDoc}
   */
  public boolean canClose(WizardStep step) {
    return step == Step.PROGRESS;
  }
  /**
   * {@inheritDoc}
   */
  public boolean canCancel(WizardStep step) {
    return step == Step.CONFIRM_UNINSTALL;
  }
@@ -178,18 +164,6 @@
  }
  /**
   * {@inheritDoc}
   */
  public void cancelClicked(WizardStep cStep, QuickSetup qs) {
    if (cStep == Step.CONFIRM_UNINSTALL) {
      qs.quit();
    } else {
      throw new IllegalStateException(
          "Cancel only can be clicked on CONFIRM_UNINSTALL step");
    }
  }
  /**
   * Update the UserData object according to the content of the review
   * panel.
   */
@@ -633,6 +607,20 @@
  /**
   * {@inheritDoc}
   */
  public boolean isCancellable() {
    return false;
  }
  /**
   * {@inheritDoc}
   */
  public void cancel() {
    // do nothing; not cancellable
  }
  /**
   * {@inheritDoc}
   */
  public void windowClosing(QuickSetupDialog dlg, WindowEvent evt) {
    if (dlg.getDisplayedStep() == Step.PROGRESS) {
      // Simulate a close button event