directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fel...@apache.org
Subject svn commit: r720825 - /directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/dialogs/
Date Wed, 26 Nov 2008 12:17:23 GMT
Author: felixk
Date: Wed Nov 26 04:17:20 2008
New Revision: 720825

URL: http://svn.apache.org/viewvc?rev=720825&view=rev
Log:
Formatting

Modified:
    directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/dialogs/AttributeTypeSelectionDialog.java
    directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/dialogs/AttributeTypeSelectionDialogLabelProvider.java
    directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/dialogs/EditAliasesDialog.java
    directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/dialogs/ObjectClassSelectionDialog.java
    directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/dialogs/ObjectClassSelectionDialogLabelProvider.java
    directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/dialogs/PreviousSearchesDialog.java
    directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/dialogs/RenameProjectDialog.java

Modified: directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/dialogs/AttributeTypeSelectionDialog.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/dialogs/AttributeTypeSelectionDialog.java?rev=720825&r1=720824&r2=720825&view=diff
==============================================================================
--- directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/dialogs/AttributeTypeSelectionDialog.java
(original)
+++ directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/dialogs/AttributeTypeSelectionDialog.java
Wed Nov 26 04:17:20 2008
@@ -93,7 +93,7 @@
     protected void configureShell( Shell newShell )
     {
         super.configureShell( newShell );
-        newShell.setText( Messages.getString("AttributeTypeSelectionDialog.TypeSelection")
);
+        newShell.setText( Messages.getString( "AttributeTypeSelectionDialog.TypeSelection"
) );
     }
 
 
@@ -107,7 +107,7 @@
         composite.setLayout( layout );
 
         Label chooseLabel = new Label( composite, SWT.NONE );
-        chooseLabel.setText( Messages.getString("AttributeTypeSelectionDialog.ChooseAType")
);
+        chooseLabel.setText( Messages.getString( "AttributeTypeSelectionDialog.ChooseAType"
) );
         chooseLabel.setLayoutData( new GridData( SWT.FILL, SWT.NONE, true, false ) );
 
         searchText = new Text( composite, SWT.BORDER );
@@ -131,7 +131,7 @@
         } );
 
         Label matchingLabel = new Label( composite, SWT.NONE );
-        matchingLabel.setText( Messages.getString("AttributeTypeSelectionDialog.MatchingTypes")
);
+        matchingLabel.setText( Messages.getString( "AttributeTypeSelectionDialog.MatchingTypes"
) );
         matchingLabel.setLayoutData( new GridData( SWT.FILL, SWT.None, true, false ) );
 
         attributeTypesTable = new Table( composite, SWT.SINGLE | SWT.BORDER | SWT.H_SCROLL
| SWT.V_SCROLL
@@ -249,7 +249,8 @@
         StructuredSelection selection = ( StructuredSelection ) attributeTypesTableViewer.getSelection();
         if ( selection.isEmpty() )
         {
-            MessageDialog.openError( getShell(), Messages.getString("AttributeTypeSelectionDialog.InvalidSelection"),
Messages.getString("AttributeTypeSelectionDialog.MustChooseType") );
+            MessageDialog.openError( getShell(), Messages.getString( "AttributeTypeSelectionDialog.InvalidSelection"
),
+                Messages.getString( "AttributeTypeSelectionDialog.MustChooseType" ) );
             return;
         }
         else

Modified: directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/dialogs/AttributeTypeSelectionDialogLabelProvider.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/dialogs/AttributeTypeSelectionDialogLabelProvider.java?rev=720825&r1=720824&r2=720825&view=diff
==============================================================================
--- directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/dialogs/AttributeTypeSelectionDialogLabelProvider.java
(original)
+++ directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/dialogs/AttributeTypeSelectionDialogLabelProvider.java
Wed Nov 26 04:17:20 2008
@@ -69,7 +69,9 @@
             }
             else
             {
-                return NLS.bind( Messages.getString("AttributeTypeSelectionDialogLabelProvider.None"),
new String[]{at.getOid()}); //$NON-NLS-1$
+                return NLS
+                    .bind(
+                        Messages.getString( "AttributeTypeSelectionDialogLabelProvider.None"
), new String[] { at.getOid() } ); //$NON-NLS-1$
             }
         }
 

Modified: directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/dialogs/EditAliasesDialog.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/dialogs/EditAliasesDialog.java?rev=720825&r1=720824&r2=720825&view=diff
==============================================================================
--- directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/dialogs/EditAliasesDialog.java
(original)
+++ directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/dialogs/EditAliasesDialog.java
Wed Nov 26 04:17:20 2008
@@ -138,7 +138,7 @@
 
         // Aliases Label
         Label aliasesLabel = new Label( composite, SWT.NONE );
-        aliasesLabel.setText( Messages.getString("EditAliasesDialog.Aliases") );
+        aliasesLabel.setText( Messages.getString( "EditAliasesDialog.Aliases" ) );
         aliasesLabel.setLayoutData( new GridData( SWT.FILL, SWT.NONE, true, true, 2, 1 )
);
 
         // Aliases Table
@@ -159,18 +159,18 @@
 
         // Add Button
         addButton = new Button( composite, SWT.PUSH );
-        addButton.setText( Messages.getString("EditAliasesDialog.Add") );
+        addButton.setText( Messages.getString( "EditAliasesDialog.Add" ) );
         addButton.setLayoutData( new GridData( SWT.FILL, SWT.NONE, false, false ) );
 
         // Edit Button
         editButton = new Button( composite, SWT.PUSH );
-        editButton.setText( Messages.getString("EditAliasesDialog.Edit") );
+        editButton.setText( Messages.getString( "EditAliasesDialog.Edit" ) );
         editButton.setLayoutData( new GridData( SWT.FILL, SWT.NONE, false, false ) );
         editButton.setEnabled( false );
 
         // Remove Button
         removeButton = new Button( composite, SWT.PUSH );
-        removeButton.setText( Messages.getString("EditAliasesDialog.Remove") );
+        removeButton.setText( Messages.getString( "EditAliasesDialog.Remove" ) );
         removeButton.setLayoutData( new GridData( SWT.FILL, SWT.NONE, false, false ) );
         removeButton.setEnabled( false );
 
@@ -189,7 +189,7 @@
         // Error Label
         errorLabel = new Label( errorComposite, SWT.NONE );
         errorLabel.setLayoutData( new GridData( SWT.FILL, SWT.FILL, true, true ) );
-        errorLabel.setText( Messages.getString("EditAliasesDialog.ElementWithSameAliasExists")
); //$NON-NLS-1$
+        errorLabel.setText( Messages.getString( "EditAliasesDialog.ElementWithSameAliasExists"
) ); //$NON-NLS-1$
 
         // Filling the Table with the given aliases
         fillAliasesTable();
@@ -257,7 +257,7 @@
         Menu menu = new Menu( getShell(), SWT.POP_UP );
         aliasesTable.setMenu( menu );
         MenuItem removeMenuItem = new MenuItem( menu, SWT.PUSH );
-        removeMenuItem.setText( Messages.getString("EditAliasesDialog.Remove") );
+        removeMenuItem.setText( Messages.getString( "EditAliasesDialog.Remove" ) );
         removeMenuItem.setImage( PlatformUI.getWorkbench().getSharedImages().getImage( ISharedImages.IMG_TOOL_DELETE
) );
         removeMenuItem.addListener( SWT.Selection, new Listener()
         {
@@ -446,12 +446,13 @@
                 && ( !initialLowerCasedAliases.contains( alias.toLowerCase() ) )
)
             {
                 errorComposite.setVisible( true );
-                errorLabel.setText( Messages.getString("EditAliasesDialog.ElementWithSameAliasExists")
);
+                errorLabel.setText( Messages.getString( "EditAliasesDialog.ElementWithSameAliasExists"
) );
             }
             else if ( !PluginUtils.verifyName( alias ) )
             {
                 errorComposite.setVisible( true );
-                errorLabel.setText( NLS.bind( Messages.getString("EditAliasesDialog.TheAliasBegin"),
new String[]{ alias}) );
+                errorLabel.setText( NLS.bind( Messages.getString( "EditAliasesDialog.TheAliasBegin"
), new String[]
+                    { alias } ) );
             }
         }
     }
@@ -463,7 +464,7 @@
     protected void configureShell( Shell newShell )
     {
         super.configureShell( newShell );
-        newShell.setText( Messages.getString("EditAliasesDialog.EditAlias") );
+        newShell.setText( Messages.getString( "EditAliasesDialog.EditAlias" ) );
     }
 
 

Modified: directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/dialogs/ObjectClassSelectionDialog.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/dialogs/ObjectClassSelectionDialog.java?rev=720825&r1=720824&r2=720825&view=diff
==============================================================================
--- directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/dialogs/ObjectClassSelectionDialog.java
(original)
+++ directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/dialogs/ObjectClassSelectionDialog.java
Wed Nov 26 04:17:20 2008
@@ -93,7 +93,7 @@
     protected void configureShell( Shell newShell )
     {
         super.configureShell( newShell );
-        newShell.setText( Messages.getString("ObjectClassSelectionDialog.ClassSelection")
);
+        newShell.setText( Messages.getString( "ObjectClassSelectionDialog.ClassSelection"
) );
     }
 
 
@@ -107,7 +107,7 @@
         composite.setLayout( layout );
 
         Label chooseLabel = new Label( composite, SWT.NONE );
-        chooseLabel.setText( Messages.getString("ObjectClassSelectionDialog.ChooseClass")
);
+        chooseLabel.setText( Messages.getString( "ObjectClassSelectionDialog.ChooseClass"
) );
         chooseLabel.setLayoutData( new GridData( SWT.FILL, SWT.NONE, true, false ) );
 
         searchText = new Text( composite, SWT.BORDER );
@@ -131,7 +131,7 @@
         } );
 
         Label matchingLabel = new Label( composite, SWT.NONE );
-        matchingLabel.setText( Messages.getString("ObjectClassSelectionDialog.MatchingClasses")
);
+        matchingLabel.setText( Messages.getString( "ObjectClassSelectionDialog.MatchingClasses"
) );
         matchingLabel.setLayoutData( new GridData( SWT.FILL, SWT.None, true, false ) );
 
         objectClassesTable = new Table( composite, SWT.SINGLE | SWT.BORDER | SWT.H_SCROLL
| SWT.V_SCROLL
@@ -250,7 +250,8 @@
 
         if ( selection.isEmpty() )
         {
-            MessageDialog.openError( getShell(), Messages.getString("ObjectClassSelectionDialog.InvalidSelection"),
Messages.getString("ObjectClassSelectionDialog.MustChooseClass") );
+            MessageDialog.openError( getShell(), Messages.getString( "ObjectClassSelectionDialog.InvalidSelection"
),
+                Messages.getString( "ObjectClassSelectionDialog.MustChooseClass" ) );
             return;
         }
         else

Modified: directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/dialogs/ObjectClassSelectionDialogLabelProvider.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/dialogs/ObjectClassSelectionDialogLabelProvider.java?rev=720825&r1=720824&r2=720825&view=diff
==============================================================================
--- directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/dialogs/ObjectClassSelectionDialogLabelProvider.java
(original)
+++ directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/dialogs/ObjectClassSelectionDialogLabelProvider.java
Wed Nov 26 04:17:20 2008
@@ -69,7 +69,8 @@
             }
             else
             {
-                return NLS.bind( Messages.getString("ObjectClassSelectionDialogLabelProvider.None"),
new String[]{oc.getOid()}); //$NON-NLS-1$
+                return NLS.bind(
+                    Messages.getString( "ObjectClassSelectionDialogLabelProvider.None" ),
new String[] { oc.getOid() } ); //$NON-NLS-1$
             }
         }
 

Modified: directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/dialogs/PreviousSearchesDialog.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/dialogs/PreviousSearchesDialog.java?rev=720825&r1=720824&r2=720825&view=diff
==============================================================================
--- directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/dialogs/PreviousSearchesDialog.java
(original)
+++ directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/dialogs/PreviousSearchesDialog.java
Wed Nov 26 04:17:20 2008
@@ -82,7 +82,7 @@
     protected void configureShell( Shell newShell )
     {
         super.configureShell( newShell );
-        newShell.setText( Messages.getString("PreviousSearchesDialog.Previous") );
+        newShell.setText( Messages.getString( "PreviousSearchesDialog.Previous" ) );
     }
 
 
@@ -96,7 +96,7 @@
         composite.setLayoutData( new GridData( SWT.FILL, SWT.FILL, true, true ) );
 
         Label label = new Label( composite, SWT.NONE );
-        label.setText( Messages.getString("PreviousSearchesDialog.ShowResultsInView") );
+        label.setText( Messages.getString( "PreviousSearchesDialog.ShowResultsInView" ) );
         label.setLayoutData( new GridData( SWT.FILL, SWT.NONE, true, false, 2, 1 ) );
 
         tableViewer = new TableViewer( composite, SWT.BORDER | SWT.H_SCROLL | SWT.V_SCROLL
| SWT.SINGLE );
@@ -129,7 +129,7 @@
         } );
 
         removeButton = new Button( composite, SWT.NONE );
-        removeButton.setText( Messages.getString("PreviousSearchesDialog.Remove") );
+        removeButton.setText( Messages.getString( "PreviousSearchesDialog.Remove" ) );
         removeButton.setLayoutData( new GridData( SWT.NONE, SWT.BEGINNING, false, false )
);
         removeButton.setEnabled( false );
         removeButton.addSelectionListener( new SelectionAdapter()
@@ -164,7 +164,8 @@
     protected void createButtonsForButtonBar( Composite parent )
     {
         createButton( parent, IDialogConstants.CANCEL_ID, IDialogConstants.CANCEL_LABEL,
false );
-        openButton = createButton( parent, IDialogConstants.OK_ID, Messages.getString("PreviousSearchesDialog.Open"),
true );
+        openButton = createButton( parent, IDialogConstants.OK_ID, Messages.getString( "PreviousSearchesDialog.Open"
),
+            true );
         openButton.setEnabled( false );
     }
 

Modified: directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/dialogs/RenameProjectDialog.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/dialogs/RenameProjectDialog.java?rev=720825&r1=720824&r2=720825&view=diff
==============================================================================
--- directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/dialogs/RenameProjectDialog.java
(original)
+++ directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/dialogs/RenameProjectDialog.java
Wed Nov 26 04:17:20 2008
@@ -86,7 +86,7 @@
     protected void configureShell( Shell newShell )
     {
         super.configureShell( newShell );
-        newShell.setText( Messages.getString("RenameProjectDialog.Rename") );
+        newShell.setText( Messages.getString( "RenameProjectDialog.Rename" ) );
     }
 
 
@@ -101,7 +101,7 @@
 
         // New Name
         Label newNameLabel = new Label( composite, SWT.NONE );
-        newNameLabel.setText( Messages.getString("RenameProjectDialog.NewName") );
+        newNameLabel.setText( Messages.getString( "RenameProjectDialog.NewName" ) );
         newNameText = new Text( composite, SWT.BORDER );
         newNameText.setLayoutData( new GridData( SWT.FILL, SWT.NONE, true, false ) );
         newNameText.setText( originalName );
@@ -142,7 +142,7 @@
         // Error Label
         errorLabel = new Label( errorComposite, SWT.NONE );
         errorLabel.setLayoutData( new GridData( SWT.FILL, SWT.FILL, true, true ) );
-        errorLabel.setText( Messages.getString("RenameProjectDialog.NameExists") );
+        errorLabel.setText( Messages.getString( "RenameProjectDialog.NameExists" ) );
 
         newNameText.setFocus();
         newNameText.selectAll();



Mime
View raw message