directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fel...@apache.org
Subject svn commit: r720847 - in /directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/schema: SchemaEditorOverviewPage.java SchemaEditorSourceCodePage.java SchemaEditorTableViewerLabelProvider.java
Date Wed, 26 Nov 2008 13:41:25 GMT
Author: felixk
Date: Wed Nov 26 05:41:25 2008
New Revision: 720847

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

Modified:
    directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/schema/SchemaEditorOverviewPage.java
    directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/schema/SchemaEditorSourceCodePage.java
    directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/schema/SchemaEditorTableViewerLabelProvider.java

Modified: directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/schema/SchemaEditorOverviewPage.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/schema/SchemaEditorOverviewPage.java?rev=720847&r1=720846&r2=720847&view=diff
==============================================================================
--- directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/schema/SchemaEditorOverviewPage.java
(original)
+++ directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/schema/SchemaEditorOverviewPage.java
Wed Nov 26 05:41:25 2008
@@ -153,8 +153,9 @@
                 }
                 catch ( PartInitException exception )
                 {
-                    PluginUtils.logError( Messages.getString("SchemaEditorOverviewPage.ErrorOpenEditor"),
exception );
-                    ViewUtils.displayErrorMessageBox( Messages.getString("SchemaEditorOverviewPage.Error"),
Messages.getString("SchemaEditorOverviewPage.ErrorOpenEditor") );
+                    PluginUtils.logError( Messages.getString( "SchemaEditorOverviewPage.ErrorOpenEditor"
), exception );
+                    ViewUtils.displayErrorMessageBox( Messages.getString( "SchemaEditorOverviewPage.Error"
), Messages
+                        .getString( "SchemaEditorOverviewPage.ErrorOpenEditor" ) );
                 }
             }
         }
@@ -181,8 +182,9 @@
                 }
                 catch ( PartInitException exception )
                 {
-                    PluginUtils.logError( Messages.getString("SchemaEditorOverviewPage.ErrorOpenEditor"),
exception );
-                    ViewUtils.displayErrorMessageBox( Messages.getString("SchemaEditorOverviewPage.Error"),
Messages.getString("SchemaEditorOverviewPage.ErrorOpenEditor") );
+                    PluginUtils.logError( Messages.getString( "SchemaEditorOverviewPage.ErrorOpenEditor"
), exception );
+                    ViewUtils.displayErrorMessageBox( Messages.getString( "SchemaEditorOverviewPage.Error"
), Messages
+                        .getString( "SchemaEditorOverviewPage.ErrorOpenEditor" ) );
                 }
             }
         }
@@ -197,7 +199,7 @@
      */
     public SchemaEditorOverviewPage( FormEditor editor )
     {
-        super( editor, ID, Messages.getString("SchemaEditorOverviewPage.Overview") );
+        super( editor, ID, Messages.getString( "SchemaEditorOverviewPage.Overview" ) );
         schemaHandler = Activator.getDefault().getSchemaHandler();
     }
 
@@ -244,8 +246,10 @@
         // Attribute Types Section
         Section attributeTypesSection = toolkit.createSection( parent, Section.DESCRIPTION
| Section.EXPANDED
             | Section.TITLE_BAR );
-        attributeTypesSection.setDescription( NLS.bind( Messages.getString("SchemaEditorOverviewPage.SchemaAttribute"),
new String[]{ schema.getName()}) );
-        attributeTypesSection.setText( Messages.getString("SchemaEditorOverviewPage.AttributeTypes")
);
+        attributeTypesSection.setDescription( NLS.bind(
+            Messages.getString( "SchemaEditorOverviewPage.SchemaAttribute" ), new String[]
+                { schema.getName() } ) );
+        attributeTypesSection.setText( Messages.getString( "SchemaEditorOverviewPage.AttributeTypes"
) );
 
         // Creating the layout of the section
         Composite attributeTypesSectionClient = toolkit.createComposite( attributeTypesSection
);
@@ -275,8 +279,10 @@
         // Attribute Types Section
         Section objectClassesSection = toolkit.createSection( parent, Section.DESCRIPTION
| Section.EXPANDED
             | Section.TITLE_BAR );
-        objectClassesSection.setDescription( NLS.bind( Messages.getString("SchemaEditorOverviewPage.SchemaObjectClasses"),new
String[]{ schema.getName()}) );
-        objectClassesSection.setText( Messages.getString("SchemaEditorOverviewPage.ObjectClasses")
);
+        objectClassesSection.setDescription( NLS.bind( Messages
+            .getString( "SchemaEditorOverviewPage.SchemaObjectClasses" ), new String[]
+            { schema.getName() } ) );
+        objectClassesSection.setText( Messages.getString( "SchemaEditorOverviewPage.ObjectClasses"
) );
 
         // Creating the layout of the section
         Composite objectClassesSectionClient = toolkit.createComposite( objectClassesSection
);

Modified: directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/schema/SchemaEditorSourceCodePage.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/schema/SchemaEditorSourceCodePage.java?rev=720847&r1=720846&r2=720847&view=diff
==============================================================================
--- directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/schema/SchemaEditorSourceCodePage.java
(original)
+++ directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/schema/SchemaEditorSourceCodePage.java
Wed Nov 26 05:41:25 2008
@@ -183,7 +183,7 @@
      */
     public SchemaEditorSourceCodePage( FormEditor editor )
     {
-        super( editor, ID, Messages.getString("SchemaEditorSourceCodePage.SourceCode") );
+        super( editor, ID, Messages.getString( "SchemaEditorSourceCodePage.SourceCode" )
);
     }
 
 

Modified: directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/schema/SchemaEditorTableViewerLabelProvider.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/schema/SchemaEditorTableViewerLabelProvider.java?rev=720847&r1=720846&r2=720847&view=diff
==============================================================================
--- directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/schema/SchemaEditorTableViewerLabelProvider.java
(original)
+++ directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/schema/SchemaEditorTableViewerLabelProvider.java
Wed Nov 26 05:41:25 2008
@@ -75,7 +75,8 @@
             }
             else
             {
-                return NLS.bind( Messages.getString("SchemaEditorTableViewerLabelProvider.None"),new
String[]{oc.getOid()}); //$NON-NLS-1$
+                return NLS.bind(
+                    Messages.getString( "SchemaEditorTableViewerLabelProvider.None" ), new
String[] { oc.getOid() } ); //$NON-NLS-1$
             }
         }
         else if ( element instanceof AttributeTypeImpl )
@@ -89,7 +90,8 @@
             }
             else
             {
-                return NLS.bind( Messages.getString("SchemaEditorTableViewerLabelProvider.None"),
new String[]{ at.getOid()}); //$NON-NLS-1$
+                return NLS.bind(
+                    Messages.getString( "SchemaEditorTableViewerLabelProvider.None" ), new
String[] { at.getOid() } ); //$NON-NLS-1$
             }
         }
 



Mime
View raw message