directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r1523681 [2/2] - in /directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2: dialogs/ editor/
Date Mon, 16 Sep 2013 14:36:11 GMT
Modified: directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/ServerConfigurationEditor.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/ServerConfigurationEditor.java?rev=1523681&r1=1523680&r2=1523681&view=diff
==============================================================================
--- directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/ServerConfigurationEditor.java
(original)
+++ directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/ServerConfigurationEditor.java
Mon Sep 16 14:36:10 2013
@@ -163,6 +163,10 @@ public class ServerConfigurationEditor e
      */
     public void doSave( IProgressMonitor monitor )
     {
+        // Saving pages
+        doSavePages( monitor );
+
+        // Saving the configuration using a job
         StudioJob<StudioRunnableWithProgress> job = new StudioJob<StudioRunnableWithProgress>(
             new SaveConfigurationRunnable( this ) );
         job.schedule();
@@ -211,6 +215,9 @@ public class ServerConfigurationEditor e
      */
     public boolean doSaveAs( IProgressMonitor monitor ) throws Exception
     {
+        // Saving pages
+        doSavePages( monitor );
+
         // Saving the configuration as a new file and getting the associated new editor input
         IEditorInput newInput = ServerConfigurationEditorUtils.saveAs( monitor, getSite().getShell(),
             getEditorInput(), getConfigWriter(), true );
@@ -240,6 +247,20 @@ public class ServerConfigurationEditor e
 
 
     /**
+     * Saves the pages.
+     *
+     * @param monitor the monitor
+     */
+    private void doSavePages( IProgressMonitor monitor )
+    {
+        if ( partitionsPage != null )
+        {
+            partitionsPage.doSave( monitor );
+        }
+    }
+
+
+    /**
      * {@inheritDoc}
      */
     public boolean isSaveAsAllowed()

Modified: directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/messages.properties
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/messages.properties?rev=1523681&r1=1523680&r2=1523681&view=diff
==============================================================================
--- directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/messages.properties
(original)
+++ directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/messages.properties
Mon Sep 16 14:36:10 2013
@@ -105,9 +105,8 @@ PartitionDetailsPage.Delete=Delete
 PartitionDetailsPage.Edit=Edit...
 PartitionDetailsPage.EnableOptimzer=Enable Optimizer
 PartitionDetailsPage.Id=ID:
-PartitionDetailsPage.IndexAttributeIdAndCacheSize={0} [{1}]
 PartitionDetailsPage.IndexedAttributes=Indexed Attributes
-PartitionDetailsPage.PartitionsDetails=Partition Details
+PartitionDetailsPage.PartitionsGeneralDetails=Partition General Details
 PartitionDetailsPage.SetIndexedAttributesOfPartition=Set the indexed attributes of the partition.
 PartitionDetailsPage.SetPropertiesOfPartition=Set the properties of the partition.
 PartitionDetailsPage.SynchronizationOnWrite=Synchronization On Write

Modified: directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/messages_de.properties
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/messages_de.properties?rev=1523681&r1=1523680&r2=1523681&view=diff
==============================================================================
--- directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/messages_de.properties
(original)
+++ directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/messages_de.properties
Mon Sep 16 14:36:10 2013
@@ -103,9 +103,8 @@ PartitionDetailsPage.Delete=L\u00F6schen
 PartitionDetailsPage.Edit=Bearbeiten...
 PartitionDetailsPage.EnableOptimzer=Optimierer aktivieren
 PartitionDetailsPage.Id=ID:
-PartitionDetailsPage.IndexAttributeIdAndCacheSize={0} [{1}]
 PartitionDetailsPage.IndexedAttributes=Indizierte Attribute
-PartitionDetailsPage.PartitionsDetails=Partitions-Details
+PartitionDetailsPage.PartitionsGeneralDetails=Partitions-General-Details
 PartitionDetailsPage.SetIndexedAttributesOfPartition=Indizierte Attribute der Partition.
 PartitionDetailsPage.SetPropertiesOfPartition=Eigenschaften der Partition.
 PartitionDetailsPage.SynchronizationOnWrite=Beim Schreiben synchronisieren

Modified: directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/messages_fr.properties
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/messages_fr.properties?rev=1523681&r1=1523680&r2=1523681&view=diff
==============================================================================
--- directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/messages_fr.properties
(original)
+++ directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/messages_fr.properties
Mon Sep 16 14:36:10 2013
@@ -103,9 +103,8 @@ PartitionDetailsPage.Delete=Supprimer
 PartitionDetailsPage.Edit=Editer...
 PartitionDetailsPage.EnableOptimzer=Activer l'optimisation
 PartitionDetailsPage.Id=ID:
-PartitionDetailsPage.IndexAttributeIdAndCacheSize={0} [{1}]
 PartitionDetailsPage.IndexedAttributes=Attributs Indexés
-PartitionDetailsPage.PartitionsDetails=Détails de la partition
+PartitionDetailsPage.PartitionsGeneralDetails=Détails généraux de la partition
 PartitionDetailsPage.SetIndexedAttributesOfPartition=Indiquez les attributs indexés de la
partition.
 PartitionDetailsPage.SetPropertiesOfPartition=Indiquez les propriétés de la partition.
 PartitionDetailsPage.SynchronizationOnWrite=Synchronisation à l'écriture



Mime
View raw message