directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1696892 - /directory/studio/trunk/plugins/openldap.acl.editor/src/main/java/org/apache/directory/studio/openldap/config/acl/dialogs/OpenLdapAclDialog.java
Date Fri, 21 Aug 2015 04:48:27 GMT
Author: elecharny
Date: Fri Aug 21 04:48:26 2015
New Revision: 1696892

URL: http://svn.apache.org/r1696892
Log:
o Exposed the OK button
o Stored the Dialog instance into the context

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

Modified: directory/studio/trunk/plugins/openldap.acl.editor/src/main/java/org/apache/directory/studio/openldap/config/acl/dialogs/OpenLdapAclDialog.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/openldap.acl.editor/src/main/java/org/apache/directory/studio/openldap/config/acl/dialogs/OpenLdapAclDialog.java?rev=1696892&r1=1696891&r2=1696892&view=diff
==============================================================================
--- directory/studio/trunk/plugins/openldap.acl.editor/src/main/java/org/apache/directory/studio/openldap/config/acl/dialogs/OpenLdapAclDialog.java
(original)
+++ directory/studio/trunk/plugins/openldap.acl.editor/src/main/java/org/apache/directory/studio/openldap/config/acl/dialogs/OpenLdapAclDialog.java
Fri Aug 21 04:48:26 2015
@@ -116,6 +116,7 @@ public class OpenLdapAclDialog extends D
         super( parentShell );
         super.setShellStyle( super.getShellStyle() | SWT.RESIZE );
         this.context = context;
+        context.setAclDialog( this );
     }
 
 
@@ -192,6 +193,15 @@ public class OpenLdapAclDialog extends D
             ErrorDialog.openError( getShell(), "Syntax Error", null, status );
         }
     }
+    
+    
+    /**
+     * Return the OK button instance
+     */
+    public Button getOKButton()
+    {
+        return getButton( IDialogConstants.OK_ID );
+    }
 
 
     /**
@@ -225,7 +235,7 @@ public class OpenLdapAclDialog extends D
      * 
      * <pre>
      * +-----------------------------------------+
-     * | [ ] Preference : [---] 8                |
+     * | [ ] Precedence : [---] 8                |
      * +-----------------------------------------+
      * </pre>
      * @param parent the parent composite



Mime
View raw message