directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From seelm...@apache.org
Subject svn commit: r493883 [2/2] - in /directory/sandbox/seelmann/trunk/ldapstudio-aciitemeditor: lib/ src/main/java/org/apache/directory/ldapstudio/aciitemeditor/ src/main/java/org/apache/directory/ldapstudio/aciitemeditor/dialogs/ src/main/java/org/apache/d...
Date Mon, 08 Jan 2007 00:07:37 GMT
Modified: directory/sandbox/seelmann/trunk/ldapstudio-aciitemeditor/src/main/java/org/apache/directory/ldapstudio/aciitemeditor/widgets/ACIItemSourceEditorComposite.java
URL: http://svn.apache.org/viewvc/directory/sandbox/seelmann/trunk/ldapstudio-aciitemeditor/src/main/java/org/apache/directory/ldapstudio/aciitemeditor/widgets/ACIItemSourceEditorComposite.java?view=diff&rev=493883&r1=493882&r2=493883
==============================================================================
--- directory/sandbox/seelmann/trunk/ldapstudio-aciitemeditor/src/main/java/org/apache/directory/ldapstudio/aciitemeditor/widgets/ACIItemSourceEditorComposite.java
(original)
+++ directory/sandbox/seelmann/trunk/ldapstudio-aciitemeditor/src/main/java/org/apache/directory/ldapstudio/aciitemeditor/widgets/ACIItemSourceEditorComposite.java
Sun Jan  7 16:07:36 2007
@@ -22,6 +22,7 @@
 
 import java.text.ParseException;
 
+import org.apache.directory.ldapstudio.aciitemeditor.ACIItemValueWithContext;
 import org.apache.directory.ldapstudio.aciitemeditor.Activator;
 import org.apache.directory.shared.ldap.aci.ACIItemParser;
 import org.eclipse.jface.resource.JFaceResources;
@@ -144,4 +145,16 @@
     {
         return sourceEditor.getDocument().get();
     }
+
+
+    /**
+     * Sets the context.
+     * 
+     * @param context the context
+     */
+    public void setContext( ACIItemValueWithContext context )
+    {
+        
+    }
+    
 }

Modified: directory/sandbox/seelmann/trunk/ldapstudio-aciitemeditor/src/main/java/org/apache/directory/ldapstudio/aciitemeditor/widgets/ACIItemTabFolderComposite.java
URL: http://svn.apache.org/viewvc/directory/sandbox/seelmann/trunk/ldapstudio-aciitemeditor/src/main/java/org/apache/directory/ldapstudio/aciitemeditor/widgets/ACIItemTabFolderComposite.java?view=diff&rev=493883&r1=493882&r2=493883
==============================================================================
--- directory/sandbox/seelmann/trunk/ldapstudio-aciitemeditor/src/main/java/org/apache/directory/ldapstudio/aciitemeditor/widgets/ACIItemTabFolderComposite.java
(original)
+++ directory/sandbox/seelmann/trunk/ldapstudio-aciitemeditor/src/main/java/org/apache/directory/ldapstudio/aciitemeditor/widgets/ACIItemTabFolderComposite.java
Sun Jan  7 16:07:36 2007
@@ -23,6 +23,7 @@
 
 import java.text.ParseException;
 
+import org.apache.directory.ldapstudio.aciitemeditor.ACIItemValueWithContext;
 import org.apache.directory.ldapstudio.aciitemeditor.Activator;
 import org.eclipse.core.runtime.IStatus;
 import org.eclipse.core.runtime.Status;
@@ -269,6 +270,18 @@
             String input = sourceComposite.getInput();
             return input;
         }
+    }
+    
+    
+    /**
+     * Sets the context.
+     * 
+     * @param context the context
+     */
+    public void setContext( ACIItemValueWithContext context )
+    {
+        sourceComposite.setContext( context );
+        visualComposite.setContext( context );
     }
 
 }

Modified: directory/sandbox/seelmann/trunk/ldapstudio-aciitemeditor/src/main/java/org/apache/directory/ldapstudio/aciitemeditor/widgets/ACIItemUserClassesComposite.java
URL: http://svn.apache.org/viewvc/directory/sandbox/seelmann/trunk/ldapstudio-aciitemeditor/src/main/java/org/apache/directory/ldapstudio/aciitemeditor/widgets/ACIItemUserClassesComposite.java?view=diff&rev=493883&r1=493882&r2=493883
==============================================================================
--- directory/sandbox/seelmann/trunk/ldapstudio-aciitemeditor/src/main/java/org/apache/directory/ldapstudio/aciitemeditor/widgets/ACIItemUserClassesComposite.java
(original)
+++ directory/sandbox/seelmann/trunk/ldapstudio-aciitemeditor/src/main/java/org/apache/directory/ldapstudio/aciitemeditor/widgets/ACIItemUserClassesComposite.java
Sun Jan  7 16:07:36 2007
@@ -24,16 +24,16 @@
 import java.util.ArrayList;
 import java.util.Arrays;
 import java.util.Collection;
-import java.util.HashMap;
 import java.util.List;
-import java.util.Map;
 
+import org.apache.directory.ldapstudio.aciitemeditor.ACIItemValueWithContext;
 import org.apache.directory.ldapstudio.aciitemeditor.Activator;
-import org.apache.directory.ldapstudio.aciitemeditor.dialogs.TextDialog;
-import org.apache.directory.shared.ldap.aci.ACIItemParser;
+import org.apache.directory.ldapstudio.aciitemeditor.dialogs.MultiValuedDialog;
+import org.apache.directory.ldapstudio.aciitemeditor.model.UserClassWrapperFactory;
+import org.apache.directory.ldapstudio.aciitemeditor.model.UserClassWrapper;
+import org.apache.directory.ldapstudio.browser.ui.valueeditors.AbstractDialogStringValueEditor;
 import org.apache.directory.shared.ldap.aci.ProtectedItem;
 import org.apache.directory.shared.ldap.aci.UserClass;
-import org.apache.directory.shared.ldap.aci.UserFirstACIItem;
 import org.eclipse.jface.viewers.ArrayContentProvider;
 import org.eclipse.jface.viewers.CheckStateChangedEvent;
 import org.eclipse.jface.viewers.CheckboxTableViewer;
@@ -44,7 +44,6 @@
 import org.eclipse.jface.viewers.IStructuredSelection;
 import org.eclipse.jface.viewers.LabelProvider;
 import org.eclipse.jface.viewers.SelectionChangedEvent;
-import org.eclipse.osgi.util.NLS;
 import org.eclipse.swt.SWT;
 import org.eclipse.swt.events.SelectionAdapter;
 import org.eclipse.swt.events.SelectionEvent;
@@ -66,6 +65,9 @@
  */
 public class ACIItemUserClassesComposite extends Composite
 {
+    
+    /** The context. */
+    private ACIItemValueWithContext context;
 
     /** The inner composite for all the content */
     private Composite composite = null;
@@ -95,127 +97,7 @@
     private Button reverseSelectionButton = null;
 
     /** The possible user classes, used as input for the table viewer */
-    private UserClassWrapper[] userClassWrappers = new UserClassWrapper[]
-        { new UserClassWrapper( UserClass.AllUsers.class ), // allUsers
-            new UserClassWrapper( UserClass.ThisEntry.class ), // thisEntry
-            new UserClassWrapper( UserClass.Name.class ), // name { "cn=abc", "cn=def" }
-            new UserClassWrapper( UserClass.UserGroup.class ), // userGroup { "cn=abc", "cn=def"
}
-            new UserClassWrapper( UserClass.Subtree.class ) // subtree { { base \"ou=people\"
} }
-        };
-
-    /**
-     * The UserClassWrapper is used as input for the table viewer. 
-     * The user class values are always stored as raw string value.
-     *
-     * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
-     * @version $Rev$, $Date$
-     */
-    static class UserClassWrapper
-    {
-        /** This map contains all possible user class identifiers */
-        static final Map<Class, String> classToItemMap = new HashMap<Class, String>();
-        static
-        {
-            classToItemMap.put( UserClass.AllUsers.class, "allUsers" ); //$NON-NLS-1$
-            classToItemMap.put( UserClass.ThisEntry.class, "thisEntry" ); //$NON-NLS-1$
-            classToItemMap.put( UserClass.Name.class, "name" ); //$NON-NLS-1$
-            classToItemMap.put( UserClass.UserGroup.class, "userGroup" ); //$NON-NLS-1$
-            classToItemMap.put( UserClass.Subtree.class, "subtree" ); //$NON-NLS-1$
-        }
-
-        /** This map contains all user class display values */
-        static final Map<Class, String> classToDisplayMap = new HashMap<Class, String>();
-        static
-        {
-            classToDisplayMap.put( UserClass.AllUsers.class, Messages.getString("ACIItemUserClassesComposite.userClass.allUsers.label")
); //$NON-NLS-1$
-            classToDisplayMap.put( UserClass.ThisEntry.class, Messages.getString("ACIItemUserClassesComposite.userClass.thisEntry.label")
); //$NON-NLS-1$
-            classToDisplayMap.put( UserClass.Name.class, Messages.getString("ACIItemUserClassesComposite.userClass.name.label")
); //$NON-NLS-1$
-            classToDisplayMap.put( UserClass.UserGroup.class, Messages.getString("ACIItemUserClassesComposite.userClass.userGroup.label")
); //$NON-NLS-1$
-            classToDisplayMap.put( UserClass.Subtree.class, Messages.getString("ACIItemUserClassesComposite.userClass.subtree.label")
); //$NON-NLS-1$
-        }
-
-        /** A dummy ACI to check syntax of the userClassValue */
-        private static final String DUMMY = "{ identificationTag \"id1\", precedence 1, authenticationLevel
simple, " //$NON-NLS-1$
-            + "itemOrUserFirst userFirst: { userClasses  { #class# #value# }, " //$NON-NLS-1$
-            + "userPermissions { { protectedItems { entry }, grantsAndDenials { grantRead
} } } } }"; //$NON-NLS-1$
-
-        /** The class of the user class, never null. */
-        private final Class userClassClass;
-
-        /** The user class as string, may be empty. */
-        private String userClassValue;
-
-
-        /**
-         * Creates a new instance of UserClassWrapper.
-         *
-         * @param userClassClass
-         */
-        private UserClassWrapper( Class userClassClass )
-        {
-            this.userClassClass = userClassClass;
-            this.userClassValue = ""; //$NON-NLS-1$
-        }
-
-
-        private UserClass getUserClass() throws ParseException
-        {
-            String clazz = classToItemMap.get( userClassClass );
-            String spec = DUMMY;
-            spec = spec.replaceAll( "#class#", clazz ); //$NON-NLS-1$
-            spec = spec.replaceAll( "#value#", userClassValue ); //$NON-NLS-1$
-            ACIItemParser parser = new ACIItemParser( null );
-            UserFirstACIItem aci = null;
-            try
-            {
-                aci = ( UserFirstACIItem ) parser.parse( spec );
-            }
-            catch ( ParseException e )
-            {
-                String msg = NLS
-                .bind(
-                    Messages.getString( "ACIItemUserClassesComposite.error.message" ), new
String[] { clazz, userClassValue } ); //$NON-NLS-1$
-            throw new ParseException( msg, 0 );
-            }
-            UserClass userClass = ( UserClass ) aci.getUserClasses().iterator().next();
-            return userClass;
-        }
-
-
-        /**
-         * Returns a user-friedly string, displayed in the table.
-         */
-        public String toString()
-        {
-            String string = classToDisplayMap.get( userClassClass );
-            if ( string == null )
-                string = "<UNKNOWN>"; //$NON-NLS-1$
-            return string + getUserClassValue();
-        }
-
-
-        /**
-         * Helper to format the value
-         */
-        private String getUserClassValue()
-        {
-            String s = userClassValue;
-            if ( s.length() > 0 )
-            {
-                s = s.replace( '\r', ' ' );
-                s = s.replace( '\n', ' ' );
-                s = ": " + s; //$NON-NLS-1$
-                if ( s.length() > 40 )
-                {
-                    String temp = s;
-                    s = temp.substring( 0, 20 );
-                    s = s + "..."; //$NON-NLS-1$
-                    s = s + temp.substring( temp.length() - 20, temp.length() );
-                }
-            }
-            return s;
-        }
-    }
+    private UserClassWrapper[] userClassWrappers = UserClassWrapperFactory.createUserClassWrappers();
 
 
     /**
@@ -459,28 +341,38 @@
         }
     }
 
-
+    
     /**
-     * Sets the user classes. 
-     *
-     * @param userClasses
+     * Sets the context.
+     * 
+     * @param context the context
+     */
+    public void setContext( ACIItemValueWithContext context ) 
+    {
+        this.context = context;
+    }
+    
+    
+    /**
+     * Sets the user classes.
+     * 
+     * @param userClasses the user classes
      */
     public void setUserClasses( Collection<UserClass> userClasses )
     {
+        // reset first
+        for ( UserClassWrapper userClassWrapper : userClassWrappers )
+        {
+            tableViewer.setChecked( userClassWrapper, false );
+        }
+        
         for ( UserClass userClass : userClasses )
         {
             for ( UserClassWrapper userClassWrapper : userClassWrappers )
             {
-                if ( userClassWrapper.userClassClass == userClass.getClass() )
+                if ( userClassWrapper.getClazz() == userClass.getClass() )
                 {
-                    StringBuffer buffer = new StringBuffer();
-                    userClass.printToBuffer( buffer );
-                    String s = buffer.toString();
-                    if ( s.indexOf( ' ' ) > -1 )
-                    {
-                        s = s.substring( s.indexOf( ' ' ), s.length() );
-                        userClassWrapper.userClassValue = s;
-                    }
+                    userClassWrapper.setUserClass( userClass );
                     tableViewer.setChecked( userClassWrapper, true );
                 }
             }
@@ -556,8 +448,7 @@
     {
         UserClassWrapper userClassWrapper = getSelectedUserClassWrapper();
 
-        if ( userClassWrapper == null || userClassWrapper.userClassClass == UserClass.AllUsers.class
-            || userClassWrapper.userClassClass == UserClass.ThisEntry.class )
+        if ( userClassWrapper == null || !userClassWrapper.isEditable() )
         {
             editButton.setEnabled( false );
         }
@@ -579,20 +470,19 @@
 
 
     /**
-     * Called, when pushing the edit button. Opens the text editor.
-     *
+     * Called, when pushing the edit button. Opens the editor.
      */
     private void editUserClass()
     {
         UserClassWrapper userClassWrapper = getSelectedUserClassWrapper();
 
-        TextDialog dialog = new TextDialog( getShell(), userClassWrapper.userClassValue );
-        if ( dialog.open() == TextDialog.OK )
+        AbstractDialogStringValueEditor editor = userClassWrapper.getValueEditor();
+        if(editor != null)
         {
-            userClassWrapper.userClassValue = dialog.getText();
+            MultiValuedDialog dialog = new MultiValuedDialog( getShell(), userClassWrapper.getDisplayName(),
userClassWrapper.getValues(), context, editor );
+            dialog.open();
             refreshTable();
         }
-
     }
     
     

Modified: directory/sandbox/seelmann/trunk/ldapstudio-aciitemeditor/src/main/java/org/apache/directory/ldapstudio/aciitemeditor/widgets/ACIItemUserPermissionsComposite.java
URL: http://svn.apache.org/viewvc/directory/sandbox/seelmann/trunk/ldapstudio-aciitemeditor/src/main/java/org/apache/directory/ldapstudio/aciitemeditor/widgets/ACIItemUserPermissionsComposite.java?view=diff&rev=493883&r1=493882&r2=493883
==============================================================================
--- directory/sandbox/seelmann/trunk/ldapstudio-aciitemeditor/src/main/java/org/apache/directory/ldapstudio/aciitemeditor/widgets/ACIItemUserPermissionsComposite.java
(original)
+++ directory/sandbox/seelmann/trunk/ldapstudio-aciitemeditor/src/main/java/org/apache/directory/ldapstudio/aciitemeditor/widgets/ACIItemUserPermissionsComposite.java
Sun Jan  7 16:07:36 2007
@@ -25,9 +25,11 @@
 import java.util.Iterator;
 import java.util.List;
 
+import org.apache.directory.ldapstudio.aciitemeditor.ACIItemValueWithContext;
 import org.apache.directory.ldapstudio.aciitemeditor.Activator;
 import org.apache.directory.ldapstudio.aciitemeditor.dialogs.TextDialog;
 import org.apache.directory.ldapstudio.aciitemeditor.dialogs.UserPermissionDialog;
+import org.apache.directory.ldapstudio.aciitemeditor.model.ProtectedItemWrapper;
 import org.apache.directory.shared.ldap.aci.GrantAndDenial;
 import org.apache.directory.shared.ldap.aci.ProtectedItem;
 import org.apache.directory.shared.ldap.aci.UserPermission;
@@ -59,6 +61,9 @@
 public class ACIItemUserPermissionsComposite extends Composite
 {
 
+    /** The context. */
+    private ACIItemValueWithContext context;
+    
     /** The inner composite for all the content */
     private Composite composite = null;
 
@@ -77,10 +82,10 @@
     /** The add button */
     private Button addButton = null;
 
-    /** The select all button */
+    /** The edit button */
     private Button editButton = null;
 
-    /** The deselect all button */
+    /** The delete button */
     private Button deleteButton = null;
 
     /** The selected user permissions, also input of the table viewer */
@@ -132,8 +137,7 @@
                     .iterator(); it.hasNext(); )
                 {
                     ProtectedItem item = it.next();
-                    String s = ACIItemProtectedItemsComposite.ProtectedItemWrapper.classToDisplayMap.get(
item
-                        .getClass() );
+                    String s = ProtectedItemWrapper.classToDisplayMap.get( item.getClass()
);
                     buffer.append( s );
 
                     if ( it.hasNext() )
@@ -361,6 +365,17 @@
         ( ( GridData ) getLayoutData() ).heightHint = visible ? -1 : 0;
     }
 
+    
+    /**
+     * Sets the context.
+     * 
+     * @param context the context
+     */
+    public void setContext( ACIItemValueWithContext context ) 
+    {
+        this.context = context;
+    }
+    
 
     /**
      * Sets the user permissions. 
@@ -428,7 +443,7 @@
      */
     private void addUserPermission()
     {
-        UserPermissionDialog dialog = new UserPermissionDialog( getShell(), null );
+        UserPermissionDialog dialog = new UserPermissionDialog( getShell(), null, context
);
         if ( dialog.open() == TextDialog.OK && dialog.getUserPermission() != null
)
         {
             UserPermissionWrapper userPermissionWrapper = new UserPermissionWrapper( dialog.getUserPermission()
);
@@ -448,7 +463,7 @@
         UserPermissionWrapper oldUserPermissionWrapper = getSelectedUserPermissionWrapper();
         if ( oldUserPermissionWrapper != null )
         {
-            UserPermissionDialog dialog = new UserPermissionDialog( getShell(), oldUserPermissionWrapper.userPermission
);
+            UserPermissionDialog dialog = new UserPermissionDialog( getShell(), oldUserPermissionWrapper.userPermission,
context );
             if ( dialog.open() == TextDialog.OK )
             {
                 oldUserPermissionWrapper.userPermission = dialog.getUserPermission();
@@ -492,4 +507,5 @@
         }
     }
 
+    
 }

Modified: directory/sandbox/seelmann/trunk/ldapstudio-aciitemeditor/src/main/java/org/apache/directory/ldapstudio/aciitemeditor/widgets/ACIItemVisualEditorComposite.java
URL: http://svn.apache.org/viewvc/directory/sandbox/seelmann/trunk/ldapstudio-aciitemeditor/src/main/java/org/apache/directory/ldapstudio/aciitemeditor/widgets/ACIItemVisualEditorComposite.java?view=diff&rev=493883&r1=493882&r2=493883
==============================================================================
--- directory/sandbox/seelmann/trunk/ldapstudio-aciitemeditor/src/main/java/org/apache/directory/ldapstudio/aciitemeditor/widgets/ACIItemVisualEditorComposite.java
(original)
+++ directory/sandbox/seelmann/trunk/ldapstudio-aciitemeditor/src/main/java/org/apache/directory/ldapstudio/aciitemeditor/widgets/ACIItemVisualEditorComposite.java
Sun Jan  7 16:07:36 2007
@@ -23,6 +23,7 @@
 import java.text.ParseException;
 import java.util.Collection;
 
+import org.apache.directory.ldapstudio.aciitemeditor.ACIItemValueWithContext;
 import org.apache.directory.shared.ldap.aci.ACIItem;
 import org.apache.directory.shared.ldap.aci.ACIItemParser;
 import org.apache.directory.shared.ldap.aci.AuthenticationLevel;
@@ -52,6 +53,7 @@
  */
 public class ACIItemVisualEditorComposite extends ScrolledComposite implements WidgetModifyListener
 {
+    
     /** The inner composite for all the content */
     private Composite composite = null;
 
@@ -189,7 +191,7 @@
      * populated to the GUI elements.
      * 
      *
-     * @param aciitem The string representation of the ACI item
+     * @param input The string representation of the ACI item
      * @throws ParseException if the syntax is invalid
      */
     public void setInput( String input ) throws ParseException
@@ -264,6 +266,20 @@
             aciItem.printToBuffer( buffer );
         }
         return buffer.toString();
+    }
+
+
+    /**
+     * Sets the context.
+     * 
+     * @param context the context
+     */
+    public void setContext( ACIItemValueWithContext context )
+    {
+        itemFirstProtectedItemsComposite.setContext( context );
+        itemFirstItemPermissionsComposite.setContext( context );
+        userFirstUserClassesComposite.setContext( context );
+        userFirstUserPermissionsComposite.setContext( context );
     }
 
 }

Added: directory/sandbox/seelmann/trunk/ldapstudio-aciitemeditor/src/main/resources/org/apache/directory/ldapstudio/aciitemeditor/model/messages.properties
URL: http://svn.apache.org/viewvc/directory/sandbox/seelmann/trunk/ldapstudio-aciitemeditor/src/main/resources/org/apache/directory/ldapstudio/aciitemeditor/model/messages.properties?view=auto&rev=493883
==============================================================================
--- directory/sandbox/seelmann/trunk/ldapstudio-aciitemeditor/src/main/resources/org/apache/directory/ldapstudio/aciitemeditor/model/messages.properties
(added)
+++ directory/sandbox/seelmann/trunk/ldapstudio-aciitemeditor/src/main/resources/org/apache/directory/ldapstudio/aciitemeditor/model/messages.properties
Sun Jan  7 16:07:36 2007
@@ -0,0 +1,20 @@
+UserClassWrapper.userClass.name.label=Name
+UserClassWrapper.userClass.allUsers.label=All Users
+UserClassWrapper.userClass.thisEntry.label=This Entry
+UserClassWrapper.userClass.userGroup.label=User Group
+UserClassWrapper.userClass.subtree.label=Subtree
+UserClassWrapper.error.message=Invalid user class "{0}" with value "{1}"
+
+ProtectedItemWrapper.protectedItem.entry.label=Entry
+ProtectedItemWrapper.protectedItem.allUserAttributeTypes.label=All User Attribute Types
+ProtectedItemWrapper.protectedItem.attributeType.label=Attribute Type
+ProtectedItemWrapper.protectedItem.allAttributeValues.label=All Attribute Values
+ProtectedItemWrapper.protectedItem.allUserAttributeTypesAndValues.label=All User Attribute
Types and Values
+ProtectedItemWrapper.protectedItem.attributeValue.label=Attribute Value
+ProtectedItemWrapper.protectedItem.selfValue.label=Self Value
+ProtectedItemWrapper.protectedItem.rangeOfValues.label=Range of Values
+ProtectedItemWrapper.protectedItem.maxValueCount.label=Max. Value Count
+ProtectedItemWrapper.protectedItem.maxImmSub.label=Max. Number of Immediate Subordinates
+ProtectedItemWrapper.protectedItem.restrictedBy.label=Restricted by
+ProtectedItemWrapper.protectedItem.classes.label=Classes
+ProtectedItemWrapper.error.message=Invalid protected item "{0}" with value "{1}"
\ No newline at end of file

Modified: directory/sandbox/seelmann/trunk/ldapstudio-aciitemeditor/src/main/resources/org/apache/directory/ldapstudio/aciitemeditor/widgets/messages.properties
URL: http://svn.apache.org/viewvc/directory/sandbox/seelmann/trunk/ldapstudio-aciitemeditor/src/main/resources/org/apache/directory/ldapstudio/aciitemeditor/widgets/messages.properties?view=diff&rev=493883&r1=493882&r2=493883
==============================================================================
--- directory/sandbox/seelmann/trunk/ldapstudio-aciitemeditor/src/main/resources/org/apache/directory/ldapstudio/aciitemeditor/widgets/messages.properties
(original)
+++ directory/sandbox/seelmann/trunk/ldapstudio-aciitemeditor/src/main/resources/org/apache/directory/ldapstudio/aciitemeditor/widgets/messages.properties
Sun Jan  7 16:07:36 2007
@@ -23,15 +23,9 @@
 ACIItemGrantsAndDenialsComposite.category.advanced=Advanced Rights
 ACIItemGrantsAndDenialsComposite.description=Grants and Denials:
 ACIItemGrantsAndDenialsComposite.grantAll.button=Grant All
-ACIItemUserClassesComposite.userClass.name.label=Name
 ACIItemGrantsAndDenialsComposite.denyAll.button=Deny All
 ACIItemProtectedItemsComposite.selectAll.button=Select All
 ACIItemGrantsAndDenialsComposite.deselectAll.button=Deselect All
-ACIItemUserClassesComposite.userClass.allUsers.label=All Users
-ACIItemUserClassesComposite.userClass.thisEntry.label=This Entry
-ACIItemUserClassesComposite.userClass.userGroup.label=User Group
-ACIItemUserClassesComposite.userClass.subtree.label=Subtree
-ACIItemProtectedItemsComposite.protectedItem.entry.label=Entry
 ACIItemGrantsAndDenialsComposite.undo.button=Undo
 ACIItemGrantsAndDenialsComposite.redo.button=Redo
 ACIItemProtectedItemsComposite.revers.button=Revert
@@ -42,24 +36,11 @@
 ACIItemItemPermissionsComposite.edit.button=Edit...
 ACIItemGrantsAndDenialsComposite.deny.icon=icons/checkbox_deny.gif
 ACIItemItemPermissionsComposite.add.button=Add...
-ACIItemProtectedItemsComposite.protectedItem.allUserAttributeTypes.label=All User Attribute
Types
-ACIItemProtectedItemsComposite.protectedItem.attributeType.label=Attribute Type
-ACIItemProtectedItemsComposite.protectedItem.allAttributeValues.label=All Attribute Values
-ACIItemProtectedItemsComposite.protectedItem.allUserAttributeTypesAndValues.label=All User
Attribute Types and Values
-ACIItemProtectedItemsComposite.protectedItem.attributeValue.label=Attribute Value
-ACIItemProtectedItemsComposite.protectedItem.selfValue.label=Self Value
-ACIItemProtectedItemsComposite.protectedItem.rangeOfValues.label=Range of Values
-ACIItemProtectedItemsComposite.protectedItem.maxValueCount.label=Max. Value Count
-ACIItemProtectedItemsComposite.protectedItem.maxImmSub.label=Max. Number of Immediate Subordinates
-ACIItemProtectedItemsComposite.protectedItem.restrictedBy.label=Restricted by
-ACIItemProtectedItemsComposite.protectedItem.classes.label=Classes
 ACIItemProtectedItemsComposite.description=Protected Items:
 ACIItemProtectedItemsComposite.edit.button=Edit...
 ACIItemProtectedItemsComposite.error.icon=icons/error.gif
-ACIItemUserClassesComposite.error.message=Invalid user class "{0}" with value "{1}"
 ACIItemUserPermissionsComposite.descripton=User Permissions:
 ACIItemUserPermissionsComposite.add.button=Add...
-ACIItemProtectedItemsComposite.error.message=Invalid protected item "{0}" with value "{1}"
 ACIItemUserClassesComposite.selectAll.button=Select All
 ACIItemUserPermissionsComposite.edit.button=Edit...
 ACIItemUserPermissionsComposite.delete.button=Delete



Mime
View raw message