directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1696891 - /directory/studio/trunk/plugins/openldap.acl.editor/src/main/java/org/apache/directory/studio/openldap/config/acl/OpenLdapAclValueWithContext.java
Date Fri, 21 Aug 2015 04:47:53 GMT
Author: elecharny
Date: Fri Aug 21 04:47:53 2015
New Revision: 1696891

URL: http://svn.apache.org/r1696891
Log:
o Added a reference to the AclDialog in the Acl context, so that we can control the Dialog
OK button from every inheriting composite

Modified:
    directory/studio/trunk/plugins/openldap.acl.editor/src/main/java/org/apache/directory/studio/openldap/config/acl/OpenLdapAclValueWithContext.java

Modified: directory/studio/trunk/plugins/openldap.acl.editor/src/main/java/org/apache/directory/studio/openldap/config/acl/OpenLdapAclValueWithContext.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/openldap.acl.editor/src/main/java/org/apache/directory/studio/openldap/config/acl/OpenLdapAclValueWithContext.java?rev=1696891&r1=1696890&r2=1696891&view=diff
==============================================================================
--- directory/studio/trunk/plugins/openldap.acl.editor/src/main/java/org/apache/directory/studio/openldap/config/acl/OpenLdapAclValueWithContext.java
(original)
+++ directory/studio/trunk/plugins/openldap.acl.editor/src/main/java/org/apache/directory/studio/openldap/config/acl/OpenLdapAclValueWithContext.java
Fri Aug 21 04:47:53 2015
@@ -24,6 +24,7 @@ import java.text.ParseException;
 
 import org.apache.directory.studio.ldapbrowser.core.model.IBrowserConnection;
 import org.apache.directory.studio.ldapbrowser.core.model.IEntry;
+import org.apache.directory.studio.openldap.config.acl.dialogs.OpenLdapAclDialog;
 import org.apache.directory.studio.openldap.config.acl.model.AclItem;
 import org.apache.directory.studio.openldap.config.acl.model.OpenLdapAclParser;
 
@@ -51,6 +52,9 @@ public class OpenLdapAclValueWithContext
     /** The ACL instance */
     private AclItem aclItem;
     
+    /** A reference to the ACL dialog */
+    private OpenLdapAclDialog aclDialog;
+
     /** The ACL parser */
     private static final OpenLdapAclParser parser = new OpenLdapAclParser();
 
@@ -137,6 +141,25 @@ public class OpenLdapAclValueWithContext
     }
     
 
+    
+    /**
+     * @return the aclDialog
+     */
+    public OpenLdapAclDialog getAclDialog()
+    {
+        return aclDialog;
+    }
+
+
+    /**
+     * @param aclDialog the aclDialog to set
+     */
+    public void setAclDialog( OpenLdapAclDialog aclDialog )
+    {
+        this.aclDialog = aclDialog;
+    }
+
+
     /**
      * {@inheritDoc}
      */



Mime
View raw message