directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fel...@apache.org
Subject svn commit: r720804 - in /directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/controller: HierarchyViewController.java ProblemsViewController.java ProjectsViewController.java SchemaViewController.java
Date Wed, 26 Nov 2008 10:58:35 GMT
Author: felixk
Date: Wed Nov 26 02:58:34 2008
New Revision: 720804

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

Modified:
    directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/controller/HierarchyViewController.java
    directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/controller/ProblemsViewController.java
    directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/controller/ProjectsViewController.java
    directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/controller/SchemaViewController.java

Modified: directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/controller/HierarchyViewController.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/controller/HierarchyViewController.java?rev=720804&r1=720803&r2=720804&view=diff
==============================================================================
--- directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/controller/HierarchyViewController.java
(original)
+++ directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/controller/HierarchyViewController.java
Wed Nov 26 02:58:34 2008
@@ -134,8 +134,9 @@
                 }
                 catch ( PartInitException e )
                 {
-                    PluginUtils.logError( Messages.getString("HierarchyViewController.ErrorOpeningEditor"),
e );
-                    ViewUtils.displayErrorMessageBox( Messages.getString("HierarchyViewController.Error"),
Messages.getString("HierarchyViewController.ErrorOpeningEditor") );
+                    PluginUtils.logError( Messages.getString( "HierarchyViewController.ErrorOpeningEditor"
), e );
+                    ViewUtils.displayErrorMessageBox( Messages.getString( "HierarchyViewController.Error"
), Messages
+                        .getString( "HierarchyViewController.ErrorOpeningEditor" ) );
                 }
             }
         }

Modified: directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/controller/ProblemsViewController.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/controller/ProblemsViewController.java?rev=720804&r1=720803&r2=720804&view=diff
==============================================================================
--- directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/controller/ProblemsViewController.java
(original)
+++ directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/controller/ProblemsViewController.java
Wed Nov 26 02:58:34 2008
@@ -222,8 +222,9 @@
                     }
                     catch ( PartInitException e )
                     {
-                        PluginUtils.logError( Messages.getString("ProblemsViewController.ErrorOpeningEditor"),
e );
-                        ViewUtils.displayErrorMessageBox( Messages.getString("ProblemsViewController.Error"),
Messages.getString("ProblemsViewController.ErrorOpeningEditor") );
+                        PluginUtils.logError( Messages.getString( "ProblemsViewController.ErrorOpeningEditor"
), e );
+                        ViewUtils.displayErrorMessageBox( Messages.getString( "ProblemsViewController.Error"
),
+                            Messages.getString( "ProblemsViewController.ErrorOpeningEditor"
) );
                     }
                 }
             }

Modified: directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/controller/ProjectsViewController.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/controller/ProjectsViewController.java?rev=720804&r1=720803&r2=720804&view=diff
==============================================================================
--- directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/controller/ProjectsViewController.java
(original)
+++ directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/controller/ProjectsViewController.java
Wed Nov 26 02:58:34 2008
@@ -147,8 +147,8 @@
         {
             public void menuAboutToShow( IMenuManager manager )
             {
-                MenuManager importManager = new MenuManager( Messages.getString("ProjectsViewController.ImportAction")
);
-                MenuManager exportManager = new MenuManager( Messages.getString("ProjectsViewController.ExportAction")
);
+                MenuManager importManager = new MenuManager( Messages.getString( "ProjectsViewController.ImportAction"
) );
+                MenuManager exportManager = new MenuManager( Messages.getString( "ProjectsViewController.ExportAction"
) );
                 manager.add( newProject );
                 manager.add( new Separator() );
                 manager.add( openProject );

Modified: directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/controller/SchemaViewController.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/controller/SchemaViewController.java?rev=720804&r1=720803&r2=720804&view=diff
==============================================================================
--- directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/controller/SchemaViewController.java
(original)
+++ directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/controller/SchemaViewController.java
Wed Nov 26 02:58:34 2008
@@ -319,7 +319,8 @@
         IMenuManager menu = view.getViewSite().getActionBars().getMenuManager();
         menu.add( openSchemaViewSortingDialog );
         menu.add( new Separator() );
-        IMenuManager schemaPresentationMenu = new MenuManager( Messages.getString("SchemaViewController.SchemaPresentationAction")
);
+        IMenuManager schemaPresentationMenu = new MenuManager( Messages
+            .getString( "SchemaViewController.SchemaPresentationAction" ) );
         schemaPresentationMenu.add( switchSchemaPresentationToFlat );
         schemaPresentationMenu.add( switchSchemaPresentationToHierarchical );
         menu.add( schemaPresentationMenu );
@@ -341,9 +342,9 @@
         {
             public void menuAboutToShow( IMenuManager manager )
             {
-                MenuManager newManager = new MenuManager( Messages.getString("SchemaViewController.NewAction")
);
-                MenuManager importManager = new MenuManager( Messages.getString("SchemaViewController.ImportAction")
);
-                MenuManager exportManager = new MenuManager( Messages.getString("SchemaViewController.ExportAction")
);
+                MenuManager newManager = new MenuManager( Messages.getString( "SchemaViewController.NewAction"
) );
+                MenuManager importManager = new MenuManager( Messages.getString( "SchemaViewController.ImportAction"
) );
+                MenuManager exportManager = new MenuManager( Messages.getString( "SchemaViewController.ExportAction"
) );
                 manager.add( newManager );
                 newManager.add( newSchema );
                 newManager.add( newAttributeType );
@@ -508,8 +509,9 @@
                     }
                     catch ( PartInitException e )
                     {
-                        PluginUtils.logError( Messages.getString("SchemaViewController.ErrorOpeningEditor"),
e );
-                        ViewUtils.displayErrorMessageBox( Messages.getString("SchemaViewController.error"),
Messages.getString("SchemaViewController.ErrorOpeningEditor") );
+                        PluginUtils.logError( Messages.getString( "SchemaViewController.ErrorOpeningEditor"
), e );
+                        ViewUtils.displayErrorMessageBox( Messages.getString( "SchemaViewController.error"
), Messages
+                            .getString( "SchemaViewController.ErrorOpeningEditor" ) );
                     }
                 }
             }



Mime
View raw message