]> source.dussan.org Git - vaadin-framework.git/commitdiff
simplified
authorMarc Englund <marc.englund@itmill.com>
Fri, 30 Nov 2007 11:51:35 +0000 (11:51 +0000)
committerMarc Englund <marc.englund@itmill.com>
Fri, 30 Nov 2007 11:51:35 +0000 (11:51 +0000)
svn changeset:3061/svn branch:trunk

src/com/itmill/toolkit/demo/featurebrowser/FeatureBrowser.java

index 7eb07b81feda1f808fe5f93e682cda2067aec5a6..62e023dd175d5898b9c810e684d2f9fa9ec4634a 100644 (file)
@@ -43,14 +43,8 @@ public class FeatureBrowser extends com.itmill.toolkit.Application implements
 
     private HashMap components = new HashMap();
 
-    // category, name, desc, class, viewed
     private static final Object[][] demos = new Object[][] {
-    // START
-            // Intro
-            { "Intro", "About", "About this demo", Button.class, Boolean.FALSE },
-            // Windowing
-            { "Intro", "Windowing", "About windowing", WindowingExample.class,
-                    Boolean.FALSE },
+    // Category, Name, Desc, Class, Viewed
             // Basic: Labels
             { "Basic", "Labels", "Some variations of Labels", Button.class,
                     Boolean.FALSE },
@@ -86,6 +80,9 @@ public class FeatureBrowser extends com.itmill.toolkit.Application implements
             { "Misc", "Embedding",
                     "You can embed resources - another site in this case",
                     EmbeddedBrowserExample.class, Boolean.FALSE },
+            // Windowing
+            { "Misc", "Windowing", "About windowing", WindowingExample.class,
+                    Boolean.FALSE },
     // END
     };
 
@@ -105,7 +102,7 @@ public class FeatureBrowser extends com.itmill.toolkit.Application implements
         Object rootId = container.addItem();
         Item item = container.getItem(rootId);
         Property p = item.getItemProperty(PROPERTY_ID_NAME);
-        p.setValue("All");
+        p.setValue("All examples");
         for (int i = 0; i < demos.length; i++) {
             Object[] demo = demos[i];
             String section = (String) demo[0];