directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r559860 - in /directory/studio/trunk/studio-apacheds-schemaeditor/src/main/java/org/apache/directory/studio/apacheds/schemaeditor/view: dialogs/EditAliasesDialog.java editors/objectclass/ObjectClassEditorOverviewPage.java
Date Thu, 26 Jul 2007 15:48:23 GMT
Author: pamarcelot
Date: Thu Jul 26 08:48:22 2007
New Revision: 559860

URL: http://svn.apache.org/viewvc?view=rev&rev=559860
Log:
Improve the TableViewers of the ObjectClassEditor

Modified:
    directory/studio/trunk/studio-apacheds-schemaeditor/src/main/java/org/apache/directory/studio/apacheds/schemaeditor/view/dialogs/EditAliasesDialog.java
    directory/studio/trunk/studio-apacheds-schemaeditor/src/main/java/org/apache/directory/studio/apacheds/schemaeditor/view/editors/objectclass/ObjectClassEditorOverviewPage.java

Modified: directory/studio/trunk/studio-apacheds-schemaeditor/src/main/java/org/apache/directory/studio/apacheds/schemaeditor/view/dialogs/EditAliasesDialog.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/studio-apacheds-schemaeditor/src/main/java/org/apache/directory/studio/apacheds/schemaeditor/view/dialogs/EditAliasesDialog.java?view=diff&rev=559860&r1=559859&r2=559860
==============================================================================
--- directory/studio/trunk/studio-apacheds-schemaeditor/src/main/java/org/apache/directory/studio/apacheds/schemaeditor/view/dialogs/EditAliasesDialog.java
(original)
+++ directory/studio/trunk/studio-apacheds-schemaeditor/src/main/java/org/apache/directory/studio/apacheds/schemaeditor/view/dialogs/EditAliasesDialog.java
Thu Jul 26 08:48:22 2007
@@ -258,7 +258,6 @@
                 if ( "".equals( text ) ) //$NON-NLS-1$
                 {
                     newAliasAddButton.setEnabled( false );
-                    return;
                 }
                 else if ( aliasesLowerCased.contains( text.toLowerCase() ) )
                 {

Modified: directory/studio/trunk/studio-apacheds-schemaeditor/src/main/java/org/apache/directory/studio/apacheds/schemaeditor/view/editors/objectclass/ObjectClassEditorOverviewPage.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/studio-apacheds-schemaeditor/src/main/java/org/apache/directory/studio/apacheds/schemaeditor/view/editors/objectclass/ObjectClassEditorOverviewPage.java?view=diff&rev=559860&r1=559859&r2=559860
==============================================================================
--- directory/studio/trunk/studio-apacheds-schemaeditor/src/main/java/org/apache/directory/studio/apacheds/schemaeditor/view/editors/objectclass/ObjectClassEditorOverviewPage.java
(original)
+++ directory/studio/trunk/studio-apacheds-schemaeditor/src/main/java/org/apache/directory/studio/apacheds/schemaeditor/view/editors/objectclass/ObjectClassEditorOverviewPage.java
Thu Jul 26 08:48:22 2007
@@ -920,7 +920,8 @@
 
         // SUPERIORS Table
         toolkit.createLabel( client_general_information, "Superior classes:" );
-        superiorsTable = toolkit.createTable( client_general_information, SWT.SINGLE | SWT.V_SCROLL
);
+        superiorsTable = toolkit.createTable( client_general_information, SWT.SINGLE | SWT.FULL_SELECTION
+            | SWT.H_SCROLL | SWT.V_SCROLL );
         GridData gridData = new GridData( SWT.FILL, SWT.NONE, true, false );
         gridData.heightHint = 45;
         gridData.minimumHeight = 45;
@@ -973,7 +974,8 @@
         layout.numColumns = 2;
         client.setLayout( layout );
 
-        mandatoryAttributesTable = toolkit.createTable( client, SWT.NULL );
+        mandatoryAttributesTable = toolkit.createTable( client, SWT.SINGLE | SWT.FULL_SELECTION
| SWT.H_SCROLL
+            | SWT.V_SCROLL );
         gd = new GridData( SWT.FILL, SWT.NONE, true, false );
         gd.verticalSpan = 2;
         gd.heightHint = 108;
@@ -1018,7 +1020,8 @@
         layout.numColumns = 2;
         client.setLayout( layout );
 
-        optionalAttributesTable = toolkit.createTable( client, SWT.SINGLE | SWT.V_SCROLL
);
+        optionalAttributesTable = toolkit.createTable( client, SWT.SINGLE | SWT.FULL_SELECTION
| SWT.H_SCROLL
+            | SWT.V_SCROLL );
         gd = new GridData( SWT.FILL, SWT.NONE, true, false );
         gd.verticalSpan = 2;
         gd.heightHint = 108;



Mime
View raw message