directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r521749 - /directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/attributeType/
Date Fri, 23 Mar 2007 14:57:40 GMT
Author: pamarcelot
Date: Fri Mar 23 07:57:39 2007
New Revision: 521749

URL: http://svn.apache.org/viewvc?view=rev&rev=521749
Log:
Shortened the names of the classes.

Added:
    directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/attributeType/ATESuperiorComboContentProvider.java
      - copied, changed from r521733, directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/attributeType/AttributeTypeEditorSuperiorComboContentProvider.java
    directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/attributeType/ATESuperiorComboInput.java
      - copied, changed from r521733, directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/attributeType/AttributeTypeEditorSuperiorComboInput.java
    directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/attributeType/ATESuperiorComboLabelProvider.java
      - copied, changed from r521733, directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/attributeType/AttributeTypeEditorSuperiorComboLabelProvider.java
Removed:
    directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/attributeType/AttributeTypeEditorSuperiorComboContentProvider.java
    directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/attributeType/AttributeTypeEditorSuperiorComboInput.java
    directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/attributeType/AttributeTypeEditorSuperiorComboLabelProvider.java
Modified:
    directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/attributeType/AttributeTypeEditorOverviewPage.java

Copied: directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/attributeType/ATESuperiorComboContentProvider.java
(from r521733, directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/attributeType/AttributeTypeEditorSuperiorComboContentProvider.java)
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/attributeType/ATESuperiorComboContentProvider.java?view=diff&rev=521749&p1=directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/attributeType/AttributeTypeEditorSuperiorComboContentProvider.java&r1=521733&p2=directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/attributeType/ATESuperiorComboContentProvider.java&r2=521749
==============================================================================
--- directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/attributeType/AttributeTypeEditorSuperiorComboContentProvider.java
(original)
+++ directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/attributeType/ATESuperiorComboContentProvider.java
Fri Mar 23 07:57:39 2007
@@ -37,16 +37,16 @@
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  * @version $Rev$, $Date$
  */
-public class AttributeTypeEditorSuperiorComboContentProvider implements IStructuredContentProvider
+public class ATESuperiorComboContentProvider implements IStructuredContentProvider
 {
     /** The Schema Pool */
     private SchemaPool schemaPool;
 
 
     /**
-     * Creates a new instance of AttributeTypeEditorSuperiorComboContentProvider.
+     * Creates a new instance of ATESuperiorComboContentProvider.
      */
-    public AttributeTypeEditorSuperiorComboContentProvider()
+    public ATESuperiorComboContentProvider()
     {
         schemaPool = SchemaPool.getInstance();
     }
@@ -57,9 +57,9 @@
      */
     public Object[] getElements( Object inputElement )
     {
-        if ( inputElement instanceof AttributeTypeEditorSuperiorComboInput )
+        if ( inputElement instanceof ATESuperiorComboInput )
         {
-            AttributeTypeEditorSuperiorComboInput input = ( AttributeTypeEditorSuperiorComboInput
) inputElement;
+            ATESuperiorComboInput input = ( ATESuperiorComboInput ) inputElement;
 
             if ( input.getChildren().isEmpty() )
             {

Copied: directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/attributeType/ATESuperiorComboInput.java
(from r521733, directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/attributeType/AttributeTypeEditorSuperiorComboInput.java)
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/attributeType/ATESuperiorComboInput.java?view=diff&rev=521749&p1=directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/attributeType/AttributeTypeEditorSuperiorComboInput.java&r1=521733&p2=directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/attributeType/ATESuperiorComboInput.java&r2=521749
==============================================================================
--- directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/attributeType/AttributeTypeEditorSuperiorComboInput.java
(original)
+++ directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/attributeType/ATESuperiorComboInput.java
Fri Mar 23 07:57:39 2007
@@ -32,21 +32,22 @@
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  * @version $Rev$, $Date$
  */
-public class AttributeTypeEditorSuperiorComboInput
+public class ATESuperiorComboInput
 {
     /** The Attribute Type */
     private AttributeType at;
 
+    /** The children */
     private List<Object> children;
 
 
     /**
-     * Creates a new instance of AttributeTypeEditorSuperiorComboInput.
+     * Creates a new instance of ATESuperiorComboInput.
      *
      * @param at
      *      the Attribute Type
      */
-    public AttributeTypeEditorSuperiorComboInput( AttributeType at )
+    public ATESuperiorComboInput( AttributeType at )
     {
         this.at = at;
     }

Copied: directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/attributeType/ATESuperiorComboLabelProvider.java
(from r521733, directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/attributeType/AttributeTypeEditorSuperiorComboLabelProvider.java)
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/attributeType/ATESuperiorComboLabelProvider.java?view=diff&rev=521749&p1=directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/attributeType/AttributeTypeEditorSuperiorComboLabelProvider.java&r1=521733&p2=directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/attributeType/ATESuperiorComboLabelProvider.java&r2=521749
==============================================================================
--- directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/attributeType/AttributeTypeEditorSuperiorComboLabelProvider.java
(original)
+++ directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/attributeType/ATESuperiorComboLabelProvider.java
Fri Mar 23 07:57:39 2007
@@ -31,7 +31,7 @@
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  * @version $Rev$, $Date$
  */
-public class AttributeTypeEditorSuperiorComboLabelProvider extends LabelProvider
+public class ATESuperiorComboLabelProvider extends LabelProvider
 {
     /* (non-Javadoc)
      * @see org.eclipse.jface.viewers.LabelProvider#getText(java.lang.Object)

Modified: directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/attributeType/AttributeTypeEditorOverviewPage.java
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/attributeType/AttributeTypeEditorOverviewPage.java?view=diff&rev=521749&r1=521748&r2=521749
==============================================================================
--- directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/attributeType/AttributeTypeEditorOverviewPage.java
(original)
+++ directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/attributeType/AttributeTypeEditorOverviewPage.java
Fri Mar 23 07:57:39 2007
@@ -541,9 +541,9 @@
         supCombo = new Combo( client_general_information, SWT.READ_ONLY | SWT.SINGLE );
         supCombo.setLayoutData( new GridData( SWT.FILL, SWT.NONE, true, false, 2, 1 ) );
         supComboViewer = new ComboViewer( supCombo );
-        supComboViewer.setContentProvider( new AttributeTypeEditorSuperiorComboContentProvider()
);
-        supComboViewer.setLabelProvider( new AttributeTypeEditorSuperiorComboLabelProvider()
);
-        supComboViewer.setInput( new AttributeTypeEditorSuperiorComboInput( originalAttributeType
) );
+        supComboViewer.setContentProvider( new ATESuperiorComboContentProvider() );
+        supComboViewer.setLabelProvider( new ATESuperiorComboLabelProvider() );
+        supComboViewer.setInput( new ATESuperiorComboInput( originalAttributeType ) );
 
         // USAGE Combo
         toolkit.createLabel( client_general_information, Messages
@@ -815,7 +815,7 @@
             }
             else
             {
-                AttributeTypeEditorSuperiorComboInput input = ( AttributeTypeEditorSuperiorComboInput
) supComboViewer
+                ATESuperiorComboInput input = ( ATESuperiorComboInput ) supComboViewer
                     .getInput();
                 NonExistingAttributeType neat = new NonExistingAttributeType( supAtName );
                 if ( !input.getChildren().contains( neat ) )
@@ -1049,7 +1049,7 @@
     public void poolChanged( SchemaPool p, LDAPModelEvent e )
     {
         removeListeners();
-        supComboViewer.setInput( new AttributeTypeEditorSuperiorComboInput( originalAttributeType
) );
+        supComboViewer.setInput( new ATESuperiorComboInput( originalAttributeType ) );
         fillSupCombo();
         addListeners();
     }



Mime
View raw message