directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r547597 - /directory/studio/trunk/studio-schemaeditor-plugin/src/main/java/org/apache/directory/studio/schemas/view/editors/attributeType/ATESyntaxComboLabelProvider.java
Date Fri, 15 Jun 2007 09:54:27 GMT
Author: pamarcelot
Date: Fri Jun 15 02:54:26 2007
New Revision: 547597

URL: http://svn.apache.org/viewvc?view=rev&rev=547597
Log:
Fixed DIRSTUDIO-122 (Schema editor should allow a user to add an OID in the Syntax input box).

Modified:
    directory/studio/trunk/studio-schemaeditor-plugin/src/main/java/org/apache/directory/studio/schemas/view/editors/attributeType/ATESyntaxComboLabelProvider.java

Modified: directory/studio/trunk/studio-schemaeditor-plugin/src/main/java/org/apache/directory/studio/schemas/view/editors/attributeType/ATESyntaxComboLabelProvider.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/studio-schemaeditor-plugin/src/main/java/org/apache/directory/studio/schemas/view/editors/attributeType/ATESyntaxComboLabelProvider.java?view=diff&rev=547597&r1=547596&r2=547597
==============================================================================
--- directory/studio/trunk/studio-schemaeditor-plugin/src/main/java/org/apache/directory/studio/schemas/view/editors/attributeType/ATESyntaxComboLabelProvider.java
(original)
+++ directory/studio/trunk/studio-schemaeditor-plugin/src/main/java/org/apache/directory/studio/schemas/view/editors/attributeType/ATESyntaxComboLabelProvider.java
Fri Jun 15 02:54:26 2007
@@ -39,7 +39,9 @@
     {
         if ( obj instanceof Syntax )
         {
-            return ( ( Syntax ) obj ).getName();
+            Syntax syntax = ( Syntax ) obj;
+            
+            return syntax.getName() + "  -  (" + syntax.getOid()  + ")";
         }
         else if ( obj instanceof NonExistingSyntax )
         {



Mime
View raw message