directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1670931 [6/8] - in /directory/studio/trunk: features/openldap.feature/ plugins/ plugins/openldap.acl.editor/ plugins/openldap.acl.editor/resources/ plugins/openldap.acl.editor/resources/icons/ plugins/openldap.acl.editor/resources/template...
Date Thu, 02 Apr 2015 16:14:28 GMT
Added: directory/studio/trunk/plugins/openldap.acl.editor/src/main/java/org/apache/directory/studio/openldap/config/acl/widgets/composites/WhoClauseDnAttributeComposite.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/openldap.acl.editor/src/main/java/org/apache/directory/studio/openldap/config/acl/widgets/composites/WhoClauseDnAttributeComposite.java?rev=1670931&view=auto
==============================================================================
--- directory/studio/trunk/plugins/openldap.acl.editor/src/main/java/org/apache/directory/studio/openldap/config/acl/widgets/composites/WhoClauseDnAttributeComposite.java
(added)
+++ directory/studio/trunk/plugins/openldap.acl.editor/src/main/java/org/apache/directory/studio/openldap/config/acl/widgets/composites/WhoClauseDnAttributeComposite.java
Thu Apr  2 16:14:26 2015
@@ -0,0 +1,100 @@
+/*
+ *   Licensed to the Apache Software Foundation (ASF) under one
+ *   or more contributor license agreements.  See the NOTICE file
+ *   distributed with this work for additional information
+ *   regarding copyright ownership.  The ASF licenses this file
+ *   to you under the Apache License, Version 2.0 (the
+ *   "License"); you may not use this file except in compliance
+ *   with the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *   Unless required by applicable law or agreed to in writing,
+ *   software distributed under the License is distributed on an
+ *   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ *   KIND, either express or implied.  See the License for the
+ *   specific language governing permissions and limitations
+ *   under the License.
+ *
+ */
+package org.apache.directory.studio.openldap.config.acl.widgets.composites;
+
+
+import org.apache.directory.studio.common.ui.widgets.BaseWidgetUtils;
+import org.apache.directory.studio.ldapbrowser.core.model.IBrowserConnection;
+import org.eclipse.swt.layout.GridData;
+import org.eclipse.swt.widgets.Combo;
+import org.eclipse.swt.widgets.Composite;
+
+import org.apache.directory.studio.openldap.config.acl.model.AclWhoClauseDnAttr;
+
+
+public class WhoClauseDnAttributeComposite extends AbstractClauseComposite<AclWhoClauseDnAttr>
implements
+    WhoClauseComposite<AclWhoClauseDnAttr>
+{
+    private Combo dnAttributeCombo;
+
+
+    public WhoClauseDnAttributeComposite( AclWhoClauseDnAttr clause, Composite visualEditorComposite
)
+    {
+        super( clause, visualEditorComposite );
+    }
+
+
+    public WhoClauseDnAttributeComposite( Composite visualEditorComposite )
+    {
+        super( new AclWhoClauseDnAttr(), visualEditorComposite );
+    }
+
+
+    public Composite createComposite( Composite parent )
+    {
+        Composite composite = BaseWidgetUtils.createColumnContainer( parent, 2, 1 );
+
+        // DN
+        BaseWidgetUtils.createLabel( composite, "DN Attribute:", 1 );
+        dnAttributeCombo = BaseWidgetUtils.createCombo( composite, new String[0], -1, 1 );
+        GridData gd = new GridData( GridData.FILL_HORIZONTAL );
+        gd.horizontalSpan = 1;
+        gd.widthHint = 200;
+        dnAttributeCombo.setLayoutData( gd );
+
+        return composite;
+    }
+
+
+    /**
+     * {@inheritDoc}
+     */
+    public void setClause( AclWhoClauseDnAttr clause )
+    {
+        super.setClause( clause );
+        setInput();
+    }
+
+
+    /**
+     * {@inheritDoc}
+     */
+    public void setConnection( IBrowserConnection connection )
+    {
+        super.setConnection( connection );
+        setInput();
+    }
+
+
+    private void setInput()
+    {
+        if ( dnAttributeCombo != null )
+        {
+            if ( clause != null )
+            {
+                dnAttributeCombo.setText( clause.getAttribute() );
+            }
+            else
+            {
+                dnAttributeCombo.setText( "" );
+            }
+        }
+    }
+}

Added: directory/studio/trunk/plugins/openldap.acl.editor/src/main/java/org/apache/directory/studio/openldap/config/acl/widgets/composites/WhoClauseDnComposite.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/openldap.acl.editor/src/main/java/org/apache/directory/studio/openldap/config/acl/widgets/composites/WhoClauseDnComposite.java?rev=1670931&view=auto
==============================================================================
--- directory/studio/trunk/plugins/openldap.acl.editor/src/main/java/org/apache/directory/studio/openldap/config/acl/widgets/composites/WhoClauseDnComposite.java
(added)
+++ directory/studio/trunk/plugins/openldap.acl.editor/src/main/java/org/apache/directory/studio/openldap/config/acl/widgets/composites/WhoClauseDnComposite.java
Thu Apr  2 16:14:26 2015
@@ -0,0 +1,173 @@
+/*
+ *   Licensed to the Apache Software Foundation (ASF) under one
+ *   or more contributor license agreements.  See the NOTICE file
+ *   distributed with this work for additional information
+ *   regarding copyright ownership.  The ASF licenses this file
+ *   to you under the Apache License, Version 2.0 (the
+ *   "License"); you may not use this file except in compliance
+ *   with the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *   Unless required by applicable law or agreed to in writing,
+ *   software distributed under the License is distributed on an
+ *   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ *   KIND, either express or implied.  See the License for the
+ *   specific language governing permissions and limitations
+ *   under the License.
+ *
+ */
+package org.apache.directory.studio.openldap.config.acl.widgets.composites;
+
+
+import org.apache.directory.api.ldap.model.exception.LdapInvalidDnException;
+import org.apache.directory.api.ldap.model.name.Dn;
+import org.apache.directory.studio.common.ui.widgets.BaseWidgetUtils;
+import org.apache.directory.studio.ldapbrowser.common.widgets.WidgetModifyEvent;
+import org.apache.directory.studio.ldapbrowser.common.widgets.WidgetModifyListener;
+import org.apache.directory.studio.ldapbrowser.common.widgets.search.EntryWidget;
+import org.apache.directory.studio.ldapbrowser.core.model.IBrowserConnection;
+import org.eclipse.jface.viewers.ArrayContentProvider;
+import org.eclipse.jface.viewers.ComboViewer;
+import org.eclipse.jface.viewers.LabelProvider;
+import org.eclipse.swt.SWT;
+import org.eclipse.swt.layout.GridData;
+import org.eclipse.swt.widgets.Composite;
+
+import org.apache.directory.studio.openldap.config.acl.model.AclWhatClauseDn;
+import org.apache.directory.studio.openldap.config.acl.model.AclWhatClauseDnTypeEnum;
+import org.apache.directory.studio.openldap.config.acl.model.AclWhoClauseDn;
+import org.apache.directory.studio.openldap.config.acl.model.AclWhoClauseDnTypeEnum;
+
+
+public class WhoClauseDnComposite extends AbstractClauseComposite<AclWhoClauseDn> implements
+    WhoClauseComposite<AclWhoClauseDn>
+{
+    /** The array of DN who clause types */
+    private static final AclWhoClauseDnTypeEnum[] aclWhoClauseDnTypes = new AclWhoClauseDnTypeEnum[]
+        {
+            AclWhoClauseDnTypeEnum.BASE,
+            AclWhoClauseDnTypeEnum.EXACT,
+            AclWhoClauseDnTypeEnum.ONE,
+            AclWhoClauseDnTypeEnum.SUBTREE,
+            AclWhoClauseDnTypeEnum.CHILDREN,
+            AclWhoClauseDnTypeEnum.REGEX
+    };
+
+    /** The entry widget */
+    private EntryWidget entryWidget;
+
+    /** The modify listener */
+    private WidgetModifyListener modifyListener = new WidgetModifyListener()
+    {
+        public void widgetModified( WidgetModifyEvent event )
+        {
+            getClause().setPattern( entryWidget.getDn().toString() );
+        }
+    };
+
+
+    public WhoClauseDnComposite( AclWhoClauseDn clause, Composite visualEditorComposite )
+    {
+        super( clause, visualEditorComposite );
+    }
+
+
+    public WhoClauseDnComposite( Composite visualEditorComposite )
+    {
+        super( new AclWhoClauseDn(), visualEditorComposite );
+    }
+
+
+    public Composite createComposite( Composite parent )
+    {
+        Composite composite = BaseWidgetUtils.createColumnContainer( parent, 3, 1 );
+
+        // DN
+        BaseWidgetUtils.createLabel( composite, "DN:", 1 );
+        entryWidget = new EntryWidget();
+        entryWidget.createWidget( composite );
+        entryWidget.addWidgetModifyListener( modifyListener );
+
+        // Type
+        BaseWidgetUtils.createLabel( composite, "Type:", 1 );
+        ComboViewer whatClauseDnTypeComboViewer = new ComboViewer( BaseWidgetUtils.createReadonlyCombo(
composite,
+            new String[0], -1, 1 ) );
+        whatClauseDnTypeComboViewer.getCombo().setLayoutData( new GridData( SWT.NONE, SWT.NONE,
false, false, 2, 1 ) );
+        whatClauseDnTypeComboViewer.setContentProvider( new ArrayContentProvider() );
+        whatClauseDnTypeComboViewer.setLabelProvider( new LabelProvider()
+        {
+            public String getText( Object element )
+            {
+                if ( element instanceof AclWhatClauseDnTypeEnum )
+                {
+                    AclWhatClauseDnTypeEnum value = ( AclWhatClauseDnTypeEnum ) element;
+                    switch ( value )
+                    {
+                        case BASE:
+                            return "Base";
+                        case EXACT:
+                            return "Exact";
+                        case ONE:
+                            return "One";
+                        case SUBTREE:
+                            return "Subtree";
+                        case CHILDREN:
+                            return "Children";
+                        case REGEX:
+                            return "Regex";
+                    }
+                }
+
+                return super.getText( element );
+            }
+        } );
+        whatClauseDnTypeComboViewer.setInput( aclWhoClauseDnTypes );
+
+        return composite;
+    }
+
+
+    /**
+     * {@inheritDoc}
+     */
+    public void setClause( AclWhoClauseDn clause )
+    {
+        super.setClause( clause );
+        setInput();
+    }
+
+
+    /**
+     * {@inheritDoc}
+     */
+    public void setConnection( IBrowserConnection connection )
+    {
+        super.setConnection( connection );
+        setInput();
+    }
+
+
+    private void setInput()
+    {
+        if ( entryWidget != null )
+        {
+            if ( clause != null )
+            {
+                try
+                {
+                    entryWidget.setInput( connection, new Dn( clause.getPattern() ) );
+                }
+                catch ( LdapInvalidDnException e )
+                {
+                    // TODO Auto-generated catch block
+                    e.printStackTrace();
+                }
+            }
+            else
+            {
+                entryWidget.setInput( connection, null );
+            }
+        }
+    }
+}

Added: directory/studio/trunk/plugins/openldap.acl.editor/src/main/java/org/apache/directory/studio/openldap/config/acl/widgets/composites/WhoClauseGroupComposite.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/openldap.acl.editor/src/main/java/org/apache/directory/studio/openldap/config/acl/widgets/composites/WhoClauseGroupComposite.java?rev=1670931&view=auto
==============================================================================
--- directory/studio/trunk/plugins/openldap.acl.editor/src/main/java/org/apache/directory/studio/openldap/config/acl/widgets/composites/WhoClauseGroupComposite.java
(added)
+++ directory/studio/trunk/plugins/openldap.acl.editor/src/main/java/org/apache/directory/studio/openldap/config/acl/widgets/composites/WhoClauseGroupComposite.java
Thu Apr  2 16:14:26 2015
@@ -0,0 +1,132 @@
+/*
+ *   Licensed to the Apache Software Foundation (ASF) under one
+ *   or more contributor license agreements.  See the NOTICE file
+ *   distributed with this work for additional information
+ *   regarding copyright ownership.  The ASF licenses this file
+ *   to you under the Apache License, Version 2.0 (the
+ *   "License"); you may not use this file except in compliance
+ *   with the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *   Unless required by applicable law or agreed to in writing,
+ *   software distributed under the License is distributed on an
+ *   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ *   KIND, either express or implied.  See the License for the
+ *   specific language governing permissions and limitations
+ *   under the License.
+ *
+ */
+package org.apache.directory.studio.openldap.config.acl.widgets.composites;
+
+
+import org.apache.directory.api.ldap.model.schema.ObjectClass;
+import org.apache.directory.studio.common.ui.widgets.BaseWidgetUtils;
+import org.apache.directory.studio.ldapbrowser.common.widgets.search.EntryWidget;
+import org.eclipse.jface.viewers.ArrayContentProvider;
+import org.eclipse.jface.viewers.ComboViewer;
+import org.eclipse.jface.viewers.LabelProvider;
+import org.eclipse.swt.SWT;
+import org.eclipse.swt.layout.GridData;
+import org.eclipse.swt.layout.GridLayout;
+import org.eclipse.swt.widgets.Composite;
+import org.eclipse.swt.widgets.Group;
+import org.eclipse.ui.forms.events.ExpansionAdapter;
+import org.eclipse.ui.forms.events.ExpansionEvent;
+import org.eclipse.ui.forms.widgets.ExpandableComposite;
+
+import org.apache.directory.studio.openldap.config.acl.model.AclWhoClauseGroup;
+
+
+public class WhoClauseGroupComposite extends AbstractClauseComposite<AclWhoClauseGroup>
implements
+    WhoClauseComposite<AclWhoClauseGroup>
+{
+    /** The expansion listener used on expandable composites */
+    private ExpansionAdapter expansionListener = new ExpansionAdapter()
+    {
+        public void expansionStateChanged( ExpansionEvent e )
+        {
+            // Refreshing the layout of the whole composite
+            visualEditorComposite.layout( true, true );
+        }
+    };
+
+
+    public WhoClauseGroupComposite( AclWhoClauseGroup clause, Composite visualEditorComposite
)
+    {
+        super( clause, visualEditorComposite );
+    }
+
+
+    public WhoClauseGroupComposite( Composite visualEditorComposite )
+    {
+        super( new AclWhoClauseGroup(), visualEditorComposite );
+    }
+
+
+    public Composite createComposite( Composite parent )
+    {
+        Composite composite = BaseWidgetUtils.createColumnContainer( parent, 3, 1 );
+
+        // Group DN
+        BaseWidgetUtils.createLabel( composite, "Group DN:", 1 );
+        EntryWidget entryWidget = new EntryWidget();
+        entryWidget.createWidget( composite );
+
+        ExpandableComposite optionsExpandableComposite = new ExpandableComposite( composite,
SWT.NONE,
+            ExpandableComposite.TWISTIE | ExpandableComposite.CLIENT_INDENT );
+        optionsExpandableComposite.setLayout( new GridLayout() );
+        optionsExpandableComposite.setLayoutData( new GridData( SWT.FILL, SWT.NONE, true,
false, 3, 1 ) );
+        optionsExpandableComposite.setText( "Options" );
+        Composite clientComposite = BaseWidgetUtils.createColumnContainer( optionsExpandableComposite,
1, 1 );
+        ( ( GridLayout ) clientComposite.getLayout() ).marginRight = 15;
+        optionsExpandableComposite.setClient( clientComposite );
+        optionsExpandableComposite.addExpansionListener( expansionListener );
+
+        Group optionsGroup = BaseWidgetUtils.createGroup( clientComposite, "", 1 );
+        optionsGroup.setLayout( new GridLayout( 2, false ) );
+        optionsGroup.setLayoutData( new GridData( SWT.FILL, SWT.NONE, true, false, 3, 1 )
);
+
+        // Group Object Class
+        BaseWidgetUtils.createLabel( optionsGroup, "Group Object Class", 1 );
+        ComboViewer groupObjectClassComboViewer = new ComboViewer( BaseWidgetUtils.createCombo(
optionsGroup,
+            new String[0], -1, 1 ) );
+        groupObjectClassComboViewer.setContentProvider( new ArrayContentProvider() );
+        groupObjectClassComboViewer.setLabelProvider( new LabelProvider()
+        {
+            public String getText( Object element )
+            {
+                if ( element instanceof ObjectClass )
+                {
+                    // TODO
+                }
+
+                return super.getText( element );
+            }
+        } );
+        //        groupObjectClassComboViewer.setInput( dqsdq ); // TODO
+        groupObjectClassComboViewer.getCombo().setLayoutData( new GridData( SWT.FILL, SWT.NONE,
true, false ) );
+
+        // Group Attribute Class
+        BaseWidgetUtils.createLabel( optionsGroup, "Group Attribute Type", 1 );
+        ComboViewer groupAttributeTypeComboViewer = new ComboViewer( BaseWidgetUtils.createCombo(
optionsGroup,
+            new String[0], -1, 1 ) );
+        groupAttributeTypeComboViewer.setContentProvider( new ArrayContentProvider() );
+        groupAttributeTypeComboViewer.setLabelProvider( new LabelProvider()
+        {
+            public String getText( Object element )
+            {
+                if ( element instanceof ObjectClass )
+                {
+                    // TODO
+                }
+
+                return super.getText( element );
+            }
+        } );
+        //        groupObjectClassComboViewer.setInput( dqsdq ); // TODO
+        groupAttributeTypeComboViewer.getCombo().setLayoutData( new GridData( SWT.FILL, SWT.NONE,
true, false ) );
+
+        return composite;
+    }
+}

Added: directory/studio/trunk/plugins/openldap.acl.editor/src/main/java/org/apache/directory/studio/openldap/config/acl/widgets/composites/WhoClauseSaslSsfComposite.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/openldap.acl.editor/src/main/java/org/apache/directory/studio/openldap/config/acl/widgets/composites/WhoClauseSaslSsfComposite.java?rev=1670931&view=auto
==============================================================================
--- directory/studio/trunk/plugins/openldap.acl.editor/src/main/java/org/apache/directory/studio/openldap/config/acl/widgets/composites/WhoClauseSaslSsfComposite.java
(added)
+++ directory/studio/trunk/plugins/openldap.acl.editor/src/main/java/org/apache/directory/studio/openldap/config/acl/widgets/composites/WhoClauseSaslSsfComposite.java
Thu Apr  2 16:14:26 2015
@@ -0,0 +1,41 @@
+/*
+ *   Licensed to the Apache Software Foundation (ASF) under one
+ *   or more contributor license agreements.  See the NOTICE file
+ *   distributed with this work for additional information
+ *   regarding copyright ownership.  The ASF licenses this file
+ *   to you under the Apache License, Version 2.0 (the
+ *   "License"); you may not use this file except in compliance
+ *   with the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *   Unless required by applicable law or agreed to in writing,
+ *   software distributed under the License is distributed on an
+ *   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ *   KIND, either express or implied.  See the License for the
+ *   specific language governing permissions and limitations
+ *   under the License.
+ *
+ */
+package org.apache.directory.studio.openldap.config.acl.widgets.composites;
+
+
+import org.eclipse.swt.widgets.Composite;
+
+import org.apache.directory.studio.openldap.config.acl.model.AclWhoClauseSaslSsf;
+
+
+public class WhoClauseSaslSsfComposite extends AbstractWhoClauseCryptoStrengthComposite<AclWhoClauseSaslSsf>
implements
+    WhoClauseComposite<AclWhoClauseSaslSsf>
+{
+    public WhoClauseSaslSsfComposite( AclWhoClauseSaslSsf clause, Composite visualEditorComposite
)
+    {
+        super( clause, visualEditorComposite );
+    }
+
+
+    public WhoClauseSaslSsfComposite( Composite visualEditorComposite )
+    {
+        super( new AclWhoClauseSaslSsf(), visualEditorComposite );
+    }
+}

Added: directory/studio/trunk/plugins/openldap.acl.editor/src/main/java/org/apache/directory/studio/openldap/config/acl/widgets/composites/WhoClauseSelfComposite.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/openldap.acl.editor/src/main/java/org/apache/directory/studio/openldap/config/acl/widgets/composites/WhoClauseSelfComposite.java?rev=1670931&view=auto
==============================================================================
--- directory/studio/trunk/plugins/openldap.acl.editor/src/main/java/org/apache/directory/studio/openldap/config/acl/widgets/composites/WhoClauseSelfComposite.java
(added)
+++ directory/studio/trunk/plugins/openldap.acl.editor/src/main/java/org/apache/directory/studio/openldap/config/acl/widgets/composites/WhoClauseSelfComposite.java
Thu Apr  2 16:14:26 2015
@@ -0,0 +1,41 @@
+/*
+ *   Licensed to the Apache Software Foundation (ASF) under one
+ *   or more contributor license agreements.  See the NOTICE file
+ *   distributed with this work for additional information
+ *   regarding copyright ownership.  The ASF licenses this file
+ *   to you under the Apache License, Version 2.0 (the
+ *   "License"); you may not use this file except in compliance
+ *   with the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *   Unless required by applicable law or agreed to in writing,
+ *   software distributed under the License is distributed on an
+ *   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ *   KIND, either express or implied.  See the License for the
+ *   specific language governing permissions and limitations
+ *   under the License.
+ *
+ */
+package org.apache.directory.studio.openldap.config.acl.widgets.composites;
+
+
+import org.eclipse.swt.widgets.Composite;
+
+import org.apache.directory.studio.openldap.config.acl.model.AclWhoClauseSelf;
+
+
+public class WhoClauseSelfComposite extends AbstractClauseComposite<AclWhoClauseSelf>
implements
+    WhoClauseComposite<AclWhoClauseSelf>
+{
+    public WhoClauseSelfComposite( AclWhoClauseSelf clause, Composite visualEditorComposite
)
+    {
+        super( clause, visualEditorComposite );
+    }
+
+
+    public WhoClauseSelfComposite( Composite visualEditorComposite )
+    {
+        super( new AclWhoClauseSelf(), visualEditorComposite );
+    }
+}

Added: directory/studio/trunk/plugins/openldap.acl.editor/src/main/java/org/apache/directory/studio/openldap/config/acl/widgets/composites/WhoClauseSsfComposite.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/openldap.acl.editor/src/main/java/org/apache/directory/studio/openldap/config/acl/widgets/composites/WhoClauseSsfComposite.java?rev=1670931&view=auto
==============================================================================
--- directory/studio/trunk/plugins/openldap.acl.editor/src/main/java/org/apache/directory/studio/openldap/config/acl/widgets/composites/WhoClauseSsfComposite.java
(added)
+++ directory/studio/trunk/plugins/openldap.acl.editor/src/main/java/org/apache/directory/studio/openldap/config/acl/widgets/composites/WhoClauseSsfComposite.java
Thu Apr  2 16:14:26 2015
@@ -0,0 +1,41 @@
+/*
+ *   Licensed to the Apache Software Foundation (ASF) under one
+ *   or more contributor license agreements.  See the NOTICE file
+ *   distributed with this work for additional information
+ *   regarding copyright ownership.  The ASF licenses this file
+ *   to you under the Apache License, Version 2.0 (the
+ *   "License"); you may not use this file except in compliance
+ *   with the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *   Unless required by applicable law or agreed to in writing,
+ *   software distributed under the License is distributed on an
+ *   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ *   KIND, either express or implied.  See the License for the
+ *   specific language governing permissions and limitations
+ *   under the License.
+ *
+ */
+package org.apache.directory.studio.openldap.config.acl.widgets.composites;
+
+
+import org.eclipse.swt.widgets.Composite;
+
+import org.apache.directory.studio.openldap.config.acl.model.AclWhoClauseSsf;
+
+
+public class WhoClauseSsfComposite extends AbstractWhoClauseCryptoStrengthComposite<AclWhoClauseSsf>
implements
+    WhoClauseComposite<AclWhoClauseSsf>
+{
+    public WhoClauseSsfComposite( AclWhoClauseSsf clause, Composite visualEditorComposite
)
+    {
+        super( clause, visualEditorComposite );
+    }
+
+
+    public WhoClauseSsfComposite( Composite visualEditorComposite )
+    {
+        super( new AclWhoClauseSsf(), visualEditorComposite );
+    }
+}

Added: directory/studio/trunk/plugins/openldap.acl.editor/src/main/java/org/apache/directory/studio/openldap/config/acl/widgets/composites/WhoClauseStarComposite.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/openldap.acl.editor/src/main/java/org/apache/directory/studio/openldap/config/acl/widgets/composites/WhoClauseStarComposite.java?rev=1670931&view=auto
==============================================================================
--- directory/studio/trunk/plugins/openldap.acl.editor/src/main/java/org/apache/directory/studio/openldap/config/acl/widgets/composites/WhoClauseStarComposite.java
(added)
+++ directory/studio/trunk/plugins/openldap.acl.editor/src/main/java/org/apache/directory/studio/openldap/config/acl/widgets/composites/WhoClauseStarComposite.java
Thu Apr  2 16:14:26 2015
@@ -0,0 +1,41 @@
+/*
+ *   Licensed to the Apache Software Foundation (ASF) under one
+ *   or more contributor license agreements.  See the NOTICE file
+ *   distributed with this work for additional information
+ *   regarding copyright ownership.  The ASF licenses this file
+ *   to you under the Apache License, Version 2.0 (the
+ *   "License"); you may not use this file except in compliance
+ *   with the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *   Unless required by applicable law or agreed to in writing,
+ *   software distributed under the License is distributed on an
+ *   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ *   KIND, either express or implied.  See the License for the
+ *   specific language governing permissions and limitations
+ *   under the License.
+ *
+ */
+package org.apache.directory.studio.openldap.config.acl.widgets.composites;
+
+
+import org.eclipse.swt.widgets.Composite;
+
+import org.apache.directory.studio.openldap.config.acl.model.AclWhoClauseStar;
+
+
+public class WhoClauseStarComposite extends AbstractClauseComposite<AclWhoClauseStar>
implements
+    WhoClauseComposite<AclWhoClauseStar>
+{
+    public WhoClauseStarComposite( AclWhoClauseStar clause, Composite visualEditorComposite
)
+    {
+        super( clause, visualEditorComposite );
+    }
+
+
+    public WhoClauseStarComposite( Composite visualEditorComposite )
+    {
+        super( new AclWhoClauseStar(), visualEditorComposite );
+    }
+}

Added: directory/studio/trunk/plugins/openldap.acl.editor/src/main/java/org/apache/directory/studio/openldap/config/acl/widgets/composites/WhoClauseTlsSsfComposite.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/openldap.acl.editor/src/main/java/org/apache/directory/studio/openldap/config/acl/widgets/composites/WhoClauseTlsSsfComposite.java?rev=1670931&view=auto
==============================================================================
--- directory/studio/trunk/plugins/openldap.acl.editor/src/main/java/org/apache/directory/studio/openldap/config/acl/widgets/composites/WhoClauseTlsSsfComposite.java
(added)
+++ directory/studio/trunk/plugins/openldap.acl.editor/src/main/java/org/apache/directory/studio/openldap/config/acl/widgets/composites/WhoClauseTlsSsfComposite.java
Thu Apr  2 16:14:26 2015
@@ -0,0 +1,41 @@
+/*
+ *   Licensed to the Apache Software Foundation (ASF) under one
+ *   or more contributor license agreements.  See the NOTICE file
+ *   distributed with this work for additional information
+ *   regarding copyright ownership.  The ASF licenses this file
+ *   to you under the Apache License, Version 2.0 (the
+ *   "License"); you may not use this file except in compliance
+ *   with the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *   Unless required by applicable law or agreed to in writing,
+ *   software distributed under the License is distributed on an
+ *   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ *   KIND, either express or implied.  See the License for the
+ *   specific language governing permissions and limitations
+ *   under the License.
+ *
+ */
+package org.apache.directory.studio.openldap.config.acl.widgets.composites;
+
+
+import org.eclipse.swt.widgets.Composite;
+
+import org.apache.directory.studio.openldap.config.acl.model.AclWhoClauseTlsSsf;
+
+
+public class WhoClauseTlsSsfComposite extends AbstractWhoClauseCryptoStrengthComposite<AclWhoClauseTlsSsf>
implements
+    WhoClauseComposite<AclWhoClauseTlsSsf>
+{
+    public WhoClauseTlsSsfComposite( AclWhoClauseTlsSsf clause, Composite visualEditorComposite
)
+    {
+        super( clause, visualEditorComposite );
+    }
+
+
+    public WhoClauseTlsSsfComposite( Composite visualEditorComposite )
+    {
+        super( new AclWhoClauseTlsSsf(), visualEditorComposite );
+    }
+}

Added: directory/studio/trunk/plugins/openldap.acl.editor/src/main/java/org/apache/directory/studio/openldap/config/acl/widgets/composites/WhoClauseTransportSsfComposite.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/openldap.acl.editor/src/main/java/org/apache/directory/studio/openldap/config/acl/widgets/composites/WhoClauseTransportSsfComposite.java?rev=1670931&view=auto
==============================================================================
--- directory/studio/trunk/plugins/openldap.acl.editor/src/main/java/org/apache/directory/studio/openldap/config/acl/widgets/composites/WhoClauseTransportSsfComposite.java
(added)
+++ directory/studio/trunk/plugins/openldap.acl.editor/src/main/java/org/apache/directory/studio/openldap/config/acl/widgets/composites/WhoClauseTransportSsfComposite.java
Thu Apr  2 16:14:26 2015
@@ -0,0 +1,42 @@
+/*
+ *   Licensed to the Apache Software Foundation (ASF) under one
+ *   or more contributor license agreements.  See the NOTICE file
+ *   distributed with this work for additional information
+ *   regarding copyright ownership.  The ASF licenses this file
+ *   to you under the Apache License, Version 2.0 (the
+ *   "License"); you may not use this file except in compliance
+ *   with the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *   Unless required by applicable law or agreed to in writing,
+ *   software distributed under the License is distributed on an
+ *   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ *   KIND, either express or implied.  See the License for the
+ *   specific language governing permissions and limitations
+ *   under the License.
+ *
+ */
+package org.apache.directory.studio.openldap.config.acl.widgets.composites;
+
+
+import org.eclipse.swt.widgets.Composite;
+
+import org.apache.directory.studio.openldap.config.acl.model.AclWhoClauseTransportSsf;
+
+
+public class WhoClauseTransportSsfComposite extends AbstractWhoClauseCryptoStrengthComposite<AclWhoClauseTransportSsf>
+    implements
+    WhoClauseComposite<AclWhoClauseTransportSsf>
+{
+    public WhoClauseTransportSsfComposite( AclWhoClauseTransportSsf clause, Composite visualEditorComposite
)
+    {
+        super( clause, visualEditorComposite );
+    }
+
+
+    public WhoClauseTransportSsfComposite( Composite visualEditorComposite )
+    {
+        super( new AclWhoClauseTransportSsf(), visualEditorComposite );
+    }
+}

Added: directory/studio/trunk/plugins/openldap.acl.editor/src/main/java/org/apache/directory/studio/openldap/config/acl/widgets/composites/WhoClauseUsersComposite.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/openldap.acl.editor/src/main/java/org/apache/directory/studio/openldap/config/acl/widgets/composites/WhoClauseUsersComposite.java?rev=1670931&view=auto
==============================================================================
--- directory/studio/trunk/plugins/openldap.acl.editor/src/main/java/org/apache/directory/studio/openldap/config/acl/widgets/composites/WhoClauseUsersComposite.java
(added)
+++ directory/studio/trunk/plugins/openldap.acl.editor/src/main/java/org/apache/directory/studio/openldap/config/acl/widgets/composites/WhoClauseUsersComposite.java
Thu Apr  2 16:14:26 2015
@@ -0,0 +1,41 @@
+/*
+ *   Licensed to the Apache Software Foundation (ASF) under one
+ *   or more contributor license agreements.  See the NOTICE file
+ *   distributed with this work for additional information
+ *   regarding copyright ownership.  The ASF licenses this file
+ *   to you under the Apache License, Version 2.0 (the
+ *   "License"); you may not use this file except in compliance
+ *   with the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *   Unless required by applicable law or agreed to in writing,
+ *   software distributed under the License is distributed on an
+ *   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ *   KIND, either express or implied.  See the License for the
+ *   specific language governing permissions and limitations
+ *   under the License.
+ *
+ */
+package org.apache.directory.studio.openldap.config.acl.widgets.composites;
+
+
+import org.eclipse.swt.widgets.Composite;
+
+import org.apache.directory.studio.openldap.config.acl.model.AclWhoClauseUsers;
+
+
+public class WhoClauseUsersComposite extends AbstractClauseComposite<AclWhoClauseUsers>
implements
+    WhoClauseComposite<AclWhoClauseUsers>
+{
+    public WhoClauseUsersComposite( AclWhoClauseUsers clause, Composite visualEditorComposite
)
+    {
+        super( clause, visualEditorComposite );
+    }
+
+
+    public WhoClauseUsersComposite( Composite visualEditorComposite )
+    {
+        super( new AclWhoClauseUsers(), visualEditorComposite );
+    }
+}



Mime
View raw message