directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r753246 - in /directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/time: GeneralizedTimeValueDialog.java messages.properties messages_fr.properties
Date Fri, 13 Mar 2009 13:41:42 GMT
Author: pamarcelot
Date: Fri Mar 13 13:41:42 2009
New Revision: 753246

URL: http://svn.apache.org/viewvc?rev=753246&view=rev
Log:
Replaced 'Raw' by 'Raw value' for better understanding.

Modified:
    directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/time/GeneralizedTimeValueDialog.java
    directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/time/messages.properties
    directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/time/messages_fr.properties

Modified: directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/time/GeneralizedTimeValueDialog.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/time/GeneralizedTimeValueDialog.java?rev=753246&r1=753245&r2=753246&view=diff
==============================================================================
--- directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/time/GeneralizedTimeValueDialog.java
(original)
+++ directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/time/GeneralizedTimeValueDialog.java
Fri Mar 13 13:41:42 2009
@@ -17,7 +17,6 @@
  *  under the License. 
  *  
  */
-
 package org.apache.directory.studio.valueeditors.time;
 
 
@@ -94,10 +93,10 @@
     private ComboViewer timezoneComboViewer;
 
     // Raw value
-    private Text rawText;
+    private Text rawValueText;
 
     // Raw validator
-    private Label rawValidatorImage;
+    private Label rawValueValidatorImage;
 
     /** The OK button of the dialog */
     private Button okButton;
@@ -184,13 +183,13 @@
     /**
      * The modify listener of the raw field.
      */
-    private ModifyListener rawModifyListener = new ModifyListener()
+    private ModifyListener rawValueModifyListener = new ModifyListener()
     {
         public void modifyText( ModifyEvent e )
         {
             try
             {
-                value = new GeneralizedTime( rawText.getText() );
+                value = new GeneralizedTime( rawValueText.getText() );
 
                 removeListeners();
                 updateNonRawFields();
@@ -264,7 +263,7 @@
         createTimeDialogArea( dualComposite );
         createDateDialogArea( dualComposite );
         createTimeZoneDialogArea( dualComposite );
-        createRawDialogArea( dualComposite );
+        createRawValueDialogArea( dualComposite );
 
         // Initializing with initial value
         initWithInitialValue();
@@ -484,28 +483,28 @@
 
 
     /**
-     * Creates the "Raw" dialog area.
+     * Creates the "Raw value" dialog area.
      *
      * @param parent
      *      the parent composite
      */
-    private void createRawDialogArea( Composite parent )
+    private void createRawValueDialogArea( Composite parent )
     {
         // Separator
         Label separatorLabel = new Label( parent, SWT.SEPARATOR | SWT.HORIZONTAL );
         separatorLabel.setLayoutData( new GridData( SWT.FILL, SWT.CENTER, true, false, 2,
1 ) );
 
         // Label
-        BaseWidgetUtils.createLabel( parent, Messages.getString( "GeneralizedTimeValueDialog.Raw"
), 1 ); //$NON-NLS-1$
+        BaseWidgetUtils.createLabel( parent, Messages.getString( "GeneralizedTimeValueDialog.RawValue"
), 1 ); //$NON-NLS-1$
 
         // Raw composite
-        Composite rawComposite = BaseWidgetUtils.createColumnContainer( parent, 2, 1 );
+        Composite rawValueComposite = BaseWidgetUtils.createColumnContainer( parent, 2, 1
);
 
         // Text
-        rawText = BaseWidgetUtils.createText( rawComposite, "", 1 ); //$NON-NLS-1$
+        rawValueText = BaseWidgetUtils.createText( rawValueComposite, "", 1 ); //$NON-NLS-1$
 
         // Validator image
-        rawValidatorImage = new Label( rawComposite, SWT.NONE );
+        rawValueValidatorImage = new Label( rawValueComposite, SWT.NONE );
         validateRawValue( true );
     }
 
@@ -554,8 +553,8 @@
      */
     private void updateRawFields()
     {
-        // Raw
-        rawText.setText( value.toGeneralizedTime() );
+        // Raw value
+        rawValueText.setText( value.toGeneralizedTime() );
 
         validateRawValue( true );
     }
@@ -572,12 +571,12 @@
     {
         if ( bool )
         {
-            rawValidatorImage.setImage( ValueEditorsActivator.getDefault().getImage(
+            rawValueValidatorImage.setImage( ValueEditorsActivator.getDefault().getImage(
                 ValueEditorsConstants.IMG_TEXTFIELD_OK ) );
         }
         else
         {
-            rawValidatorImage.setImage( ValueEditorsActivator.getDefault().getImage(
+            rawValueValidatorImage.setImage( ValueEditorsActivator.getDefault().getImage(
                 ValueEditorsConstants.IMG_TEXTFIELD_ERROR ) );
         }
 
@@ -609,7 +608,7 @@
         timezoneComboViewer.addSelectionChangedListener( timezoneSelectionChangedListener
);
 
         // Raw value
-        rawText.addModifyListener( rawModifyListener );
+        rawValueText.addModifyListener( rawValueModifyListener );
     }
 
 
@@ -634,7 +633,7 @@
         timezoneComboViewer.removeSelectionChangedListener( timezoneSelectionChangedListener
);
 
         // Raw value
-        rawText.removeModifyListener( rawModifyListener );
+        rawValueText.removeModifyListener( rawValueModifyListener );
     }
 
 

Modified: directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/time/messages.properties
URL: http://svn.apache.org/viewvc/directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/time/messages.properties?rev=753246&r1=753245&r2=753246&view=diff
==============================================================================
--- directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/time/messages.properties
(original)
+++ directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/time/messages.properties
Fri Mar 13 13:41:42 2009
@@ -17,6 +17,6 @@
 
 GeneralizedTimeValueDialog.Date=Date:
 GeneralizedTimeValueDialog.DateAndTimeEditor=Date & Time Editor
-GeneralizedTimeValueDialog.Raw=Raw:
+GeneralizedTimeValueDialog.RawValue=Raw value:
 GeneralizedTimeValueDialog.Time=Time:
 GeneralizedTimeValueDialog.Timezone=Time zone:

Modified: directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/time/messages_fr.properties
URL: http://svn.apache.org/viewvc/directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/time/messages_fr.properties?rev=753246&r1=753245&r2=753246&view=diff
==============================================================================
--- directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/time/messages_fr.properties
(original)
+++ directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/time/messages_fr.properties
Fri Mar 13 13:41:42 2009
@@ -17,6 +17,6 @@
 
 GeneralizedTimeValueDialog.Date=Date:
 GeneralizedTimeValueDialog.DateAndTimeEditor=Editeur de Date & Heure
-GeneralizedTimeValueDialog.Raw=Brut:
+GeneralizedTimeValueDialog.RawValue=Valeur brute:
 GeneralizedTimeValueDialog.Time=Heure:
 GeneralizedTimeValueDialog.Timezone=Fuseau horaire:



Mime
View raw message