directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r937274 - in /directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/dialogs: AttributeTypeSelectionDialog.java ObjectClassSelectionDialog.java
Date Fri, 23 Apr 2010 12:55:05 GMT
Author: pamarcelot
Date: Fri Apr 23 12:55:05 2010
New Revision: 937274

URL: http://svn.apache.org/viewvc?rev=937274&view=rev
Log:
Used SWT.SEARCH style bit for Mac OS X rendering of a native search field (does not affect
any other OS).

Modified:
    directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/dialogs/AttributeTypeSelectionDialog.java
    directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/dialogs/ObjectClassSelectionDialog.java

Modified: directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/dialogs/AttributeTypeSelectionDialog.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/dialogs/AttributeTypeSelectionDialog.java?rev=937274&r1=937273&r2=937274&view=diff
==============================================================================
--- directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/dialogs/AttributeTypeSelectionDialog.java
(original)
+++ directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/dialogs/AttributeTypeSelectionDialog.java
Fri Apr 23 12:55:05 2010
@@ -110,7 +110,7 @@ public class AttributeTypeSelectionDialo
         chooseLabel.setText( Messages.getString( "AttributeTypeSelectionDialog.ChooseAType"
) ); //$NON-NLS-1$
         chooseLabel.setLayoutData( new GridData( SWT.FILL, SWT.NONE, true, false ) );
 
-        searchText = new Text( composite, SWT.BORDER );
+        searchText = new Text( composite, SWT.BORDER | SWT.SEARCH );
         searchText.setLayoutData( new GridData( SWT.FILL, SWT.NONE, true, false ) );
         searchText.addModifyListener( new ModifyListener()
         {

Modified: directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/dialogs/ObjectClassSelectionDialog.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/dialogs/ObjectClassSelectionDialog.java?rev=937274&r1=937273&r2=937274&view=diff
==============================================================================
--- directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/dialogs/ObjectClassSelectionDialog.java
(original)
+++ directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/dialogs/ObjectClassSelectionDialog.java
Fri Apr 23 12:55:05 2010
@@ -110,7 +110,7 @@ public class ObjectClassSelectionDialog 
         chooseLabel.setText( Messages.getString( "ObjectClassSelectionDialog.ChooseClass"
) ); //$NON-NLS-1$
         chooseLabel.setLayoutData( new GridData( SWT.FILL, SWT.NONE, true, false ) );
 
-        searchText = new Text( composite, SWT.BORDER );
+        searchText = new Text( composite, SWT.BORDER | SWT.SEARCH );
         searchText.setLayoutData( new GridData( SWT.FILL, SWT.NONE, true, false ) );
         searchText.addModifyListener( new ModifyListener()
         {



Mime
View raw message