You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by el...@apache.org on 2015/04/24 15:27:54 UTC

svn commit: r1675849 - in /directory/studio/trunk/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/editor: ./ databases/

Author: elecharny
Date: Fri Apr 24 13:27:53 2015
New Revision: 1675849

URL: http://svn.apache.org/r1675849
Log:
o Added messages to the OpenLDAP configuration plugin
o Added the FrontendPage and ConfigPage (empty atm)

Added:
    directory/studio/trunk/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/editor/Messages.java
    directory/studio/trunk/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/editor/NewServerConfigurationInput.java
    directory/studio/trunk/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/editor/databases/ConfigPage.java
    directory/studio/trunk/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/editor/databases/FrontendPage.java
    directory/studio/trunk/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/editor/messages.properties
    directory/studio/trunk/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/editor/messages_de.properties
    directory/studio/trunk/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/editor/messages_fr.properties
Modified:
    directory/studio/trunk/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/editor/LoadingPage.java
    directory/studio/trunk/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/editor/ServerConfigurationEditor.java
    directory/studio/trunk/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/editor/ServerConfigurationEditorPage.java

Modified: directory/studio/trunk/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/editor/LoadingPage.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/editor/LoadingPage.java?rev=1675849&r1=1675848&r2=1675849&view=diff
==============================================================================
--- directory/studio/trunk/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/editor/LoadingPage.java (original)
+++ directory/studio/trunk/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/editor/LoadingPage.java Fri Apr 24 13:27:53 2015
@@ -34,7 +34,23 @@ import org.eclipse.ui.forms.widgets.Scro
 
 
 /**
- * This class represents the Loading Page of the Server Configuration Editor.
+ * This class represents the Loading Page of the Server Configuration Editor. It is
+ * just a plain page which expose a progress bar and a message :
+ * 
+ * <pre>
+ * .---------------------------------------------.
+ * | Loading Configuration...                    |
+ * +---------------------------------------------+
+ * |                                             |
+ * |                                             |
+ * |             [ \\ \\ \\ \\ \\ ]              |
+ * |  Loading the configuration, please wait...  |
+ * |                                             |
+ * |                                             |
+ * +---------------------------------------------+
+ * </pre>
+ * 
+ * Once the configuration is loaded, this page is closed.
  * 
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  */
@@ -44,14 +60,13 @@ public class LoadingPage extends FormPag
     public static final String ID = LoadingPage.class.getName(); //$NON-NLS-1$
 
     /** The Page Title */
-    private static final String TITLE = "Loading Configuration";
+    private static final String TITLE = Messages.getString( "LoadingPage.LoadingConfiguration" );
 
 
     /**
      * Creates a new instance of LoadingPage.
      *
-     * @param editor
-     *      the associated editor
+     * @param editor the associated editor
      */
     public LoadingPage( FormEditor editor )
     {
@@ -65,7 +80,7 @@ public class LoadingPage extends FormPag
     protected void createFormContent( IManagedForm managedForm )
     {
         ScrolledForm form = managedForm.getForm();
-        form.setText( "Loading Configuration..." );
+        form.setText( Messages.getString( "LoadingPage.LoadingConfigurationEllipsis" ) );
 
         Composite parent = form.getBody();
         parent.setLayout( new GridLayout() );
@@ -80,7 +95,7 @@ public class LoadingPage extends FormPag
         ProgressBar progressBar = new ProgressBar( composite, SWT.INDETERMINATE );
         progressBar.setLayoutData( new GridData( SWT.CENTER, SWT.NONE, false, false ) );
 
-        Label label = toolkit.createLabel( composite, "Loading the configuration, please wait..." );
+        Label label = toolkit.createLabel( composite, Messages.getString( "LoadingPage.LoadingTheConfigurationPleaseWait" ) );
         label.setLayoutData( new GridData( SWT.CENTER, SWT.NONE, false, false ) );
     }
 }

Added: directory/studio/trunk/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/editor/Messages.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/editor/Messages.java?rev=1675849&view=auto
==============================================================================
--- directory/studio/trunk/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/editor/Messages.java (added)
+++ directory/studio/trunk/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/editor/Messages.java Fri Apr 24 13:27:53 2015
@@ -0,0 +1,55 @@
+/*
+ *  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.editor;
+
+
+import java.util.MissingResourceException;
+import java.util.ResourceBundle;
+
+
+/**
+ * This class get messages from the resources file.
+ *  
+ * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+ */
+public class Messages
+{
+    /** The resource name */
+    private static final ResourceBundle RESOURCE_BUNDLE = 
+        ResourceBundle.getBundle( Messages.class.getPackage().getName() + ".messages" );
+    
+    /**
+     * Get back a message from the resource file given a key
+     * 
+     * @param key The key associated with the message
+     * @return The found message
+     */
+    public static String getString( String key )
+    {
+        try
+        {
+            return RESOURCE_BUNDLE.getString( key );
+        }
+        catch ( MissingResourceException e )
+        {
+            return '!' + key + '!';
+        }
+    }
+}

Added: directory/studio/trunk/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/editor/NewServerConfigurationInput.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/editor/NewServerConfigurationInput.java?rev=1675849&view=auto
==============================================================================
--- directory/studio/trunk/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/editor/NewServerConfigurationInput.java (added)
+++ directory/studio/trunk/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/editor/NewServerConfigurationInput.java Fri Apr 24 13:27:53 2015
@@ -0,0 +1,88 @@
+/*
+ *  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.editor;
+
+
+import org.eclipse.jface.resource.ImageDescriptor;
+import org.eclipse.ui.IEditorInput;
+import org.eclipse.ui.IPersistableElement;
+
+
+/**
+ * This class represents the Non Existing Server Configuration Input.
+ *
+ * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+ */
+public class NewServerConfigurationInput implements IEditorInput
+{
+    /**
+     * {@inheritDoc}
+     */
+    public String getToolTipText()
+    {
+        return Messages.getString( "NewServerConfigurationInput.NewOpenLDAPConfigurationFile" ); //$NON-NLS-1$
+    }
+
+
+    /**
+     * {@inheritDoc}
+     */
+    public String getName()
+    {
+        return Messages.getString( "NewServerConfigurationInput.NewOpenLDAPConfigurationFile" ); //$NON-NLS-1$
+    }
+
+
+    /**
+     * {@inheritDoc}
+     */
+    public boolean exists()
+    {
+        return true;
+    }
+
+
+    /**
+     * {@inheritDoc}
+     */
+    public ImageDescriptor getImageDescriptor()
+    {
+        return null;
+    }
+
+
+    /**
+     * {@inheritDoc}
+     */
+    public IPersistableElement getPersistable()
+    {
+        return null;
+    }
+
+
+    /**
+     * {@inheritDoc}
+     */
+    @SuppressWarnings("rawtypes")
+    public Object getAdapter( Class adapter )
+    {
+        return null;
+    }
+}

Modified: directory/studio/trunk/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/editor/ServerConfigurationEditor.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/editor/ServerConfigurationEditor.java?rev=1675849&r1=1675848&r2=1675849&view=diff
==============================================================================
--- directory/studio/trunk/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/editor/ServerConfigurationEditor.java (original)
+++ directory/studio/trunk/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/editor/ServerConfigurationEditor.java Fri Apr 24 13:27:53 2015
@@ -26,7 +26,9 @@ import java.util.Enumeration;
 import org.apache.directory.studio.common.core.jobs.StudioJob;
 import org.apache.directory.studio.common.core.jobs.StudioRunnableWithProgress;
 import org.apache.directory.studio.connection.core.Connection;
+import org.apache.directory.studio.openldap.config.editor.databases.ConfigPage;
 import org.apache.directory.studio.openldap.config.editor.databases.DatabasesPage;
+import org.apache.directory.studio.openldap.config.editor.databases.FrontendPage;
 import org.apache.directory.studio.openldap.config.jobs.LoadConfigurationRunnable;
 import org.apache.directory.studio.openldap.config.model.OpenLdapConfiguration;
 import org.apache.directory.studio.openldap.config.model.io.SaveConfigurationRunnable;
@@ -60,8 +62,19 @@ public class ServerConfigurationEditor e
     private OpenLdapConfiguration configuration;
 
     // The pages
+    /** The page which is used for loading the configuration */
     private LoadingPage loadingPage;
+    
+    /** The Frontend database page */
+    private FrontendPage frontendPage;
+    
+    /** The Config database page */
+    private ConfigPage configPage;
+    
+    /** The page showing the user's databases */
     private DatabasesPage databasesPage;
+    
+    /** The options page */
     private OptionsPage optionsPage;
 
 
@@ -125,7 +138,9 @@ public class ServerConfigurationEditor e
 
     /**
      * Shows or hides the tab folder depending on
-     * the number of pages.
+     * the number of pages. If we have one page
+     * only, then we show the tab, otherwise, we hide
+     * it.
      */
     private void showOrHideTabFolder()
     {
@@ -199,8 +214,7 @@ public class ServerConfigurationEditor e
     /**
      * Performs the "Save as..." action.
      *
-     * @param monitor
-     *      the monitor to use
+     * @param monitor the monitor to use
      * @throws Exception
      */
     public void doSaveAs( IProgressMonitor monitor ) throws Exception
@@ -243,6 +257,16 @@ public class ServerConfigurationEditor e
         {
             databasesPage.doSave( monitor );
         }
+        
+        if ( frontendPage != null )
+        {
+            frontendPage.doSave( monitor );
+        }
+        
+        if ( configPage != null )
+        {
+            configPage.doSave( monitor );
+        }
     }
 
 
@@ -267,8 +291,7 @@ public class ServerConfigurationEditor e
     /**
      * Sets the 'dirty' flag.
      *
-     * @param dirty
-     *      the 'dirty' flag
+     * @param dirty the 'dirty' flag
      */
     public void setDirty( boolean dirty )
     {
@@ -287,8 +310,7 @@ public class ServerConfigurationEditor e
     /**
      * Gets the configuration.
      *
-     * @return
-     *      the configuration
+     * @return the configuration
      */
     public OpenLdapConfiguration getConfiguration()
     {
@@ -296,11 +318,10 @@ public class ServerConfigurationEditor e
     }
 
 
-    /*
+    /**
      * Sets the configuration.
      *
-     * @param configuration
-     *      the configuration
+     * @param configuration the configuration
      */
     public void setConfiguration( OpenLdapConfiguration configuration )
     {
@@ -311,8 +332,7 @@ public class ServerConfigurationEditor e
     /**
      * Resets the configuration and refresh the UI.
      *
-     * @param configBean
-     *      the configuration bean
+     * @param configBean the configuration bean
      */
     public void resetConfiguration( OpenLdapConfiguration configuration )
     {
@@ -322,6 +342,8 @@ public class ServerConfigurationEditor e
 
         optionsPage.refreshUI();
         databasesPage.refreshUI();
+        frontendPage.refreshUI();
+        configPage.refreshUI();
     }
 
 
@@ -329,8 +351,7 @@ public class ServerConfigurationEditor e
      * This method is called by the job responsible for loading the 
      * configuration when it has been fully and correctly loaded.
      *
-     * @param configBean
-     *      the loaded configuration bean
+     * @param configBean the loaded configuration bean
      */
     public void configurationLoaded( OpenLdapConfiguration configuration )
     {
@@ -344,8 +365,7 @@ public class ServerConfigurationEditor e
      * This method is called by the job responsible for loading the
      * configuration when it failed to load it.
      *
-     * @param exception
-     *      the exception
+     * @param exception the exception
      */
     public void configurationLoadFailed( Exception exception )
     {
@@ -388,8 +408,7 @@ public class ServerConfigurationEditor e
     /**
      * Hides the loading page and displays the error page.
      *
-     * @param exception
-     *      the exception
+     * @param exception the exception
      */
     private void hideLoadingPageAndDisplayErrorPage( Exception exception )
     {
@@ -415,17 +434,18 @@ public class ServerConfigurationEditor e
     /**
      * Set a particular page as active if it is found in the pages vector.
      *
-     * @param pageClass
-     *      the class of the page
+     * @param pageClass the class of the page
      */
     public void showPage( Class<?> pageClass )
     {
         if ( pageClass != null )
         {
             Enumeration<?> enumeration = pages.elements();
+            
             while ( enumeration.hasMoreElements() )
             {
                 Object page = enumeration.nextElement();
+                
                 if ( pageClass.isInstance( page ) )
                 {
                     setActivePage( pages.indexOf( page ) );

Modified: directory/studio/trunk/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/editor/ServerConfigurationEditorPage.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/editor/ServerConfigurationEditorPage.java?rev=1675849&r1=1675848&r2=1675849&view=diff
==============================================================================
--- directory/studio/trunk/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/editor/ServerConfigurationEditorPage.java (original)
+++ directory/studio/trunk/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/editor/ServerConfigurationEditorPage.java Fri Apr 24 13:27:53 2015
@@ -214,34 +214,6 @@ public abstract class ServerConfiguratio
 
 
     /**
-     * Creates a Text that can be used to enter an integer.
-     *
-     * @param toolkit
-     *      the toolkit
-     * @param parent
-     *      the parent
-     * @return
-     *      a Text that can be used to enter a port number
-     */
-    protected Text createIntegerText( FormToolkit toolkit, Composite parent )
-    {
-        Text integerText = toolkit.createText( parent, "" ); //$NON-NLS-1$
-        integerText.addVerifyListener( new VerifyListener()
-        {
-            public void verifyText( VerifyEvent e )
-            {
-                if ( !e.text.matches( "[0-9]*" ) ) //$NON-NLS-1$
-                {
-                    e.doit = false;
-                }
-            }
-        } );
-
-        return integerText;
-    }
-
-
-    /**
      * Creates default value Label.
      *
      * @param toolkit

Added: directory/studio/trunk/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/editor/databases/ConfigPage.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/editor/databases/ConfigPage.java?rev=1675849&view=auto
==============================================================================
--- directory/studio/trunk/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/editor/databases/ConfigPage.java (added)
+++ directory/studio/trunk/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/editor/databases/ConfigPage.java Fri Apr 24 13:27:53 2015
@@ -0,0 +1,64 @@
+/*
+ *  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.editor.databases;
+
+import org.eclipse.core.runtime.IProgressMonitor;
+import org.eclipse.ui.forms.editor.FormEditor;
+import org.eclipse.ui.forms.editor.FormPage;
+
+/**
+ * This page represent all the Config database options
+ *
+ * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+ */
+public class ConfigPage extends FormPage
+{
+    /** The Page ID*/
+    public static final String ID = ConfigPage.class.getName(); //$NON-NLS-1$
+
+    /** The Page Title */
+    private static final String TITLE = "Config Database";
+
+    /** 
+     * Creates a new instance of ConfigPage.
+     *
+     * @param editor
+     */
+    public ConfigPage( FormEditor editor )
+    {
+        super( editor, ID, TITLE );
+    }
+
+
+    /**
+     * {@inheritDoc}
+     */
+    public void refreshUI()
+    {
+    }
+
+
+    /**
+     * {@inheritDoc}
+     */
+    public void doSave( IProgressMonitor monitor )
+    {
+    }
+}

Added: directory/studio/trunk/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/editor/databases/FrontendPage.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/editor/databases/FrontendPage.java?rev=1675849&view=auto
==============================================================================
--- directory/studio/trunk/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/editor/databases/FrontendPage.java (added)
+++ directory/studio/trunk/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/editor/databases/FrontendPage.java Fri Apr 24 13:27:53 2015
@@ -0,0 +1,64 @@
+/*
+ *  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.editor.databases;
+
+import org.eclipse.core.runtime.IProgressMonitor;
+import org.eclipse.ui.forms.editor.FormEditor;
+import org.eclipse.ui.forms.editor.FormPage;
+
+/**
+ * This page represent all the Frontend database options
+ *
+ * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+ */
+public class FrontendPage extends FormPage
+{
+    /** The Page ID*/
+    public static final String ID = FrontendPage.class.getName(); //$NON-NLS-1$
+
+    /** The Page Title */
+    private static final String TITLE = "Frontend Database";
+
+    /** 
+     * Creates a new instance of FrontendPage.
+     *
+     * @param editor
+     */
+    public FrontendPage( FormEditor editor )
+    {
+        super( editor, ID, TITLE );
+    }
+
+
+    /**
+     * {@inheritDoc}
+     */
+    public void refreshUI()
+    {
+    }
+
+
+    /**
+     * {@inheritDoc}
+     */
+    public void doSave( IProgressMonitor monitor )
+    {
+    }
+}

Added: directory/studio/trunk/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/editor/messages.properties
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/editor/messages.properties?rev=1675849&view=auto
==============================================================================
--- directory/studio/trunk/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/editor/messages.properties (added)
+++ directory/studio/trunk/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/editor/messages.properties Fri Apr 24 13:27:53 2015
@@ -0,0 +1,33 @@
+# 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.
+ConnectionServerConfigurationInput.ConnectionConfiguration={0} - Configuration
+
+ErrorPage.CouldNotOpenEditor=Could not open the editor.
+ErrorPage.Details=Details
+ErrorPage.ErrorOpeningEditor=Error opening the editor
+
+LoadingPage.LoadingConfiguration=Loading Configuration
+LoadingPage.LoadingConfigurationEllipsis=Loading Configuration...
+LoadingPage.LoadingTheConfigurationPleaseWait=Loading the configuration, please wait...
+
+NewServerConfigurationInput.NewOpenLDAPConfigurationFile=New OpenLDAP configuration file
+
+ServerConfigurationEditor.SavingServerConfiguration=Saving Server Configuration
+
+ServerConfigurationEditorUtils.ChangesCouldNotBeSavedToConnection=Changes could not be saved to the connection.
+ServerConfigurationEditorUtils.Question=Question
+ServerConfigurationEditorUtils.TheFileAlreadyExistsWantToReplace=The file "{0}" already exists. Do you want to replace the existing file?

Added: directory/studio/trunk/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/editor/messages_de.properties
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/editor/messages_de.properties?rev=1675849&view=auto
==============================================================================
--- directory/studio/trunk/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/editor/messages_de.properties (added)
+++ directory/studio/trunk/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/editor/messages_de.properties Fri Apr 24 13:27:53 2015
@@ -0,0 +1,35 @@
+# 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.
+ConnectionServerConfigurationInput.ConnectionConfiguration={0} - Konfiguration
+
+ErrorPage.CouldNotOpenEditor=Der Editor konnte nicht ge\u00F6ffnet werden.
+ErrorPage.Details=Details
+ErrorPage.ErrorOpeningEditor=Fehler beim \u00D6ffnen des Editors
+
+LoadingPage.LoadingConfiguration=Konfiguration wird geladen
+LoadingPage.LoadingConfigurationEllipsis=Konfiguration wird geladen...
+LoadingPage.LoadingTheConfigurationPleaseWait=Konfiguration wird geladen, bitte warten...
+
+NewServerConfigurationInput.NewApacheDS20ConfigurationFile=Neue OpenLDAP Konfigurationsdatei
+
+ServerConfigurationEditor.SavingServerConfiguration=Server Konfiguration speichern
+
+ServerConfigurationEditorPage.DefaultWithValue=(Default: {0})
+
+ServerConfigurationEditorUtils.ChangesCouldNotBeSavedToConnection=\u00C4nderungen konnten nicht \u00FCber die Verbindung gespeichert werden.
+ServerConfigurationEditorUtils.Question=Frage
+ServerConfigurationEditorUtils.TheFileAlreadyExistsWantToReplace=Die Datei "{0}" existiert bereits. Soll die existierende Datei \u00FCberschrieben werden?

Added: directory/studio/trunk/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/editor/messages_fr.properties
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/editor/messages_fr.properties?rev=1675849&view=auto
==============================================================================
--- directory/studio/trunk/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/editor/messages_fr.properties (added)
+++ directory/studio/trunk/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/editor/messages_fr.properties Fri Apr 24 13:27:53 2015
@@ -0,0 +1,36 @@
+# 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.
+ConnectionServerConfigurationInput.ConnectionConfiguration={0} - Configuration
+
+ErrorPage.CouldNotOpenEditor=Impossible d''ouvrir l''\u00E9diteur.
+ErrorPage.Details=D\u00E9tails
+ErrorPage.ErrorOpeningEditor=Erreur \u00E0 l''ouverture de l''\u00E9diteur
+
+
+LoadingPage.LoadingConfiguration=Chargement de la configuration
+LoadingPage.LoadingConfigurationEllipsis=Chargement de la configuration...
+LoadingPage.LoadingTheConfigurationPleaseWait=Chargement de la configuration en cours, veuillez patienter...
+
+NewServerConfigurationInput.NewApacheDS20ConfigurationFile=Nouveau fichier de configuration OpenLDAP
+
+ServerConfigurationEditor.SavingServerConfiguration=Sauvegarde de la configuration du serveur
+
+ServerConfigurationEditorPage.DefaultWithValue=(Par d\u00E9faut: {0})
+
+ServerConfigurationEditorUtils.ChangesCouldNotBeSavedToConnection=Les modifications n''ont pu \u00EAtre sauvegard\u00E9es sur la connection.
+ServerConfigurationEditorUtils.Question=Question
+ServerConfigurationEditorUtils.TheFileAlreadyExistsWantToReplace=Le fichier "{0}" existe d\u00E9j\u00E0. Souhaitez-vous remplacer le fichier existant ?