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

jvergara
17.02.2008 f68e7a69b0ccd407685901e1a0839bdc316a7373
opends/src/guitools/org/opends/guitools/controlpanel/ui/MainActionsPane.java
@@ -118,9 +118,7 @@
                {
                  panel.setInfo(getInfo());
                }
                dlg = new GenericDialog(
                    Utilities.getFrame(MainActionsPane.this),
                    panel);
                dlg = createDialog(panel);
                dialogs.put(action, dlg);
                Utilities.centerGoldenMean(dlg,
@@ -175,6 +173,18 @@
  }
  /**
   * Creates the dialog to be displayed using the provided panel.
   * @param panel the panel that will be contained in the dialog.
   * @return the dialog to be displayed using the provided panel.
   */
  protected GenericDialog createDialog(StatusGenericPanel panel)
  {
    return new GenericDialog(
        Utilities.getFrame(MainActionsPane.this),
        panel);
  }
  /**
   * Creates the categories contained by this panel.
   * @return the categories contained by this panel.
   */