]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - plugins/org.argeo.slc.client.ui.dist/src/main/java/org/argeo/slc/client/ui/dist/wizards/ChooseRightsPage.java
+ update Distribution view icons
[gpl/argeo-slc.git] / plugins / org.argeo.slc.client.ui.dist / src / main / java / org / argeo / slc / client / ui / dist / wizards / ChooseRightsPage.java
index 88bfc6a556525a57eac850e2ff00bb45429a5534..2c4f477fba7c167b78cd295d309c860016058ed1 100644 (file)
@@ -15,8 +15,6 @@
  */
 package org.argeo.slc.client.ui.dist.wizards;
 
-import java.util.regex.Pattern;
-
 import javax.jcr.security.Privilege;
 
 import org.eclipse.jface.wizard.WizardPage;
@@ -37,7 +35,7 @@ public class ChooseRightsPage extends WizardPage implements ModifyListener {
        private Combo authorizationCmb;
 
        // Define acceptable chars for the technical name
-       private static Pattern p = Pattern.compile("^[A-Za-z0-9]+$");
+       // private static Pattern p = Pattern.compile("^[A-Za-z0-9]+$");
 
        // USABLE SHORTCUTS
        protected final static String[] validAuthType = { Privilege.JCR_READ,
@@ -45,7 +43,7 @@ public class ChooseRightsPage extends WizardPage implements ModifyListener {
 
        public ChooseRightsPage() {
                super("Main");
-               setTitle("Manange authorizations on the current workspace");
+               setTitle("Manage authorizations on the current workspace");
        }
 
        public void createControl(Composite parent) {
@@ -82,9 +80,9 @@ public class ChooseRightsPage extends WizardPage implements ModifyListener {
                return authorizationCmb.getItem(authorizationCmb.getSelectionIndex());
        }
 
-       private static boolean match(String s) {
-               return p.matcher(s).matches();
-       }
+       // private static boolean match(String s) {
+       // return p.matcher(s).matches();
+       // }
 
        public void modifyText(ModifyEvent event) {
                String message = checkComplete();