From 6ba68335869125edfab5ebc453994d77ee93516c Mon Sep 17 00:00:00 2001
From: jvergara <jvergara@localhost>
Date: Mon, 17 Nov 2008 02:02:49 +0000
Subject: [PATCH] Fix for issue 3588 (Control Panel : not all Base DN available for VLV index creation) Set the name of the backend that is being displayed in the 'Manage Index' window when the user clicks on 'New Index...' or 'New VLV Index...' buttons.
---
opendj-sdk/opends/src/guitools/org/opends/guitools/controlpanel/ui/NewVLVIndexPanel.java | 12 +++++++++++-
1 files changed, 11 insertions(+), 1 deletions(-)
diff --git a/opendj-sdk/opends/src/guitools/org/opends/guitools/controlpanel/ui/NewVLVIndexPanel.java b/opendj-sdk/opends/src/guitools/org/opends/guitools/controlpanel/ui/NewVLVIndexPanel.java
index 786537f..26764ef 100644
--- a/opendj-sdk/opends/src/guitools/org/opends/guitools/controlpanel/ui/NewVLVIndexPanel.java
+++ b/opendj-sdk/opends/src/guitools/org/opends/guitools/controlpanel/ui/NewVLVIndexPanel.java
@@ -110,7 +110,7 @@
*/
public void configurationChanged(ConfigurationChangeEvent ev)
{
- if (updateLayout(ev))
+ if (updateLayout(ev.getNewDescriptor()))
{
updateErrorPaneAndOKButtonIfAuthRequired(ev.getNewDescriptor(),
INFO_CTRL_PANEL_AUTHENTICATION_REQUIRED_FOR_NEW_VLV.get());
@@ -118,6 +118,16 @@
}
/**
+ * Updates the contents of the panel with the provided backend.
+ * @param backend the backend where the index will be created.
+ */
+ public void update(BackendDescriptor backend)
+ {
+ updateBaseDNCombo(backend);
+ backendName.setText(backend.getBackendID());
+ }
+
+ /**
* {@inheritDoc}
*/
public void okClicked()
--
Gitblit v1.10.0