| | |
| | | |
| | | package org.opends.guitools.controlpanel.browser; |
| | | |
| | | import static org.opends.messages.AdminToolMessages.*; |
| | | |
| | | import java.util.ArrayList; |
| | | import java.util.Set; |
| | | |
| | |
| | | import javax.swing.SwingUtilities; |
| | | import javax.swing.tree.TreeNode; |
| | | |
| | | import org.forgerock.opendj.ldap.SearchScope; |
| | | import org.opends.admin.ads.util.ConnectionUtils; |
| | | import org.opends.guitools.controlpanel.ui.nodes.BasicNode; |
| | | import org.opends.messages.AdminToolMessages; |
| | |
| | | import org.opends.server.types.LDAPURL; |
| | | import org.opends.server.types.OpenDsException; |
| | | import org.opends.server.types.RDN; |
| | | import org.opends.server.types.SearchScope; |
| | | |
| | | import static org.opends.messages.AdminToolMessages.*; |
| | | |
| | | /** |
| | | * The class that is in charge of doing the LDAP searches required to update a |
| | |
| | | { |
| | | SwingUtilities.invokeLater(new Runnable() |
| | | { |
| | | @Override |
| | | public void run() |
| | | { |
| | | controller.expandNode(node); |
| | |
| | | { |
| | | SwingUtilities.invokeAndWait(new Runnable() |
| | | { |
| | | @Override |
| | | public void run() |
| | | { |
| | | for (int i=0; i<getNode().getChildCount(); i++) |
| | |
| | | int scope; |
| | | if (url.getScope() != null) |
| | | { |
| | | switch (url.getScope()) |
| | | switch (url.getScope().asEnum()) |
| | | { |
| | | case BASE_OBJECT: |
| | | scope = SearchControls.OBJECT_SCOPE; |