directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r527072 - /directory/ldapstudio/trunk/ldapstudio-apacheds-configuration/src/main/java/org/apache/directory/ldapstudio/apacheds/configuration/editor/
Date Tue, 10 Apr 2007 09:42:32 GMT
Author: pamarcelot
Date: Tue Apr 10 02:42:31 2007
New Revision: 527072

URL: http://svn.apache.org/viewvc?view=rev&rev=527072
Log:
Added a Delete button on the Extended Operations, Interceptors and Partitions Master Details
Block.

Modified:
    directory/ldapstudio/trunk/ldapstudio-apacheds-configuration/src/main/java/org/apache/directory/ldapstudio/apacheds/configuration/editor/ExtendedOperationsMasterDetailsBlock.java
    directory/ldapstudio/trunk/ldapstudio-apacheds-configuration/src/main/java/org/apache/directory/ldapstudio/apacheds/configuration/editor/InterceptorsMasterDetailsBlock.java
    directory/ldapstudio/trunk/ldapstudio-apacheds-configuration/src/main/java/org/apache/directory/ldapstudio/apacheds/configuration/editor/PartitionsMasterDetailsBlock.java

Modified: directory/ldapstudio/trunk/ldapstudio-apacheds-configuration/src/main/java/org/apache/directory/ldapstudio/apacheds/configuration/editor/ExtendedOperationsMasterDetailsBlock.java
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-apacheds-configuration/src/main/java/org/apache/directory/ldapstudio/apacheds/configuration/editor/ExtendedOperationsMasterDetailsBlock.java?view=diff&rev=527072&r1=527071&r2=527072
==============================================================================
--- directory/ldapstudio/trunk/ldapstudio-apacheds-configuration/src/main/java/org/apache/directory/ldapstudio/apacheds/configuration/editor/ExtendedOperationsMasterDetailsBlock.java
(original)
+++ directory/ldapstudio/trunk/ldapstudio-apacheds-configuration/src/main/java/org/apache/directory/ldapstudio/apacheds/configuration/editor/ExtendedOperationsMasterDetailsBlock.java
Tue Apr 10 02:42:31 2007
@@ -83,6 +83,7 @@
         Composite client = toolkit.createComposite( section, SWT.WRAP );
         GridLayout layout = new GridLayout();
         layout.numColumns = 2;
+        layout.makeColumnsEqualWidth = false;
         layout.marginWidth = 2;
         layout.marginHeight = 2;
         client.setLayout( layout );
@@ -91,7 +92,7 @@
 
         // Creatig the Table and Table Viewer
         Table table = toolkit.createTable( client, SWT.NULL );
-        GridData gd = new GridData( GridData.FILL_BOTH );
+        GridData gd = new GridData( SWT.FILL, SWT.FILL, true, true, 1, 2 );
         gd.heightHint = 20;
         gd.widthHint = 100;
         table.setLayoutData( gd );
@@ -115,9 +116,12 @@
                         "org.apache.directory.server.ldap.support.extended.LaunchDiagnosticUiHandler"
) } );
 
         // Creating the button(s)
-        Button b = toolkit.createButton( client, "Add...", SWT.PUSH ); //$NON-NLS-1$
+        Button addButton = toolkit.createButton( client, "Add...", SWT.PUSH ); //$NON-NLS-1$
         gd = new GridData( GridData.VERTICAL_ALIGN_BEGINNING );
-        b.setLayoutData( gd );
+        addButton.setLayoutData( gd );
+
+        Button deleteButton = toolkit.createButton( client, "Delete", SWT.PUSH );
+        deleteButton.setLayoutData( gd );
     }
 
 

Modified: directory/ldapstudio/trunk/ldapstudio-apacheds-configuration/src/main/java/org/apache/directory/ldapstudio/apacheds/configuration/editor/InterceptorsMasterDetailsBlock.java
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-apacheds-configuration/src/main/java/org/apache/directory/ldapstudio/apacheds/configuration/editor/InterceptorsMasterDetailsBlock.java?view=diff&rev=527072&r1=527071&r2=527072
==============================================================================
--- directory/ldapstudio/trunk/ldapstudio-apacheds-configuration/src/main/java/org/apache/directory/ldapstudio/apacheds/configuration/editor/InterceptorsMasterDetailsBlock.java
(original)
+++ directory/ldapstudio/trunk/ldapstudio-apacheds-configuration/src/main/java/org/apache/directory/ldapstudio/apacheds/configuration/editor/InterceptorsMasterDetailsBlock.java
Tue Apr 10 02:42:31 2007
@@ -85,6 +85,7 @@
         Composite client = toolkit.createComposite( section, SWT.WRAP );
         GridLayout layout = new GridLayout();
         layout.numColumns = 2;
+        layout.makeColumnsEqualWidth = false;
         layout.marginWidth = 2;
         layout.marginHeight = 2;
         client.setLayout( layout );
@@ -93,7 +94,7 @@
 
         // Creatig the Table and Table Viewer
         Table table = toolkit.createTable( client, SWT.NULL );
-        GridData gd = new GridData( GridData.FILL_BOTH );
+        GridData gd = new GridData( SWT.FILL, SWT.FILL, true, true, 1, 2 );
         gd.heightHint = 20;
         gd.widthHint = 100;
         table.setLayoutData( gd );
@@ -114,9 +115,12 @@
                 new Interceptor( "ReferalService" ), new Interceptor( "AuthorizationService"
) } );
 
         // Creating the button(s)
-        Button b = toolkit.createButton( client, "Add...", SWT.PUSH ); //$NON-NLS-1$
+        Button addButton = toolkit.createButton( client, "Add...", SWT.PUSH ); //$NON-NLS-1$
         gd = new GridData( GridData.VERTICAL_ALIGN_BEGINNING );
-        b.setLayoutData( gd );
+        addButton.setLayoutData( gd );
+
+        Button deleteButton = toolkit.createButton( client, "Delete", SWT.PUSH );
+        deleteButton.setLayoutData( gd );
     }
 
 

Modified: directory/ldapstudio/trunk/ldapstudio-apacheds-configuration/src/main/java/org/apache/directory/ldapstudio/apacheds/configuration/editor/PartitionsMasterDetailsBlock.java
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-apacheds-configuration/src/main/java/org/apache/directory/ldapstudio/apacheds/configuration/editor/PartitionsMasterDetailsBlock.java?view=diff&rev=527072&r1=527071&r2=527072
==============================================================================
--- directory/ldapstudio/trunk/ldapstudio-apacheds-configuration/src/main/java/org/apache/directory/ldapstudio/apacheds/configuration/editor/PartitionsMasterDetailsBlock.java
(original)
+++ directory/ldapstudio/trunk/ldapstudio-apacheds-configuration/src/main/java/org/apache/directory/ldapstudio/apacheds/configuration/editor/PartitionsMasterDetailsBlock.java
Tue Apr 10 02:42:31 2007
@@ -84,6 +84,7 @@
         Composite client = toolkit.createComposite( section, SWT.WRAP );
         GridLayout layout = new GridLayout();
         layout.numColumns = 2;
+        layout.makeColumnsEqualWidth = false;
         layout.marginWidth = 2;
         layout.marginHeight = 2;
         client.setLayout( layout );
@@ -92,7 +93,7 @@
 
         // Creatig the Table and Table Viewer
         Table table = toolkit.createTable( client, SWT.NULL );
-        GridData gd = new GridData( GridData.FILL_BOTH );
+        GridData gd = new GridData( SWT.FILL, SWT.FILL, true, true, 1, 2 );
         gd.heightHint = 20;
         gd.widthHint = 100;
         table.setLayoutData( gd );
@@ -112,9 +113,13 @@
             { new Partition( "System Partition" ), new Partition( "Example Partition" ) }
);
 
         // Creating the button(s)
-        Button b = toolkit.createButton( client, "Add...", SWT.PUSH ); //$NON-NLS-1$
+        Button addButton = toolkit.createButton( client, "Add...", SWT.PUSH ); //$NON-NLS-1$
         gd = new GridData( GridData.VERTICAL_ALIGN_BEGINNING );
-        b.setLayoutData( gd );
+        addButton.setLayoutData( gd );
+
+        Button deleteButton = toolkit.createButton( client, "Delete", SWT.PUSH );
+        deleteButton.setLayoutData( gd );
+
     }
 
 



Mime
View raw message