directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From seelm...@apache.org
Subject svn commit: r601146 - in /directory/studio/trunk: studio-aciitemeditor/src/main/java/org/apache/directory/studio/aciitemeditor/valueeditors/ studio-ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/dialogs/ studio-ldapbrow...
Date Tue, 04 Dec 2007 23:23:08 GMT
Author: seelmann
Date: Tue Dec  4 15:23:07 2007
New Revision: 601146

URL: http://svn.apache.org/viewvc?rev=601146&view=rev
Log:
Fixed non-working content proposals for LDAP filters.

Modified:
    directory/studio/trunk/studio-aciitemeditor/src/main/java/org/apache/directory/studio/aciitemeditor/valueeditors/SubtreeSpecificationDialog.java
    directory/studio/trunk/studio-ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/dialogs/FilterWidgetDialog.java
    directory/studio/trunk/studio-ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/search/FilterWidget.java

Modified: directory/studio/trunk/studio-aciitemeditor/src/main/java/org/apache/directory/studio/aciitemeditor/valueeditors/SubtreeSpecificationDialog.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/studio-aciitemeditor/src/main/java/org/apache/directory/studio/aciitemeditor/valueeditors/SubtreeSpecificationDialog.java?rev=601146&r1=601145&r2=601146&view=diff
==============================================================================
--- directory/studio/trunk/studio-aciitemeditor/src/main/java/org/apache/directory/studio/aciitemeditor/valueeditors/SubtreeSpecificationDialog.java
(original)
+++ directory/studio/trunk/studio-aciitemeditor/src/main/java/org/apache/directory/studio/aciitemeditor/valueeditors/SubtreeSpecificationDialog.java
Tue Dec  4 15:23:07 2007
@@ -439,8 +439,9 @@
         {
             filter = subtreeSpecification.getRefinement().toString();
         }
-        filterWidget = new FilterWidget( connection, filter );
+        filterWidget = new FilterWidget( filter );
         filterWidget.createWidget( composite );
+        filterWidget.setBrowserConnection( connection );
         filterButton.setSelection( !refinementButton.getSelection() );
         filterWidget.setEnabled( !refinementButton.getSelection() );
 

Modified: directory/studio/trunk/studio-ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/dialogs/FilterWidgetDialog.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/studio-ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/dialogs/FilterWidgetDialog.java?rev=601146&r1=601145&r2=601146&view=diff
==============================================================================
--- directory/studio/trunk/studio-ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/dialogs/FilterWidgetDialog.java
(original)
+++ directory/studio/trunk/studio-ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/dialogs/FilterWidgetDialog.java
Tue Dec  4 15:23:07 2007
@@ -137,8 +137,9 @@
         gd.widthHint = convertHorizontalDLUsToPixels( IDialogConstants.MINIMUM_MESSAGE_AREA_WIDTH
);
         inner.setLayoutData( gd );
 
-        filterWidget = new FilterWidget( connection, filter != null ? filter : "" );
+        filterWidget = new FilterWidget( filter != null ? filter : "" );
         filterWidget.createWidget( inner );
+        filterWidget.setBrowserConnection( connection );
         filterWidget.setFocus();
         filterWidget.addWidgetModifyListener( new WidgetModifyListener()
         {

Modified: directory/studio/trunk/studio-ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/search/FilterWidget.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/studio-ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/search/FilterWidget.java?rev=601146&r1=601145&r2=601146&view=diff
==============================================================================
--- directory/studio/trunk/studio-ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/search/FilterWidget.java
(original)
+++ directory/studio/trunk/studio-ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/search/FilterWidget.java
Tue Dec  4 15:23:07 2007
@@ -87,12 +87,10 @@
     /**
      * Creates a new instance of FilterWidget.
      * 
-     * @param browserConnection the connection
-     * @param initalFilter the inital filter
+     * @param initalFilter the initial filter
      */
-    public FilterWidget( IBrowserConnection browserConnection, String initalFilter )
+    public FilterWidget( String initalFilter )
     {
-        this.browserConnection = browserConnection;
         this.initalFilter = initalFilter;
     }
 
@@ -182,7 +180,6 @@
         filterCombo.setItems( history );
 
         // initial values
-        setBrowserConnection( browserConnection );
         filterCombo.setText( initalFilter == null ? "(objectClass=*)" : initalFilter );
     }
 



Mime
View raw message