directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r827917 - in /directory/studio/trunk/rcp/src/main/java/org/apache/directory/studio: Activator.java ApplicationActionBarAdvisor.java Messages.java
Date Wed, 21 Oct 2009 08:17:23 GMT
Author: pamarcelot
Date: Wed Oct 21 08:17:22 2009
New Revision: 827917

URL: http://svn.apache.org/viewvc?rev=827917&view=rev
Log:
Code formatting.

Modified:
    directory/studio/trunk/rcp/src/main/java/org/apache/directory/studio/Activator.java
    directory/studio/trunk/rcp/src/main/java/org/apache/directory/studio/ApplicationActionBarAdvisor.java
    directory/studio/trunk/rcp/src/main/java/org/apache/directory/studio/Messages.java

Modified: directory/studio/trunk/rcp/src/main/java/org/apache/directory/studio/Activator.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/rcp/src/main/java/org/apache/directory/studio/Activator.java?rev=827917&r1=827916&r2=827917&view=diff
==============================================================================
--- directory/studio/trunk/rcp/src/main/java/org/apache/directory/studio/Activator.java (original)
+++ directory/studio/trunk/rcp/src/main/java/org/apache/directory/studio/Activator.java Wed
Oct 21 08:17:22 2009
@@ -119,9 +119,8 @@
             {
                 // We can't use the PLUGIN_ID constant since loading the plugin.properties
file has failed,
                 // So we're using a default plugin id.
-                getLog().log(
-                    new Status( Status.ERROR, "org.apache.directory.studio.rcp", Status.OK,
//$NON-NLS-1$
-                        "Unable to get the plugin properties.", e ) ); //$NON-NLS-1$
+                getLog().log( new Status( Status.ERROR, "org.apache.directory.studio.rcp",
Status.OK, //$NON-NLS-1$
+                    "Unable to get the plugin properties.", e ) ); //$NON-NLS-1$
             }
         }
 

Modified: directory/studio/trunk/rcp/src/main/java/org/apache/directory/studio/ApplicationActionBarAdvisor.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/rcp/src/main/java/org/apache/directory/studio/ApplicationActionBarAdvisor.java?rev=827917&r1=827916&r2=827917&view=diff
==============================================================================
--- directory/studio/trunk/rcp/src/main/java/org/apache/directory/studio/ApplicationActionBarAdvisor.java
(original)
+++ directory/studio/trunk/rcp/src/main/java/org/apache/directory/studio/ApplicationActionBarAdvisor.java
Wed Oct 21 08:17:22 2009
@@ -131,7 +131,7 @@
 
         newAction = ActionFactory.NEW.create( window );
         register( newAction );
-        newAction.setText( Messages.getString("ApplicationActionBarAdvisor.new") ); //$NON-NLS-1$
+        newAction.setText( Messages.getString( "ApplicationActionBarAdvisor.new" ) ); //$NON-NLS-1$
 
         newDropDownAction = new NewWizardDropDownAction( window );
         //        new NavigationHistoryAction( window, false );
@@ -272,11 +272,16 @@
         String os = Platform.getOS();
 
         // Creating menus
-        MenuManager fileMenu = new MenuManager( Messages.getString("ApplicationActionBarAdvisor.file"),
IWorkbenchActionConstants.M_FILE ); //$NON-NLS-1$
-        MenuManager editMenu = new MenuManager( Messages.getString("ApplicationActionBarAdvisor.edit"),
IWorkbenchActionConstants.M_EDIT ); //$NON-NLS-1$
-        MenuManager navigateMenu = new MenuManager( Messages.getString("ApplicationActionBarAdvisor.navigate"),
IWorkbenchActionConstants.M_NAVIGATE ); //$NON-NLS-1$
-        MenuManager windowMenu = new MenuManager( Messages.getString("ApplicationActionBarAdvisor.windows"),
IWorkbenchActionConstants.M_WINDOW ); //$NON-NLS-1$
-        MenuManager helpMenu = new MenuManager( Messages.getString("ApplicationActionBarAdvisor.help"),
IWorkbenchActionConstants.M_HELP ); //$NON-NLS-1$
+        MenuManager fileMenu = new MenuManager(
+            Messages.getString( "ApplicationActionBarAdvisor.file" ), IWorkbenchActionConstants.M_FILE
); //$NON-NLS-1$
+        MenuManager editMenu = new MenuManager(
+            Messages.getString( "ApplicationActionBarAdvisor.edit" ), IWorkbenchActionConstants.M_EDIT
); //$NON-NLS-1$
+        MenuManager navigateMenu = new MenuManager(
+            Messages.getString( "ApplicationActionBarAdvisor.navigate" ), IWorkbenchActionConstants.M_NAVIGATE
); //$NON-NLS-1$
+        MenuManager windowMenu = new MenuManager(
+            Messages.getString( "ApplicationActionBarAdvisor.windows" ), IWorkbenchActionConstants.M_WINDOW
); //$NON-NLS-1$
+        MenuManager helpMenu = new MenuManager(
+            Messages.getString( "ApplicationActionBarAdvisor.help" ), IWorkbenchActionConstants.M_HELP
); //$NON-NLS-1$
         MenuManager hiddenMenu = new MenuManager( "Hidden", "org.apache.directory.studio.rcp.hidden"
); //$NON-NLS-1$ //$NON-NLS-2$
         hiddenMenu.setVisible( false );
 
@@ -354,10 +359,11 @@
         navigateMenu.add( forwardHistoryAction );
 
         // Window 
-        MenuManager perspectiveMenu = new MenuManager( Messages.getString("ApplicationActionBarAdvisor.openPerspective"),
"openPerspective" ); //$NON-NLS-1$ //$NON-NLS-2$
+        MenuManager perspectiveMenu = new MenuManager( Messages
+            .getString( "ApplicationActionBarAdvisor.openPerspective" ), "openPerspective"
); //$NON-NLS-1$ //$NON-NLS-2$
         perspectiveMenu.add( perspectivesList );
         windowMenu.add( perspectiveMenu );
-        MenuManager viewMenu = new MenuManager( Messages.getString("ApplicationActionBarAdvisor.showView")
); //$NON-NLS-1$
+        MenuManager viewMenu = new MenuManager( Messages.getString( "ApplicationActionBarAdvisor.showView"
) ); //$NON-NLS-1$
         viewMenu.add( viewsList );
         windowMenu.add( viewMenu );
         windowMenu.add( new Separator() );

Modified: directory/studio/trunk/rcp/src/main/java/org/apache/directory/studio/Messages.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/rcp/src/main/java/org/apache/directory/studio/Messages.java?rev=827917&r1=827916&r2=827917&view=diff
==============================================================================
--- directory/studio/trunk/rcp/src/main/java/org/apache/directory/studio/Messages.java (original)
+++ directory/studio/trunk/rcp/src/main/java/org/apache/directory/studio/Messages.java Wed
Oct 21 08:17:22 2009
@@ -28,7 +28,6 @@
 import org.slf4j.LoggerFactory;
 
 
-
 /**
  * This class is used to get Strings to display in the User Interface
  * 



Mime
View raw message