You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by se...@apache.org on 2007/09/07 14:40:41 UTC

svn commit: r573560 - /directory/studio/trunk/studio-ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/wizards/AttributeTypeWizardPage.java

Author: seelmann
Date: Fri Sep  7 05:40:40 2007
New Revision: 573560

URL: http://svn.apache.org/viewvc?rev=573560&view=rev
Log:
Fix for DIRSTUDIO-185

Modified:
    directory/studio/trunk/studio-ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/wizards/AttributeTypeWizardPage.java

Modified: directory/studio/trunk/studio-ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/wizards/AttributeTypeWizardPage.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/studio-ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/wizards/AttributeTypeWizardPage.java?rev=573560&r1=573559&r2=573560&view=diff
==============================================================================
--- directory/studio/trunk/studio-ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/wizards/AttributeTypeWizardPage.java (original)
+++ directory/studio/trunk/studio-ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/wizards/AttributeTypeWizardPage.java Fri Sep  7 05:40:40 2007
@@ -206,7 +206,7 @@
 
         // content proposal adapter
         attributeTypeCPA = new ContentProposalAdapter (attributeTypeCombo, new ComboContentAdapter(),
-            new ListContentProposalProvider( attributeTypeCombo.getItems() ), null, null );
+            new ListContentProposalProvider( possibleAttributeTypes ), null, null );
         attributeTypeCPA.setFilterStyle( ContentProposalAdapter.FILTER_NONE );
         attributeTypeCPA.setProposalAcceptanceStyle( ContentProposalAdapter.PROPOSAL_REPLACE );  
 
@@ -291,7 +291,6 @@
         {
             attributeTypeCombo.setItems( possibleAttributeTypes );
         }
-        attributeTypeCPA.setContentProposalProvider( new ListContentProposalProvider( attributeTypeCombo.getItems() ) );
         attributeTypeCombo.setText( value );
     }