directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From seelm...@apache.org
Subject svn commit: r755503 - in /directory/studio/trunk/aciitemeditor/src/main/java/org/apache/directory/studio/aciitemeditor/model: UserClassWrapper.java UserClassWrapperFactory.java messages.properties messages_de.properties messages_fr.properties
Date Wed, 18 Mar 2009 08:11:57 GMT
Author: seelmann
Date: Wed Mar 18 08:11:57 2009
New Revision: 755503

URL: http://svn.apache.org/viewvc?rev=755503&view=rev
Log:
Fix for DIRSTUDIO-474 (Support for parentOfEntry userClass in ACI Editor)

Modified:
    directory/studio/trunk/aciitemeditor/src/main/java/org/apache/directory/studio/aciitemeditor/model/UserClassWrapper.java
    directory/studio/trunk/aciitemeditor/src/main/java/org/apache/directory/studio/aciitemeditor/model/UserClassWrapperFactory.java
    directory/studio/trunk/aciitemeditor/src/main/java/org/apache/directory/studio/aciitemeditor/model/messages.properties
    directory/studio/trunk/aciitemeditor/src/main/java/org/apache/directory/studio/aciitemeditor/model/messages_de.properties
    directory/studio/trunk/aciitemeditor/src/main/java/org/apache/directory/studio/aciitemeditor/model/messages_fr.properties

Modified: directory/studio/trunk/aciitemeditor/src/main/java/org/apache/directory/studio/aciitemeditor/model/UserClassWrapper.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/aciitemeditor/src/main/java/org/apache/directory/studio/aciitemeditor/model/UserClassWrapper.java?rev=755503&r1=755502&r2=755503&view=diff
==============================================================================
--- directory/studio/trunk/aciitemeditor/src/main/java/org/apache/directory/studio/aciitemeditor/model/UserClassWrapper.java
(original)
+++ directory/studio/trunk/aciitemeditor/src/main/java/org/apache/directory/studio/aciitemeditor/model/UserClassWrapper.java
Wed Mar 18 08:11:57 2009
@@ -58,6 +58,7 @@
         Map<Class, String> map = new HashMap<Class, String>();
         map.put( UserClass.AllUsers.class, "allUsers" ); //$NON-NLS-1$
         map.put( UserClass.ThisEntry.class, "thisEntry" ); //$NON-NLS-1$
+        map.put( UserClass.ParentOfEntry.class, "parentOfEntry" ); //$NON-NLS-1$
         map.put( UserClass.Name.class, "name" ); //$NON-NLS-1$
         map.put( UserClass.UserGroup.class, "userGroup" ); //$NON-NLS-1$
         map.put( UserClass.Subtree.class, "subtree" ); //$NON-NLS-1$
@@ -71,6 +72,7 @@
         Map<Class, String> map = new HashMap<Class, String>();
         map.put( UserClass.AllUsers.class, Messages.getString( "UserClassWrapper.userClass.allUsers.label"
) ); //$NON-NLS-1$
         map.put( UserClass.ThisEntry.class, Messages.getString( "UserClassWrapper.userClass.thisEntry.label"
) ); //$NON-NLS-1$
+        map.put( UserClass.ParentOfEntry.class, Messages.getString( "UserClassWrapper.userClass.parentOfEntry.label"
) ); //$NON-NLS-1$
         map.put( UserClass.Name.class, Messages.getString( "UserClassWrapper.userClass.name.label"
) ); //$NON-NLS-1$
         map.put( UserClass.UserGroup.class, Messages.getString( "UserClassWrapper.userClass.userGroup.label"
) ); //$NON-NLS-1$
         map.put( UserClass.Subtree.class, Messages.getString( "UserClassWrapper.userClass.subtree.label"
) ); //$NON-NLS-1$

Modified: directory/studio/trunk/aciitemeditor/src/main/java/org/apache/directory/studio/aciitemeditor/model/UserClassWrapperFactory.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/aciitemeditor/src/main/java/org/apache/directory/studio/aciitemeditor/model/UserClassWrapperFactory.java?rev=755503&r1=755502&r2=755503&view=diff
==============================================================================
--- directory/studio/trunk/aciitemeditor/src/main/java/org/apache/directory/studio/aciitemeditor/model/UserClassWrapperFactory.java
(original)
+++ directory/studio/trunk/aciitemeditor/src/main/java/org/apache/directory/studio/aciitemeditor/model/UserClassWrapperFactory.java
Wed Mar 18 08:11:57 2009
@@ -54,6 +54,11 @@
                     "", //$NON-NLS-1$
                     null ),
 
+                // parentOfEntry
+                new UserClassWrapper( UserClass.ParentOfEntry.class, "", //$NON-NLS-1$
+                    "", //$NON-NLS-1$
+                    null ),
+
                 // name
                 new UserClassWrapper( UserClass.Name.class, "\"", //$NON-NLS-1$
                     "\"", //$NON-NLS-1$

Modified: directory/studio/trunk/aciitemeditor/src/main/java/org/apache/directory/studio/aciitemeditor/model/messages.properties
URL: http://svn.apache.org/viewvc/directory/studio/trunk/aciitemeditor/src/main/java/org/apache/directory/studio/aciitemeditor/model/messages.properties?rev=755503&r1=755502&r2=755503&view=diff
==============================================================================
--- directory/studio/trunk/aciitemeditor/src/main/java/org/apache/directory/studio/aciitemeditor/model/messages.properties
(original)
+++ directory/studio/trunk/aciitemeditor/src/main/java/org/apache/directory/studio/aciitemeditor/model/messages.properties
Wed Mar 18 08:11:57 2009
@@ -18,6 +18,7 @@
 UserClassWrapper.userClass.name.label=Name
 UserClassWrapper.userClass.allUsers.label=All Users
 UserClassWrapper.userClass.thisEntry.label=This Entry
+UserClassWrapper.userClass.parentOfEntry.label=Parent of Entry
 UserClassWrapper.userClass.userGroup.label=User Group
 UserClassWrapper.userClass.subtree.label=Subtree
 UserClassWrapper.error.message=Invalid user class "{0}" with value "{1}"

Modified: directory/studio/trunk/aciitemeditor/src/main/java/org/apache/directory/studio/aciitemeditor/model/messages_de.properties
URL: http://svn.apache.org/viewvc/directory/studio/trunk/aciitemeditor/src/main/java/org/apache/directory/studio/aciitemeditor/model/messages_de.properties?rev=755503&r1=755502&r2=755503&view=diff
==============================================================================
--- directory/studio/trunk/aciitemeditor/src/main/java/org/apache/directory/studio/aciitemeditor/model/messages_de.properties
(original)
+++ directory/studio/trunk/aciitemeditor/src/main/java/org/apache/directory/studio/aciitemeditor/model/messages_de.properties
Wed Mar 18 08:11:57 2009
@@ -18,6 +18,7 @@
 UserClassWrapper.userClass.name.label=Name
 UserClassWrapper.userClass.allUsers.label=Alle Benutzer
 UserClassWrapper.userClass.thisEntry.label=Dieser Eintrag
+UserClassWrapper.userClass.parentOfEntry.label=Elterneintrag dieses Eintrags
 UserClassWrapper.userClass.userGroup.label=Benutzer Gruppe
 UserClassWrapper.userClass.subtree.label=Unterbaum
 UserClassWrapper.error.message=Un\u00FCltige Benutzer Klasse "{0}" mit Wert "{1}"

Modified: directory/studio/trunk/aciitemeditor/src/main/java/org/apache/directory/studio/aciitemeditor/model/messages_fr.properties
URL: http://svn.apache.org/viewvc/directory/studio/trunk/aciitemeditor/src/main/java/org/apache/directory/studio/aciitemeditor/model/messages_fr.properties?rev=755503&r1=755502&r2=755503&view=diff
==============================================================================
--- directory/studio/trunk/aciitemeditor/src/main/java/org/apache/directory/studio/aciitemeditor/model/messages_fr.properties
(original)
+++ directory/studio/trunk/aciitemeditor/src/main/java/org/apache/directory/studio/aciitemeditor/model/messages_fr.properties
Wed Mar 18 08:11:57 2009
@@ -18,6 +18,7 @@
 UserClassWrapper.userClass.name.label=Nom
 UserClassWrapper.userClass.allUsers.label=Tous les utilisateurs
 UserClassWrapper.userClass.thisEntry.label=Cette entr\u00E9e
+UserClassWrapper.userClass.parentOfEntry.label=Parent of Entry
 UserClassWrapper.userClass.userGroup.label=Groupe d'utilisateurs
 UserClassWrapper.userClass.subtree.label=Sous-arbre
 UserClassWrapper.error.message=Classe d'utilisateurs invalide "{0}" avec la valeur "{1}"



Mime
View raw message