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

jvergara
03.23.2009 05d3ff594de61a9da5695d043e5664f7e898c7ce
Fix for issue 4336 (Control Panel: Structural changes won't refresh / no refresh button/menuentry)
Add a new 'Refresh Contents' menu item in the 'View' menu of the 'Manage Entries' dialog.
2 files modified
15 ■■■■■ changed files
opends/src/guitools/org/opends/guitools/controlpanel/ui/BrowseEntriesPanel.java 14 ●●●●● patch | view | raw | blame | history
opends/src/messages/messages/admin_tool.properties 1 ●●●● patch | view | raw | blame | history
opends/src/guitools/org/opends/guitools/controlpanel/ui/BrowseEntriesPanel.java
@@ -1275,7 +1275,7 @@
      }
      menus[0].setSelected(true);
      // Add the view menus
      // Add the referral and sort data menus
      menu.add(new JSeparator());
      final JCheckBoxMenuItem sortUserData =
        new JCheckBoxMenuItem(INFO_CTRL_PANEL_SORT_USER_DATA.get().toString());
@@ -1319,6 +1319,18 @@
          }
        }
      });
      // Add the refresh menu
      menu.add(new JSeparator());
      final JMenuItem refresh =
        new JMenuItem(INFO_CTRL_PANEL_REFRESH_DATA.get().toString());
      menu.add(refresh);
      refresh.addActionListener(new ActionListener()
      {
        public void actionPerformed(ActionEvent ev)
        {
          entryPane.getController().startRefresh(null);
        }
      });
      return menu;
    }
opends/src/messages/messages/admin_tool.properties
@@ -1540,6 +1540,7 @@
INFO_CTRL_PANEL_LDIF_VIEW_MENU=LDIF View
INFO_CTRL_PANEL_SORT_USER_DATA=Sort User Data
INFO_CTRL_PANEL_FOLLOW_REFERRALS=Follow Referrals
INFO_CTRL_PANEL_REFRESH_DATA=Refresh Contents
INFO_CTRL_PANEL_DELETE_ENTRY_MENU=Delete Entry...
INFO_CTRL_PANEL_DELETE_ENTRY_BUTTON=Delete Entry...
INFO_CTRL_PANEL_DELETE_BASE_DN_MENU=Delete Base DN...