directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r490969 - in /directory/trunks/ldapstudio/ldapstudio-rcp: ./ src/main/java/org/apache/directory/ldapstudio/ src/main/java/org/apache/directory/ldapstudio/actions/ src/main/java/org/apache/directory/ldapstudio/view/
Date Fri, 29 Dec 2006 09:32:26 GMT
Author: pamarcelot
Date: Fri Dec 29 01:32:25 2006
New Revision: 490969

URL: http://svn.apache.org/viewvc?view=rev&rev=490969
Log:
Code & Javadoc cleaning.

Modified:
    directory/trunks/ldapstudio/ldapstudio-rcp/log4j.conf
    directory/trunks/ldapstudio/ldapstudio-rcp/src/main/java/org/apache/directory/ldapstudio/Activator.java
    directory/trunks/ldapstudio/ldapstudio-rcp/src/main/java/org/apache/directory/ldapstudio/Application.java
    directory/trunks/ldapstudio/ldapstudio-rcp/src/main/java/org/apache/directory/ldapstudio/ApplicationActionBarAdvisor.java
    directory/trunks/ldapstudio/ldapstudio-rcp/src/main/java/org/apache/directory/ldapstudio/ApplicationWorkbenchAdvisor.java
    directory/trunks/ldapstudio/ldapstudio-rcp/src/main/java/org/apache/directory/ldapstudio/ApplicationWorkbenchWindowAdvisor.java
    directory/trunks/ldapstudio/ldapstudio-rcp/src/main/java/org/apache/directory/ldapstudio/Messages.java
    directory/trunks/ldapstudio/ldapstudio-rcp/src/main/java/org/apache/directory/ldapstudio/actions/AddExtensionAction.java
    directory/trunks/ldapstudio/ldapstudio-rcp/src/main/java/org/apache/directory/ldapstudio/actions/ManageExtensionsAction.java
    directory/trunks/ldapstudio/ldapstudio-rcp/src/main/java/org/apache/directory/ldapstudio/actions/UpdateAction.java
    directory/trunks/ldapstudio/ldapstudio-rcp/src/main/java/org/apache/directory/ldapstudio/view/ImageKeys.java
    directory/trunks/ldapstudio/ldapstudio-rcp/src/main/java/org/apache/directory/ldapstudio/view/Perspective.java
    directory/trunks/ldapstudio/ldapstudio-rcp/src/main/java/org/apache/directory/ldapstudio/view/WelcomeView.java

Modified: directory/trunks/ldapstudio/ldapstudio-rcp/log4j.conf
URL: http://svn.apache.org/viewvc/directory/trunks/ldapstudio/ldapstudio-rcp/log4j.conf?view=diff&rev=490969&r1=490968&r2=490969
==============================================================================
--- directory/trunks/ldapstudio/ldapstudio-rcp/log4j.conf (original)
+++ directory/trunks/ldapstudio/ldapstudio-rcp/log4j.conf Fri Dec 29 01:32:25 2006
@@ -1,3 +1,21 @@
+#
+#  Licensed to the Apache Software Foundation (ASF) under one
+#  or more contributor license agreements.  See the NOTICE file
+#  distributed with this work for additional information
+#  regarding copyright ownership.  The ASF licenses this file
+#  to you under the Apache License, Version 2.0 (the
+#  "License"); you may not use this file except in compliance
+#  with the License.  You may obtain a copy of the License at
+#
+#    http://www.apache.org/licenses/LICENSE-2.0
+#
+#  Unless required by applicable law or agreed to in writing,
+#  software distributed under the License is distributed on an
+#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+#  KIND, either express or implied.  See the License for the
+#  specific language governing permissions and limitations
+#  under the License.  
+
 # Set root logger level to DEBUG and its only appender to A1.
 log4j.rootLogger=DEBUG, A1
 

Modified: directory/trunks/ldapstudio/ldapstudio-rcp/src/main/java/org/apache/directory/ldapstudio/Activator.java
URL: http://svn.apache.org/viewvc/directory/trunks/ldapstudio/ldapstudio-rcp/src/main/java/org/apache/directory/ldapstudio/Activator.java?view=diff&rev=490969&r1=490968&r2=490969
==============================================================================
--- directory/trunks/ldapstudio/ldapstudio-rcp/src/main/java/org/apache/directory/ldapstudio/Activator.java
(original)
+++ directory/trunks/ldapstudio/ldapstudio-rcp/src/main/java/org/apache/directory/ldapstudio/Activator.java
Fri Dec 29 01:32:25 2006
@@ -30,6 +30,7 @@
  * The main plugin class to be used in the desktop.
  * 
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+ * @version $Rev$, $Date$
  */
 public class Activator extends AbstractUIPlugin
 {

Modified: directory/trunks/ldapstudio/ldapstudio-rcp/src/main/java/org/apache/directory/ldapstudio/Application.java
URL: http://svn.apache.org/viewvc/directory/trunks/ldapstudio/ldapstudio-rcp/src/main/java/org/apache/directory/ldapstudio/Application.java?view=diff&rev=490969&r1=490968&r2=490969
==============================================================================
--- directory/trunks/ldapstudio/ldapstudio-rcp/src/main/java/org/apache/directory/ldapstudio/Application.java
(original)
+++ directory/trunks/ldapstudio/ldapstudio-rcp/src/main/java/org/apache/directory/ldapstudio/Application.java
Fri Dec 29 01:32:25 2006
@@ -33,6 +33,7 @@
  * This class controls all aspects of the application's execution
  * 
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+ * @version $Rev$, $Date$
  */
 public class Application implements IPlatformRunnable
 {

Modified: directory/trunks/ldapstudio/ldapstudio-rcp/src/main/java/org/apache/directory/ldapstudio/ApplicationActionBarAdvisor.java
URL: http://svn.apache.org/viewvc/directory/trunks/ldapstudio/ldapstudio-rcp/src/main/java/org/apache/directory/ldapstudio/ApplicationActionBarAdvisor.java?view=diff&rev=490969&r1=490968&r2=490969
==============================================================================
--- directory/trunks/ldapstudio/ldapstudio-rcp/src/main/java/org/apache/directory/ldapstudio/ApplicationActionBarAdvisor.java
(original)
+++ directory/trunks/ldapstudio/ldapstudio-rcp/src/main/java/org/apache/directory/ldapstudio/ApplicationActionBarAdvisor.java
Fri Dec 29 01:32:25 2006
@@ -51,6 +51,7 @@
  * new actions.
  * 
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+ * @version $Rev$, $Date$
  */
 public class ApplicationActionBarAdvisor extends ActionBarAdvisor
 {
@@ -82,6 +83,12 @@
     private IContributionItem viewsList;
 
 
+    /**
+     * Creates a new instance of ApplicationActionBarAdvisor.
+     *
+     * @param configurer
+     *          the action bar configurer
+     */
     public ApplicationActionBarAdvisor( IActionBarConfigurer configurer )
     {
         super( configurer );

Modified: directory/trunks/ldapstudio/ldapstudio-rcp/src/main/java/org/apache/directory/ldapstudio/ApplicationWorkbenchAdvisor.java
URL: http://svn.apache.org/viewvc/directory/trunks/ldapstudio/ldapstudio-rcp/src/main/java/org/apache/directory/ldapstudio/ApplicationWorkbenchAdvisor.java?view=diff&rev=490969&r1=490968&r2=490969
==============================================================================
--- directory/trunks/ldapstudio/ldapstudio-rcp/src/main/java/org/apache/directory/ldapstudio/ApplicationWorkbenchAdvisor.java
(original)
+++ directory/trunks/ldapstudio/ldapstudio-rcp/src/main/java/org/apache/directory/ldapstudio/ApplicationWorkbenchAdvisor.java
Fri Dec 29 01:32:25 2006
@@ -43,6 +43,7 @@
  * - postShutdown 	Called after all windows are closed during Workbench shutdown. 
  *
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+ * @version $Rev$, $Date$
  */
 public class ApplicationWorkbenchAdvisor extends WorkbenchAdvisor
 {

Modified: directory/trunks/ldapstudio/ldapstudio-rcp/src/main/java/org/apache/directory/ldapstudio/ApplicationWorkbenchWindowAdvisor.java
URL: http://svn.apache.org/viewvc/directory/trunks/ldapstudio/ldapstudio-rcp/src/main/java/org/apache/directory/ldapstudio/ApplicationWorkbenchWindowAdvisor.java?view=diff&rev=490969&r1=490968&r2=490969
==============================================================================
--- directory/trunks/ldapstudio/ldapstudio-rcp/src/main/java/org/apache/directory/ldapstudio/ApplicationWorkbenchWindowAdvisor.java
(original)
+++ directory/trunks/ldapstudio/ldapstudio-rcp/src/main/java/org/apache/directory/ldapstudio/ApplicationWorkbenchWindowAdvisor.java
Fri Dec 29 01:32:25 2006
@@ -56,7 +56,8 @@
 
     /**
      * Default constructor
-     * @param configurer
+     * @param configurer 
+     *          an object for configuring the workbench window
      */
     public ApplicationWorkbenchWindowAdvisor( IWorkbenchWindowConfigurer configurer )
     {

Modified: directory/trunks/ldapstudio/ldapstudio-rcp/src/main/java/org/apache/directory/ldapstudio/Messages.java
URL: http://svn.apache.org/viewvc/directory/trunks/ldapstudio/ldapstudio-rcp/src/main/java/org/apache/directory/ldapstudio/Messages.java?view=diff&rev=490969&r1=490968&r2=490969
==============================================================================
--- directory/trunks/ldapstudio/ldapstudio-rcp/src/main/java/org/apache/directory/ldapstudio/Messages.java
(original)
+++ directory/trunks/ldapstudio/ldapstudio-rcp/src/main/java/org/apache/directory/ldapstudio/Messages.java
Fri Dec 29 01:32:25 2006
@@ -31,6 +31,7 @@
  * This class is used to get Strings to display in the User Interface
  * 
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+ * @version $Rev$, $Date$
  */
 public class Messages
 {

Modified: directory/trunks/ldapstudio/ldapstudio-rcp/src/main/java/org/apache/directory/ldapstudio/actions/AddExtensionAction.java
URL: http://svn.apache.org/viewvc/directory/trunks/ldapstudio/ldapstudio-rcp/src/main/java/org/apache/directory/ldapstudio/actions/AddExtensionAction.java?view=diff&rev=490969&r1=490968&r2=490969
==============================================================================
--- directory/trunks/ldapstudio/ldapstudio-rcp/src/main/java/org/apache/directory/ldapstudio/actions/AddExtensionAction.java
(original)
+++ directory/trunks/ldapstudio/ldapstudio-rcp/src/main/java/org/apache/directory/ldapstudio/actions/AddExtensionAction.java
Fri Dec 29 01:32:25 2006
@@ -42,8 +42,9 @@
  * It uses Eclipse built-in extension system to allow users
  * to add extensions to LDAP Studio.
  * 
-  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
-*/
+ * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+ * @version $Rev$, $Date$
+ */
 public class AddExtensionAction extends Action implements IAction
 {
     private IWorkbenchWindow window;
@@ -52,6 +53,7 @@
     /**
      * Default constructor
      * @param window
+     *          the window it is attached to
      */
     public AddExtensionAction( IWorkbenchWindow window )
     {
@@ -100,5 +102,4 @@
             }
         } );
     }
-
 }

Modified: directory/trunks/ldapstudio/ldapstudio-rcp/src/main/java/org/apache/directory/ldapstudio/actions/ManageExtensionsAction.java
URL: http://svn.apache.org/viewvc/directory/trunks/ldapstudio/ldapstudio-rcp/src/main/java/org/apache/directory/ldapstudio/actions/ManageExtensionsAction.java?view=diff&rev=490969&r1=490968&r2=490969
==============================================================================
--- directory/trunks/ldapstudio/ldapstudio-rcp/src/main/java/org/apache/directory/ldapstudio/actions/ManageExtensionsAction.java
(original)
+++ directory/trunks/ldapstudio/ldapstudio-rcp/src/main/java/org/apache/directory/ldapstudio/actions/ManageExtensionsAction.java
Fri Dec 29 01:32:25 2006
@@ -35,6 +35,7 @@
  * manager their plugin configuration.
  *
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+ * @version $Rev$, $Date$
  */
 public class ManageExtensionsAction extends Action implements IAction
 {
@@ -44,6 +45,7 @@
     /**
      * Default constructor
      * @param window
+     *          the window it is attached to
      */
     public ManageExtensionsAction( IWorkbenchWindow window )
     {

Modified: directory/trunks/ldapstudio/ldapstudio-rcp/src/main/java/org/apache/directory/ldapstudio/actions/UpdateAction.java
URL: http://svn.apache.org/viewvc/directory/trunks/ldapstudio/ldapstudio-rcp/src/main/java/org/apache/directory/ldapstudio/actions/UpdateAction.java?view=diff&rev=490969&r1=490968&r2=490969
==============================================================================
--- directory/trunks/ldapstudio/ldapstudio-rcp/src/main/java/org/apache/directory/ldapstudio/actions/UpdateAction.java
(original)
+++ directory/trunks/ldapstudio/ldapstudio-rcp/src/main/java/org/apache/directory/ldapstudio/actions/UpdateAction.java
Fri Dec 29 01:32:25 2006
@@ -36,6 +36,7 @@
  * installed on LDAP Studio.
  * 
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+ * @version $Rev$, $Date$
  */
 public class UpdateAction extends Action implements IAction
 {
@@ -45,6 +46,7 @@
     /**
      * Default constructor
      * @param window
+     *          the window it is attached to
      */
     public UpdateAction( IWorkbenchWindow window )
     {

Modified: directory/trunks/ldapstudio/ldapstudio-rcp/src/main/java/org/apache/directory/ldapstudio/view/ImageKeys.java
URL: http://svn.apache.org/viewvc/directory/trunks/ldapstudio/ldapstudio-rcp/src/main/java/org/apache/directory/ldapstudio/view/ImageKeys.java?view=diff&rev=490969&r1=490968&r2=490969
==============================================================================
--- directory/trunks/ldapstudio/ldapstudio-rcp/src/main/java/org/apache/directory/ldapstudio/view/ImageKeys.java
(original)
+++ directory/trunks/ldapstudio/ldapstudio-rcp/src/main/java/org/apache/directory/ldapstudio/view/ImageKeys.java
Fri Dec 29 01:32:25 2006
@@ -25,6 +25,7 @@
  * This class is used to define path for images
  *
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+ * @version $Rev$, $Date$
  */
 public class ImageKeys
 {

Modified: directory/trunks/ldapstudio/ldapstudio-rcp/src/main/java/org/apache/directory/ldapstudio/view/Perspective.java
URL: http://svn.apache.org/viewvc/directory/trunks/ldapstudio/ldapstudio-rcp/src/main/java/org/apache/directory/ldapstudio/view/Perspective.java?view=diff&rev=490969&r1=490968&r2=490969
==============================================================================
--- directory/trunks/ldapstudio/ldapstudio-rcp/src/main/java/org/apache/directory/ldapstudio/view/Perspective.java
(original)
+++ directory/trunks/ldapstudio/ldapstudio-rcp/src/main/java/org/apache/directory/ldapstudio/view/Perspective.java
Fri Dec 29 01:32:25 2006
@@ -29,6 +29,7 @@
  * This class defines LDAP Studio Main perspective.
  * 
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+ * @version $Rev$, $Date$
  */
 public class Perspective implements IPerspectiveFactory
 {

Modified: directory/trunks/ldapstudio/ldapstudio-rcp/src/main/java/org/apache/directory/ldapstudio/view/WelcomeView.java
URL: http://svn.apache.org/viewvc/directory/trunks/ldapstudio/ldapstudio-rcp/src/main/java/org/apache/directory/ldapstudio/view/WelcomeView.java?view=diff&rev=490969&r1=490968&r2=490969
==============================================================================
--- directory/trunks/ldapstudio/ldapstudio-rcp/src/main/java/org/apache/directory/ldapstudio/view/WelcomeView.java
(original)
+++ directory/trunks/ldapstudio/ldapstudio-rcp/src/main/java/org/apache/directory/ldapstudio/view/WelcomeView.java
Fri Dec 29 01:32:25 2006
@@ -44,16 +44,15 @@
 /**
  * This class defines the Welcome View.
  * 
-  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
-*/
+ * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+ * @version $Rev$, $Date$
+ */
 public class WelcomeView extends ViewPart
 {
     public static final String ID = "org.apache.directory.ldapstudio.view.WelcomeView"; //$NON-NLS-1$
 
-
-    /**
-     * This is a callback that will allow us
-     * to create the viewer and initialize it.
+    /* (non-Javadoc)
+     * @see org.eclipse.ui.part.WorkbenchPart#createPartControl(org.eclipse.swt.widgets.Composite)
      */
     public void createPartControl( Composite parent )
     {
@@ -145,12 +144,12 @@
         copyrightLabel.setLayoutData( new GridData( SWT.CENTER, SWT.NONE, false, false, 2,
1 ) );
     }
 
-
-    /**
-     * Passing the focus request to the viewer's control.
+    
+    /* (non-Javadoc)
+     * @see org.eclipse.ui.part.WorkbenchPart#setFocus()
      */
     public void setFocus()
     {
-        // Does nothing
+        // Does nothing but needed
     }
 }



Mime
View raw message