directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r660951 - /directory/studio/branches/apacheds-plugin-branch/apacheds/src/main/java/org/apache/directory/studio/apacheds/views/
Date Wed, 28 May 2008 13:47:45 GMT
Author: pamarcelot
Date: Wed May 28 06:47:44 2008
New Revision: 660951

URL: http://svn.apache.org/viewvc?rev=660951&view=rev
Log:
Renamed classes.

Added:
    directory/studio/branches/apacheds-plugin-branch/apacheds/src/main/java/org/apache/directory/studio/apacheds/views/ServersTableViewer.java
      - copied, changed from r660950, directory/studio/branches/apacheds-plugin-branch/apacheds/src/main/java/org/apache/directory/studio/apacheds/views/ServerTableViewer.java
    directory/studio/branches/apacheds-plugin-branch/apacheds/src/main/java/org/apache/directory/studio/apacheds/views/ServersViewerComparator.java
      - copied, changed from r660946, directory/studio/branches/apacheds-plugin-branch/apacheds/src/main/java/org/apache/directory/studio/apacheds/views/ServerViewerComparator.java
Removed:
    directory/studio/branches/apacheds-plugin-branch/apacheds/src/main/java/org/apache/directory/studio/apacheds/views/ServerTableViewer.java
    directory/studio/branches/apacheds-plugin-branch/apacheds/src/main/java/org/apache/directory/studio/apacheds/views/ServerViewerComparator.java
Modified:
    directory/studio/branches/apacheds-plugin-branch/apacheds/src/main/java/org/apache/directory/studio/apacheds/views/ServersView.java

Copied: directory/studio/branches/apacheds-plugin-branch/apacheds/src/main/java/org/apache/directory/studio/apacheds/views/ServersTableViewer.java
(from r660950, directory/studio/branches/apacheds-plugin-branch/apacheds/src/main/java/org/apache/directory/studio/apacheds/views/ServerTableViewer.java)
URL: http://svn.apache.org/viewvc/directory/studio/branches/apacheds-plugin-branch/apacheds/src/main/java/org/apache/directory/studio/apacheds/views/ServersTableViewer.java?p2=directory/studio/branches/apacheds-plugin-branch/apacheds/src/main/java/org/apache/directory/studio/apacheds/views/ServersTableViewer.java&p1=directory/studio/branches/apacheds-plugin-branch/apacheds/src/main/java/org/apache/directory/studio/apacheds/views/ServerTableViewer.java&r1=660950&r2=660951&rev=660951&view=diff
==============================================================================
--- directory/studio/branches/apacheds-plugin-branch/apacheds/src/main/java/org/apache/directory/studio/apacheds/views/ServerTableViewer.java
(original)
+++ directory/studio/branches/apacheds-plugin-branch/apacheds/src/main/java/org/apache/directory/studio/apacheds/views/ServersTableViewer.java
Wed May 28 06:47:44 2008
@@ -57,7 +57,7 @@
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  * @version $Rev$, $Date$
  */
-public class ServerTableViewer extends TreeViewer
+public class ServersTableViewer extends TreeViewer
 {
     /** The root element */
     protected static final String ROOT = "root";
@@ -78,7 +78,7 @@
     private List<ServerInstance> serversNeedingAnimation = new ArrayList<ServerInstance>();
 
 
-    public ServerTableViewer( Tree tree )
+    public ServersTableViewer( Tree tree )
     {
         super( tree );
 
@@ -86,7 +86,7 @@
         setLabelProvider( labelProvider );
         setContentProvider( new ServersViewContentProvider() );
 
-        setComparator( new ServerViewerComparator( labelProvider ) );
+        setComparator( new ServersViewerComparator( labelProvider ) );
 
         setInput( ROOT );
 
@@ -249,8 +249,8 @@
                 try
                 {
                     refresh( server );
-                    ISelection sel = ServerTableViewer.this.getSelection();
-                    ServerTableViewer.this.setSelection( sel );
+                    ISelection sel = ServersTableViewer.this.getSelection();
+                    ServersTableViewer.this.setSelection( sel );
                 }
                 catch ( Exception e )
                 {
@@ -374,7 +374,7 @@
      */
     protected void resortTable( final TreeColumn column, int col )
     {
-        ServerViewerComparator sorter = ( ServerViewerComparator ) getComparator();
+        ServersViewerComparator sorter = ( ServersViewerComparator ) getComparator();
 
         if ( col == sorter.getTopPriority() )
             sorter.reverseTopPriority();
@@ -400,7 +400,7 @@
     protected void updateDirectionIndicator( TreeColumn column )
     {
         getTree().setSortColumn( column );
-        if ( ( ( ServerViewerComparator ) getComparator() ).getTopPriorityDirection() ==
ServerViewerComparator.ASCENDING )
+        if ( ( ( ServersViewerComparator ) getComparator() ).getTopPriorityDirection() ==
ServersViewerComparator.ASCENDING )
             getTree().setSortDirection( SWT.UP );
         else
             getTree().setSortDirection( SWT.DOWN );

Modified: directory/studio/branches/apacheds-plugin-branch/apacheds/src/main/java/org/apache/directory/studio/apacheds/views/ServersView.java
URL: http://svn.apache.org/viewvc/directory/studio/branches/apacheds-plugin-branch/apacheds/src/main/java/org/apache/directory/studio/apacheds/views/ServersView.java?rev=660951&r1=660950&r2=660951&view=diff
==============================================================================
--- directory/studio/branches/apacheds-plugin-branch/apacheds/src/main/java/org/apache/directory/studio/apacheds/views/ServersView.java
(original)
+++ directory/studio/branches/apacheds-plugin-branch/apacheds/src/main/java/org/apache/directory/studio/apacheds/views/ServersView.java
Wed May 28 06:47:44 2008
@@ -68,7 +68,7 @@
     public static final String ID = "org.apache.directory.studio.apacheds.serversView";
 
     /** The table viewer */
-    private ServerTableViewer tableViewer;
+    private ServersTableViewer tableViewer;
 
     private static final String TAG_COLUMN_WIDTH = "columnWidth";
     protected int[] cols;
@@ -137,7 +137,7 @@
         stateColumn.addSelectionListener( getHeaderListener( 1 ) );
 
         // Creating the viewer
-        tableViewer = new ServerTableViewer( tree );
+        tableViewer = new ServersTableViewer( tree );
 
         initActions();
         initToolbar();

Copied: directory/studio/branches/apacheds-plugin-branch/apacheds/src/main/java/org/apache/directory/studio/apacheds/views/ServersViewerComparator.java
(from r660946, directory/studio/branches/apacheds-plugin-branch/apacheds/src/main/java/org/apache/directory/studio/apacheds/views/ServerViewerComparator.java)
URL: http://svn.apache.org/viewvc/directory/studio/branches/apacheds-plugin-branch/apacheds/src/main/java/org/apache/directory/studio/apacheds/views/ServersViewerComparator.java?p2=directory/studio/branches/apacheds-plugin-branch/apacheds/src/main/java/org/apache/directory/studio/apacheds/views/ServersViewerComparator.java&p1=directory/studio/branches/apacheds-plugin-branch/apacheds/src/main/java/org/apache/directory/studio/apacheds/views/ServerViewerComparator.java&r1=660946&r2=660951&rev=660951&view=diff
==============================================================================
--- directory/studio/branches/apacheds-plugin-branch/apacheds/src/main/java/org/apache/directory/studio/apacheds/views/ServerViewerComparator.java
(original)
+++ directory/studio/branches/apacheds-plugin-branch/apacheds/src/main/java/org/apache/directory/studio/apacheds/views/ServersViewerComparator.java
Wed May 28 06:47:44 2008
@@ -40,7 +40,7 @@
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  * @version $Rev$, $Date$
  */
-public class ServerViewerComparator extends ViewerComparator
+public class ServersViewerComparator extends ViewerComparator
 {
     public static final int MAX_DEPTH = 3;
     public static final int ASCENDING = 1;
@@ -56,12 +56,12 @@
 
 
     /**
-     * Creates a new instance of ServerViewerComparator.
+     * Creates a new instance of ServersViewerComparator.
      *
      * @param labelProvider
      *      the label provider
      */
-    public ServerViewerComparator( ServersViewLabelProvider labelProvider )
+    public ServersViewerComparator( ServersViewLabelProvider labelProvider )
     {
         this.labelProvider = labelProvider;
     }



Mime
View raw message