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

Jean-Noel Rouvignac
23.44.2015 6638c2755466ca601450700d5a39f390f23d4781
opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/ui/DeleteBaseDNPanel.java
@@ -100,31 +100,24 @@
    createLayout();
  }
  /**
   * {@inheritDoc}
   */
  /** {@inheritDoc} */
  public LocalizableMessage getTitle()
  {
    return INFO_CTRL_PANEL_DELETE_BASE_DN_TITLE.get();
  }
  /**
   * {@inheritDoc}
   */
  /** {@inheritDoc} */
  public Component getPreferredFocusComponent()
  {
    return list;
  }
  /**
   * {@inheritDoc}
   */
  /** {@inheritDoc} */
  public boolean requiresScroll()
  {
    return false;
  }
  /**
   * Returns the no backend found label.
   * @return the no backend found label.
@@ -168,9 +161,7 @@
    {
      SwingUtilities.invokeLater(new Runnable()
      {
        /**
         * {@inheritDoc}
         */
        /** {@inheritDoc} */
        public void run()
        {
          @SuppressWarnings("deprecation")
@@ -271,9 +262,7 @@
        INFO_CTRL_PANEL_SELECT_ALL_BUTTON.get());
    selectAllButton.addActionListener(new ActionListener()
    {
      /**
       * {@inheritDoc}
       */
      /** {@inheritDoc} */
      public void actionPerformed(ActionEvent ev)
      {
        int[] indices = new int[list.getModel().getSize()];
@@ -297,9 +286,7 @@
        INFO_CTRL_PANEL_CLEAR_SELECTION_BUTTON.get());
    unselectAllButton.addActionListener(new ActionListener()
    {
      /**
       * {@inheritDoc}
       */
      /** {@inheritDoc} */
      public void actionPerformed(ActionEvent ev)
      {
        list.clearSelection();
@@ -309,9 +296,7 @@
    list.addListSelectionListener(new ListSelectionListener()
    {
      /**
       * {@inheritDoc}
       */
      /** {@inheritDoc} */
      public void valueChanged(ListSelectionEvent ev)
      {
        checkOKButtonEnable();
@@ -325,9 +310,7 @@
    mainPanel.add(Box.createVerticalGlue(), gbc);
  }
  /**
   * {@inheritDoc}
   */
  /** {@inheritDoc} */
  public void toBeDisplayed(boolean visible)
  {
    if (visible)
@@ -337,17 +320,13 @@
    }
  }
  /**
   * {@inheritDoc}
   */
  /** {@inheritDoc} */
  protected void checkOKButtonEnable()
  {
    setEnabledOK(!list.isSelectionEmpty() && mainPanel.isVisible());
  }
  /**
   * {@inheritDoc}
   */
  /** {@inheritDoc} */
  public void configurationChanged(ConfigurationChangeEvent ev)
  {
    ServerDescriptor desc = ev.getNewDescriptor();
@@ -369,9 +348,7 @@
      INFO_CTRL_PANEL_CANNOT_CONNECT_TO_REMOTE_DETAILS.get(desc.getHostname()));
  }
  /**
   * {@inheritDoc}
   */
  /** {@inheritDoc} */
  public void okClicked()
  {
    final LinkedHashSet<LocalizableMessage> errors = new LinkedHashSet<LocalizableMessage>();