directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r1428504 - /directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/ReplicationDetailsPage.java
Date Thu, 03 Jan 2013 17:43:25 GMT
Author: pamarcelot
Date: Thu Jan  3 17:43:24 2013
New Revision: 1428504

URL: http://svn.apache.org/viewvc?rev=1428504&view=rev
Log:
Removed the "All Operational Attributes" checkbox.
It's useless as the server will automatically add all operational attributes, they are required
internally for the replication.

Modified:
    directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/ReplicationDetailsPage.java

Modified: directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/ReplicationDetailsPage.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/ReplicationDetailsPage.java?rev=1428504&r1=1428503&r2=1428504&view=diff
==============================================================================
--- directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/ReplicationDetailsPage.java
(original)
+++ directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/ReplicationDetailsPage.java
Thu Jan  3 17:43:24 2013
@@ -116,7 +116,6 @@ public class ReplicationDetailsPage impl
     private Button oneLevelScopeButton;
     private Button objectScopeButton;
     private Button allAttributesCheckbox;
-    private Button allOperationalAttributesCheckbox;
     private TableViewer attributesTableViewer;
     private Button addAttributeButton;
     private Button editAttributeButton;
@@ -420,11 +419,6 @@ public class ReplicationDetailsPage impl
         allAttributesCheckbox = toolkit.createButton( composite, "All Attributes", SWT.CHECK
);
         allAttributesCheckbox.setLayoutData( new GridData( SWT.FILL, SWT.CENTER, true, false,
2, 1 ) );
 
-        // All Operational Attributes Checkbox
-        toolkit.createLabel( composite, "" ); //$NON-NLS-1$
-        allOperationalAttributesCheckbox = toolkit.createButton( composite, "All Operational
Attributes", SWT.CHECK );
-        allOperationalAttributesCheckbox.setLayoutData( new GridData( SWT.FILL, SWT.CENTER,
true, false, 2, 1 ) );
-
         // Attributes Table Viewer
         toolkit.createLabel( composite, "" ); //$NON-NLS-1$
         Composite attributesTableComposite = toolkit.createComposite( composite );
@@ -664,7 +658,6 @@ public class ReplicationDetailsPage impl
         oneLevelScopeButton.addSelectionListener( buttonSelectionListener );
         objectScopeButton.addSelectionListener( buttonSelectionListener );
         allAttributesCheckbox.addSelectionListener( buttonSelectionListener );
-        allOperationalAttributesCheckbox.addSelectionListener( buttonSelectionListener );
         attributesTableViewer.addDoubleClickListener( attributesTableViewerDoubleClickListener
);
         attributesTableViewer.addSelectionChangedListener( attributesTableViewerSelectionListener
);
         addAttributeButton.addSelectionListener( addAttributeButtonSelectionListener );
@@ -696,7 +689,6 @@ public class ReplicationDetailsPage impl
         oneLevelScopeButton.removeSelectionListener( buttonSelectionListener );
         objectScopeButton.removeSelectionListener( buttonSelectionListener );
         allAttributesCheckbox.removeSelectionListener( buttonSelectionListener );
-        allOperationalAttributesCheckbox.removeSelectionListener( buttonSelectionListener
);
         attributesTableViewer.removeDoubleClickListener( attributesTableViewerDoubleClickListener
);
         attributesTableViewer.removeSelectionChangedListener( attributesTableViewerSelectionListener
);
         addAttributeButton.removeSelectionListener( addAttributeButtonSelectionListener );
@@ -829,12 +821,6 @@ public class ReplicationDetailsPage impl
                 replAttributes.add( SchemaConstants.ALL_USER_ATTRIBUTES );
             }
 
-            // All Operational Attributes
-            if ( allOperationalAttributesCheckbox.getSelection() )
-            {
-                replAttributes.add( SchemaConstants.ALL_OPERATIONAL_ATTRIBUTES );
-            }
-
             input.setReplAttributes( replAttributes );
         }
     }
@@ -1097,17 +1083,6 @@ public class ReplicationDetailsPage impl
                 allAttributesCheckbox.setSelection( false );
             }
 
-            // All Operational Attributes Checkbox
-            if ( attributesList.contains( SchemaConstants.ALL_OPERATIONAL_ATTRIBUTES ) )
-            {
-                attributesList.remove( SchemaConstants.ALL_OPERATIONAL_ATTRIBUTES );
-                allOperationalAttributesCheckbox.setSelection( true );
-            }
-            else
-            {
-                allOperationalAttributesCheckbox.setSelection( false );
-            }
-
             attributesTableViewer.refresh();
         }
 



Mime
View raw message