| | |
| | | private Entry newEntry; |
| | | private BrowserController controller; |
| | | private TreePath treePath; |
| | | private boolean useAdminCtx = false; |
| | | |
| | | /** |
| | | * Constructor of the task. |
| | |
| | | { |
| | | BasicNode node = (BasicNode)treePath.getLastPathComponent(); |
| | | InitialLdapContext ctx = controller.findConnectionForDisplayedEntry(node); |
| | | useAdminCtx = controller.isConfigurationNode(node); |
| | | if (!mustRename) |
| | | { |
| | | if (modifications.size() > 0) { |
| | |
| | | { |
| | | public void run() |
| | | { |
| | | printEquivalentCommandToModify(newEntry.getDN(), modifications); |
| | | printEquivalentCommandToModify(newEntry.getDN(), modifications, |
| | | useAdminCtx); |
| | | getProgressDialog().appendProgressHtml( |
| | | Utilities.getProgressWithPoints( |
| | | INFO_CTRL_PANEL_MODIFYING_ENTRY.get(oldEntry.getDN()), |
| | |
| | | { |
| | | public void run() |
| | | { |
| | | printEquivalentRenameCommand(oldDN, newEntry.getDN()); |
| | | printEquivalentRenameCommand(oldDN, newEntry.getDN(), useAdminCtx); |
| | | getProgressDialog().appendProgressHtml( |
| | | Utilities.getProgressWithPoints( |
| | | INFO_CTRL_PANEL_RENAMING_ENTRY.get(oldDN.toString(), |
| | |
| | | public void run() |
| | | { |
| | | DN dn = newEntry.getDN(); |
| | | printEquivalentCommandToModify(dn, originalMods); |
| | | printEquivalentCommandToModify(dn, originalMods, useAdminCtx); |
| | | getProgressDialog().appendProgressHtml( |
| | | Utilities.getProgressWithPoints( |
| | | INFO_CTRL_PANEL_MODIFYING_ENTRY.get(dn.toString()), |