]> source.dussan.org Git - vaadin-framework.git/commitdiff
alphabetical listing of components included in widgetmap
authorMatti Tahvonen <matti.tahvonen@itmill.com>
Tue, 15 Dec 2009 12:48:42 +0000 (12:48 +0000)
committerMatti Tahvonen <matti.tahvonen@itmill.com>
Tue, 15 Dec 2009 12:48:42 +0000 (12:48 +0000)
svn changeset:10315/svn branch:6.2

src/com/vaadin/terminal/gwt/widgetsetutils/WidgetMapGenerator.java

index cd86682a4dd6df74eb7e6192fdc3efe3b6270839..2727da3ecc6210f73b3fd9b34a095db407531fef 100644 (file)
@@ -4,6 +4,7 @@ import java.io.PrintWriter;
 import java.util.Collection;
 import java.util.Date;
 import java.util.Iterator;
+import java.util.TreeSet;
 
 import com.google.gwt.core.ext.Generator;
 import com.google.gwt.core.ext.GeneratorContext;
@@ -131,9 +132,17 @@ public class WidgetMapGenerator extends Generator {
             }
 
         }
-        logger.log(Type.INFO,
-                "Widget set will contain implementations for following components: "
-                        + paintablesHavingWidgetAnnotation.toString());
+        logger
+                .log(Type.INFO,
+                        "Widget set will contain implementations for following components: ");
+
+        TreeSet<String> classNames = new TreeSet<String>();
+        for (Class<? extends Paintable> class1 : paintablesHavingWidgetAnnotation) {
+            classNames.add(class1.getCanonicalName());
+        }
+        for (String string : classNames) {
+            logger.log(Type.INFO, "\t" + string);
+        }
     }
 
     /**