directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r494856 - in /directory/trunks/ldapstudio/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas: model/AttributeType.java view/editors/AttributeTypeFormEditorOverviewPage.java
Date Wed, 10 Jan 2007 15:38:48 GMT
Author: pamarcelot
Date: Wed Jan 10 07:38:43 2007
New Revision: 494856

URL: http://svn.apache.org/viewvc?view=rev&rev=494856
Log:
Updating Schemas Plugin to match the new interface of some classes of the shared-ldap dependency.

Modified:
    directory/trunks/ldapstudio/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/model/AttributeType.java
    directory/trunks/ldapstudio/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/AttributeTypeFormEditorOverviewPage.java

Modified: directory/trunks/ldapstudio/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/model/AttributeType.java
URL: http://svn.apache.org/viewvc/directory/trunks/ldapstudio/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/model/AttributeType.java?view=diff&rev=494856&r1=494855&r2=494856
==============================================================================
--- directory/trunks/ldapstudio/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/model/AttributeType.java
(original)
+++ directory/trunks/ldapstudio/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/model/AttributeType.java
Wed Jan 10 07:38:43 2007
@@ -445,19 +445,19 @@
         UsageEnum usage = literal.getUsage();
         if ( usage != null )
         {
-            if ( usage == UsageEnum.DIRECTORYOPERATION )
+            if ( usage == UsageEnum.DIRECTORY_OPERATION )
             {
                 sb.append( "\tUSAGE directoryOperation \n" ); //$NON-NLS-1$
             }
-            else if ( usage == UsageEnum.DISTRIBUTEDOPERATION )
+            else if ( usage == UsageEnum.DISTRIBUTED_OPERATION )
             {
                 sb.append( "\tUSAGE distributedOperation \n" ); //$NON-NLS-1$
             }
-            else if ( usage == UsageEnum.DSAOPERATION )
+            else if ( usage == UsageEnum.DSA_OPERATION )
             {
                 sb.append( "\tUSAGE dSAOperation \n" ); //$NON-NLS-1$
             }
-            else if ( usage == UsageEnum.USERAPPLICATIONS )
+            else if ( usage == UsageEnum.USER_APPLICATIONS )
             {
                 // There's nothing to write, this is the default option
             }

Modified: directory/trunks/ldapstudio/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/AttributeTypeFormEditorOverviewPage.java
URL: http://svn.apache.org/viewvc/directory/trunks/ldapstudio/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/AttributeTypeFormEditorOverviewPage.java?view=diff&rev=494856&r1=494855&r2=494856
==============================================================================
--- directory/trunks/ldapstudio/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/AttributeTypeFormEditorOverviewPage.java
(original)
+++ directory/trunks/ldapstudio/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/AttributeTypeFormEditorOverviewPage.java
Wed Jan 10 07:38:43 2007
@@ -358,19 +358,19 @@
         usage_combo.add( "distributedOperation", 1 ); //$NON-NLS-1$
         usage_combo.add( "DSAOperation", 2 ); //$NON-NLS-1$
         usage_combo.add( "userApplications", 3 ); //$NON-NLS-1$
-        if ( attributeType.getUsage() == UsageEnum.DIRECTORYOPERATION )
+        if ( attributeType.getUsage() == UsageEnum.DIRECTORY_OPERATION )
         {
             usage_combo.select( 0 );
         }
-        else if ( attributeType.getUsage() == UsageEnum.DISTRIBUTEDOPERATION )
+        else if ( attributeType.getUsage() == UsageEnum.DISTRIBUTED_OPERATION )
         {
             usage_combo.select( 1 );
         }
-        else if ( attributeType.getUsage() == UsageEnum.DSAOPERATION )
+        else if ( attributeType.getUsage() == UsageEnum.DSA_OPERATION )
         {
             usage_combo.select( 2 );
         }
-        else if ( attributeType.getUsage() == UsageEnum.USERAPPLICATIONS )
+        else if ( attributeType.getUsage() == UsageEnum.USER_APPLICATIONS )
         {
             usage_combo.select( 3 );
         }
@@ -809,19 +809,19 @@
         // USAGE
         if ( usage_combo.getSelectionIndex() == 0 )
         {
-            attributeType.setUsage( UsageEnum.DIRECTORYOPERATION );
+            attributeType.setUsage( UsageEnum.DIRECTORY_OPERATION );
         }
         else if ( usage_combo.getSelectionIndex() == 1 )
         {
-            attributeType.setUsage( UsageEnum.DISTRIBUTEDOPERATION );
+            attributeType.setUsage( UsageEnum.DISTRIBUTED_OPERATION );
         }
         else if ( usage_combo.getSelectionIndex() == 2 )
         {
-            attributeType.setUsage( UsageEnum.DSAOPERATION );
+            attributeType.setUsage( UsageEnum.DSA_OPERATION );
         }
         else if ( usage_combo.getSelectionIndex() == 3 )
         {
-            attributeType.setUsage( UsageEnum.USERAPPLICATIONS );
+            attributeType.setUsage( UsageEnum.USER_APPLICATIONS );
         }
 
         // SYNTAX



Mime
View raw message